/* ═══════════════════════════════════════════════════
   DESIGN SYSTEM
   ═══════════════════════════════════════════════════ */
:root {
  --white: #FAFAFA;
  --light: #F2F3F5;
  --border: #E2E4E8;
  --text: #1A1C1F;
  --muted: #6B7280;
  --anthracite: #2B2F33;
  --accent: #C4A76A;
  --accent-light: #D4BC8A;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
  --nav-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ═══════════════════════════════════════════════════
   CUSTOM CURSOR (desktop only)
   ═══════════════════════════════════════════════════ */
@media (pointer: fine) {
  .cursor-dot {
    position: fixed;
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s ease;
    transform: translate(-50%, -50%);
  }
  .cursor-ring {
    position: fixed;
    width: 36px; height: 36px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.25s ease, width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
  }
  body { cursor: none; }
  a, button, [role="button"], input, select, textarea, label { cursor: none; }
  .cursor-hover .cursor-dot { transform: translate(-50%, -50%) scale(2); }
  .cursor-hover .cursor-ring { width: 50px; height: 50px; border-color: var(--accent-light); }
}

/* ═══════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════ */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--anthracite);
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ═══════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
}

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

/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--anthracite);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--anthracite);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196,167,106,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--anthracite);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--anthracite);
  font-weight: 600;
}
.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196,167,106,0.3);
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.scrolled {
  background: rgba(250,250,250,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.4s ease;
}
.nav.scrolled .nav-logo { color: var(--anthracite); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.4s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav.scrolled .nav-links a { color: var(--muted); }
.nav.scrolled .nav-links a:hover { color: var(--anthracite); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.4s ease;
  padding: 0;
}
.nav-dropdown-toggle:hover { color: #fff; }
.nav.scrolled .nav-dropdown-toggle { color: var(--muted); }
.nav.scrolled .nav-dropdown-toggle:hover { color: var(--anthracite); }
.nav-dropdown-toggle svg { width: 12px; transition: transform var(--transition); }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
}
.nav-mega {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  min-width: 560px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 1.2rem;
}
.nav-dropdown.open .nav-mega { transform: translateX(-50%) translateY(0); }
.mega-col { display: flex; flex-direction: column; }
.mega-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0.4rem 1rem 0.3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text);
  transition: background var(--transition);
}
.nav-dropdown-menu a:hover {
  background: var(--light);
}
.nav-dropdown-menu a::after { display: none; }

.nav-cta { gap: 0.6rem; align-items: center; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.65);
  transition: all var(--transition); white-space: nowrap; letter-spacing: 0.03em;
  padding: 0.4rem 0.7rem; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1);
}
.nav-phone:hover { color: #fff; border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.05); }
.nav-phone svg { width: 14px; height: 14px; flex-shrink: 0; }
.nav.scrolled .nav-phone { color: var(--muted); border-color: rgba(0,0,0,0.08); }
.nav.scrolled .nav-phone:hover { color: var(--accent); border-color: var(--accent); background: rgba(196,167,106,0.06); }
.nav-mobile-phone {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 1rem 0; font-size: 1.15rem; font-weight: 700;
  color: var(--accent) !important; border-bottom: 2px solid var(--accent) !important;
}
.nav-cta .btn {
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
  background: var(--accent);
  color: var(--anthracite);
  font-weight: 600;
}
.nav-cta .btn:hover {
  background: #d4bc8a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(196,167,106,0.4);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}
.nav-hamburger span {
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}
.nav.scrolled .nav-hamburger span { background: var(--anthracite); }
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: var(--white);
  padding: 2rem 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a, .nav-mobile button {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: left;
  width: 100%;
}
.nav-mobile .btn {
  margin-top: 1.5rem;
  justify-content: center;
  border: none;
}
.nav-mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-body);
}
.nav-mobile-dropdown-toggle svg {
  transition: transform var(--transition);
}
.nav-mobile-dropdown.open .nav-mobile-dropdown-toggle svg {
  transform: rotate(180deg);
}
.nav-mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.nav-mobile-dropdown.open .nav-mobile-dropdown-menu {
  max-height: 500px;
}
.nav-mobile-dropdown-menu a {
  padding-left: 1.5rem !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  color: var(--muted) !important;
  border-bottom: 1px solid var(--border) !important;
}
.nav-mobile-dropdown-menu a:hover {
  color: var(--accent) !important;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--anthracite);
}

/* Video background */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-video-wrap video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
}

/* Dark overlay on video for readability */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 28, 31, 0.52);
  z-index: 2;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(26,28,31,0.9) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: 4rem 0;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.hero h1 span {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196,167,106,0.2);
  border: 1px solid rgba(196,167,106,0.4);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

/* Hero-specific CTA buttons */
.btn-hero-primary {
  background: var(--accent);
  color: var(--anthracite);
  font-weight: 600;
  padding: 1rem 2.4rem;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(196,167,106,0.4);
}
.btn-hero-primary:hover {
  background: #d4bc8a;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(196,167,106,0.5);
}

.btn-hero-outline {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 1rem 2.4rem;
  font-size: 1rem;
  backdrop-filter: blur(8px);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .hero-content { padding: 2rem 1.5rem; }
  .btn-hero-primary, .btn-hero-outline { padding: 0.85rem 1.8rem; font-size: 0.92rem; }
}

/* ═══════════════════════════════════════════════════
   PRODUCTS
   ═══════════════════════════════════════════════════ */
#produkty { background: var(--light); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: var(--anthracite);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-card-body {
  padding: 1.25rem;
}
.product-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--anthracite);
}
.product-card-body .product-tagline {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.product-card-body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.product-spec-tag {
  font-size: 0.75rem;
  background: var(--light);
  color: var(--muted);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--anthracite);
  transition: color var(--transition);
}
.product-card-link:hover { color: var(--accent); }
.product-card-link svg { width: 14px; transition: transform var(--transition); }
.product-card-link:hover svg { transform: translateX(4px); }

/* Product detail overlay on hover */
.product-card-detail {
  position: absolute;
  inset: 0;
  background: rgba(43,47,51,0.94);
  color: var(--white);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  transition: opacity var(--transition);
  overflow: hidden;
  pointer-events: none;
}
.product-card:hover .product-card-detail { pointer-events: auto; }
.product-card:hover .product-card-detail { opacity: 1; }
.product-card-detail h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
.product-card-detail p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}
.product-card-detail ul {
  margin: 0.75rem 0;
  padding-left: 1rem;
}
.product-card-detail ul li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.35rem;
  list-style: disc;
}
.product-card-detail .btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
}

@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-card-img { height: 200px; }
}

/* ═══════════════════════════════════════════════════
   3D CONFIGURATOR
   ═══════════════════════════════════════════════════ */
#konfigurator { background: var(--white); }

/* ---- Model cards strip ---- */
.config-models {
  display: flex; gap: 0.6rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.25rem 0 1.5rem;
  margin-bottom: 0.5rem;
}
.config-models::-webkit-scrollbar { display: none; }
.config-model-card {
  flex: 0 0 auto; width: 120px;
  scroll-snap-align: start;
  cursor: pointer; text-align: center;
  transition: all var(--transition);
}
.config-model-card-img {
  width: 100%; aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid var(--border);
  transition: all var(--transition);
  display: block;
}
.config-model-card:hover .config-model-card-img { border-color: var(--accent); }
.config-model-card.active .config-model-card-img {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,167,106,0.3);
}
.config-model-card-name {
  display: block; font-size: 0.75rem; font-weight: 600;
  color: var(--muted); margin-top: 0.35rem;
  transition: color var(--transition); line-height: 1.2;
}
.config-model-card.active .config-model-card-name,
.config-model-card:hover .config-model-card-name { color: var(--anthracite); }
.config-model-card-tag {
  display: block; font-size: 0.75rem; color: var(--muted); opacity: 0.6; margin-top: 0.1rem;
}

/* ---- Two-column layout ---- */
.configurator-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: start;
}

/* ---- Gallery with arrows ---- */
.configurator-gallery {
  position: relative;
  background: var(--light);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
}
.configurator-gallery > img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity 0.35s ease;
}
.config-gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border: none; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); opacity: 0;
}
.configurator-gallery:hover .config-gallery-arrow { opacity: 1; }
.config-gallery-arrow:hover { background: var(--accent); color: var(--anthracite); }
.config-gallery-arrow.prev { left: 0.6rem; }
.config-gallery-arrow.next { right: 0.6rem; }
.config-gallery-dots {
  position: absolute; bottom: 0.7rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.35rem; z-index: 2;
}
.config-gallery-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  transition: all 0.25s ease; padding: 0;
}
.config-gallery-dot.active { background: var(--accent); width: 18px; border-radius: 4px; }
.config-gallery-dot:hover { background: rgba(255,255,255,0.8); }

/* Badge + link on gallery */
.config-model-badge {
  position: absolute; bottom: 2.5rem; left: 0.75rem; z-index: 2;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 0.4rem 0.8rem; border-radius: 6px; color: #fff;
}
.config-model-badge h4 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; line-height: 1.2; }
.config-model-badge span { font-size: 0.75rem; color: rgba(255,255,255,0.55); }
.config-product-link {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.7rem; border-radius: 6px; color: #fff;
  font-size: 0.75rem; font-weight: 500; display: flex; align-items: center; gap: 0.3rem;
  transition: all var(--transition); text-decoration: none;
}
.config-product-link:hover { background: var(--accent); color: var(--anthracite); }

/* ---- Config panel (no scroll) ---- */
.configurator-panel {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.config-group { margin-bottom: 1.25rem; }
.config-group > label {
  display: block; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--muted); margin-bottom: 0.4rem;
}

/* Color swatches */
.config-colors { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.color-swatch {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid transparent;
  transition: all var(--transition); position: relative; cursor: pointer;
}
.color-swatch:hover { transform: scale(1.15); }
.color-swatch.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--accent);
}
.color-swatch::after {
  content: attr(data-name); position: absolute;
  bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  font-size: 0.75rem; white-space: nowrap;
  background: var(--anthracite); color: var(--white);
  padding: 2px 8px; border-radius: 4px;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.color-swatch:hover::after { opacity: 1; }

/* Sliders */
.config-slider-wrap { position: relative; }
.config-slider {
  width: 100%; -webkit-appearance: none;
  height: 4px; background: var(--border); border-radius: 2px; outline: none;
}
.config-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15); cursor: grab;
}
.config-slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15); cursor: grab;
}
.config-slider-value {
  text-align: right; font-size: 0.82rem; font-weight: 600;
  color: var(--anthracite); margin-top: 0.2rem;
}
.config-dimensions {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--muted); margin-top: 0.15rem;
}
.config-dims-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}

/* Addons */
.config-addons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; }
.config-addons label {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.75rem; color: var(--text); cursor: pointer;
  padding: 0.3rem 0.4rem; border-radius: var(--radius-sm);
  transition: background var(--transition); text-transform: none;
  letter-spacing: 0; font-weight: 400; margin: 0;
  border: 1px solid transparent; line-height: 1.2;
}
.config-addons label:hover { background: var(--white); border-color: var(--border); }
.config-addons input { accent-color: var(--accent); width: 14px; height: 14px; }
.config-addons input:checked + span { color: var(--anthracite); font-weight: 500; }

/* Pills */
.config-pills { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.config-pill {
  padding: 0.4rem 0.8rem; border-radius: 20px; border: 1px solid var(--border);
  background: var(--white); color: var(--muted); font-size: 0.75rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition); font-family: var(--font-body);
}
.config-pill:hover { border-color: var(--accent); color: var(--text); }
.config-pill.active { background: var(--accent); color: var(--anthracite); border-color: var(--accent); font-weight: 600; }

/* Area display */
.config-area {
  text-align: center; padding: 0.45rem; margin-top: 0.4rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 600; color: var(--anthracite);
}
.config-area span { color: var(--accent); }

/* Responsive */
@media (max-width: 1200px) {
  .configurator-layout { grid-template-columns: 1fr; }
  .configurator-gallery { aspect-ratio: 16/9; }
  .config-gallery-arrow { opacity: 1; }
}
@media (max-width: 768px) {
  .config-model-card { width: 100px; }
  .config-dims-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .config-addons { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════ */
#realizacje { background: var(--light); }

.gallery-grid {
  columns: 4;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43,47,51,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.gallery-overlay span {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
}

@media (max-width: 1200px) { .gallery-grid { columns: 3; } }
@media (max-width: 768px) { .gallery-grid { columns: 2; } }
@media (max-width: 480px) { .gallery-grid { columns: 1; } }

/* ═══════════════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════════════ */
#proces { background: var(--white); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: var(--border);
}

.process-step {
  text-align: center;
  position: relative;
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--light);
  border: 2px solid var(--border);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.process-step:hover .process-num {
  background: var(--anthracite);
  border-color: var(--anthracite);
  color: var(--accent);
  transform: scale(1.08);
}

.process-step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--anthracite);
}
.process-step p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .process-grid::before { display: none; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════ */
#opinie {
  background: var(--anthracite);
  color: var(--white);
}
#opinie .section-label { color: var(--accent); }
#opinie .section-title { color: var(--white); }
#opinie .section-subtitle { color: rgba(255,255,255,0.6); }

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  position: relative;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 1200px) {
  .testimonial-card { flex: 0 0 calc(50% - 0.75rem); }
}
@media (max-width: 768px) {
  .testimonial-card { flex: 0 0 100%; }
}

/* ═══════════════════════════════════════════════════
   QUOTE FORM
   ═══════════════════════════════════════════════════ */
#wycena { background: var(--light); }

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .form-full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font-size: 1rem;
  transition: border-color var(--transition);
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,167,106,0.1);
}
textarea.form-input { min-height: 100px; resize: vertical; }
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.form-checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.form-checkbox label {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.form-submit {
  margin-top: 1.5rem;
}

.form-success {
  display: none;
  background: rgba(196,167,106,0.1);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.form-success.show { display: block; }
.form-success h4 { color: var(--accent); margin-bottom: 0.3rem; }
.form-success p { color: var(--muted); font-size: 0.9rem; }

/* Contact info side */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--anthracite);
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.contact-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 250px;
}
.contact-map iframe {
  width: 100%; height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .form-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
  background: var(--anthracite);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

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

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 1rem;
  color: rgba(255,255,255,0.5);
}

.footer h5 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}
.footer-contact-item svg {
  width: 16px; height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--anthracite);
}


.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a {
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; padding-bottom: 5rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   ABOUT SECTION (mini)
   ═══════════════════════════════════════════════════ */
#o-nas { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.about-stat h4 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
}
.about-stat p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.3rem;
}
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-img img {
  width: 100%; height: 400px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ═══════════════════════════════════════════════════
   STATS COUNTER (animated numbers)
   ═══════════════════════════════════════════════════ */
.stats-bar {
  background: var(--anthracite);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(196,167,106,0.08) 0%, transparent 50%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
}
.stat-item h3,
.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   DODATKI / ERWEITERUNGEN
   ═══════════════════════════════════════════════════ */
#dodatki { background: var(--light); }
.addons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.addon-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.addon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.addon-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.addon-card:hover img { transform: scale(1.06); }
.addon-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem;
  transition: background var(--transition);
}
.addon-card:hover .addon-card-overlay { background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%); }
.addon-card-overlay h4 {
  font-family: var(--font-heading); font-size: 1.15rem; color: #fff;
  margin-bottom: 0.25rem;
}
.addon-card-overlay p {
  font-size: 0.78rem; color: rgba(255,255,255,0.6); line-height: 1.4;
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.addon-card:hover .addon-card-overlay p { max-height: 60px; }
@media (max-width: 1024px) { .addons-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .addons-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════
   B2B PARTNERSHIP
   ═══════════════════════════════════════════════════ */
#b2b { background: linear-gradient(135deg, #1a1c1f 0%, var(--anthracite) 100%); color: #fff; position: relative; overflow: hidden; }
#b2b::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(196,167,106,0.06) 0%, transparent 70%); pointer-events: none; }
.b2b-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.b2b-content h2 { color: #fff; margin-bottom: 1.5rem; }
.b2b-content p { color: rgba(255,255,255,0.65); font-size: 1rem; line-height: 1.8; margin-bottom: 1rem; }
.b2b-content strong { color: #fff; }
.b2b-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.b2b-feature { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-sm); transition: all var(--transition); }
.b2b-feature:hover { background: rgba(255,255,255,0.08); border-color: rgba(196,167,106,0.2); }
.b2b-feature-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(196,167,106,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.b2b-feature-icon svg { width: 18px; height: 18px; color: var(--accent); }
.b2b-feature h4 { font-family: var(--font-body); font-size: 0.88rem; font-weight: 600; color: #fff; margin-bottom: 0.15rem; }
.b2b-feature p { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin: 0; line-height: 1.4; }
.b2b-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.b2b-cta .btn-b2b-primary { background: var(--accent); color: var(--anthracite); font-weight: 700; padding: 0.9rem 2rem; border-radius: var(--radius-sm); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem; transition: all var(--transition); border: none; cursor: pointer; text-decoration: none; }
.b2b-cta .btn-b2b-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196,167,106,0.35); }
.b2b-cta .btn-b2b-outline { border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 0.9rem 2rem; border-radius: var(--radius-sm); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem; transition: all var(--transition); font-weight: 500; text-decoration: none; }
.b2b-cta .btn-b2b-outline:hover { border-color: var(--accent); color: var(--accent); }
.b2b-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 2.5rem; }
.b2b-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.b2b-steps { display: flex; flex-direction: column; gap: 1.5rem; }
.b2b-step { display: flex; gap: 1rem; align-items: flex-start; }
.b2b-step-num { width: 32px; height: 32px; border-radius: 50%; background: rgba(196,167,106,0.15); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.b2b-step-text h5 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; color: #fff; margin-bottom: 0.2rem; }
.b2b-step-text p { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin: 0; line-height: 1.5; }
@media (max-width: 968px) { .b2b-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .b2b-features { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════ */
#faq { background: var(--white); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.4rem 0;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--anthracite);
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-question svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.3s ease, color 0.3s ease;
}
.faq-item.open .faq-question svg {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 0;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 0 1.4rem;
}
.faq-answer p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   BACK TO TOP BUTTON
   ═══════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px; height: 48px;
  background: var(--accent);
  color: var(--anthracite);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(196,167,106,0.4);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(196,167,106,0.5);
}
.back-to-top svg { width: 20px; height: 20px; }

/* ═══════════════════════════════════════════════════
   FLOATING CONTACT (WhatsApp/Phone)
   ═══════════════════════════════════════════════════ */
.floating-contact {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 990;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}
.float-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.float-btn-phone {
  background: var(--accent);
  color: var(--anthracite);
}
.float-btn-whatsapp {
  background: #25D366;
}
.float-btn svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
  .floating-contact { bottom: 1rem; left: 1rem; }
  .back-to-top { bottom: 1rem; right: 1rem; width: 42px; height: 42px; }
}

/* ═══════════════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--anthracite);
  color: rgba(255,255,255,0.8);
  padding: 1.25rem 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p {
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
  min-width: 280px;
}
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-btns {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  transition: all var(--transition);
}
.cookie-btn-accept {
  background: var(--accent);
  color: var(--anthracite);
}
.cookie-btn-accept:hover { background: var(--accent-light); }
.cookie-btn-decline {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
}
.cookie-btn-decline:hover { background: rgba(255,255,255,0.15); }

@media (max-width: 768px) {
  .cookie-banner { padding: 1rem; flex-direction: column; text-align: center; }
  .cookie-btns { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   GALLERY ENHANCED HOVER
   ═══════════════════════════════════════════════════ */
.gallery-item {
  cursor: pointer;
}
.gallery-item img {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.85);
}
.gallery-overlay {
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(10px);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   TESTIMONIAL AVATARS
   ═══════════════════════════════════════════════════ */
.testimonial-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(196,167,106,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   BUTTON RIPPLE EFFECT
   ═══════════════════════════════════════════════════ */
.btn {
  position: relative;
  overflow: hidden;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* ═══════════════════════════════════════════════════
   FORM FOCUS ANIMATIONS
   ═══════════════════════════════════════════════════ */
.form-group {
  position: relative;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,167,106,0.12);
  transform: translateY(-1px);
}
.form-input {
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.2s ease;
}

/* ═══════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw; max-height: 85vh; border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.9); transition: transform 0.4s ease;
}
.lightbox.active img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); font-size: 0;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-close svg { width: 24px; height: 24px; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); font-size: 0;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-counter {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5); font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════════════════ */
#porownanie { background: var(--white); }
.comparison-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.comparison-table { width: 100%; min-width: 700px; border-collapse: collapse; }
.comparison-table thead { background: var(--anthracite); color: #fff; position: sticky; top: 0; }
.comparison-table th {
  padding: 1rem; text-align: center; font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap;
}
.comparison-table th:first-child { text-align: left; background: var(--anthracite); position: sticky; left: 0; z-index: 2; }
.comparison-table td { padding: 0.75rem 1rem; font-size: 0.85rem; text-align: center; border-bottom: 1px solid var(--border); }
.comparison-table td:first-child { text-align: left; font-weight: 500; color: var(--anthracite); background: var(--white); position: sticky; left: 0; z-index: 1; border-right: 1px solid var(--border); }
.comparison-table tbody tr:hover td { background: rgba(196,167,106,0.04); }
.comparison-table .check { color: var(--accent); font-weight: 700; }
.comparison-table .dash { color: var(--border); }

/* ═══════════════════════════════════════════════════
   PRICE CALCULATOR
   ═══════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════
   INSTALLATIONS MAP
   ═══════════════════════════════════════════════════ */
#mapa-realizacji { background: var(--anthracite); color: #fff; padding: 5rem 0; }
#mapa-realizacji .section-label { color: var(--accent); }
#mapa-realizacji .section-title { color: #fff; }
#mapa-realizacji .section-subtitle { color: rgba(255,255,255,0.5); }
.map-layout { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: center; }
.maps-row { position: relative; width: 100%; margin: 0 auto; }
.combined-map-svg { width: 100%; height: auto; display: block; }
.map-de { transition: all 0.4s; }
.maps-row:hover .map-de { fill: rgba(255,255,255,0.06); stroke: rgba(255,255,255,0.2); }
.map-pl { transition: all 0.4s; }
.maps-row:hover .map-pl { fill: rgba(196,167,106,0.18); }
.partner-logo { position: absolute; top: 40%; left: 22%; transform: translate(-50%,-50%); text-align: center; z-index: 5; }
.partner-logo a { display: flex; flex-direction: column; align-items: center; gap: 6px; transition: all 0.3s ease; text-decoration: none; }
.partner-logo a:hover { transform: scale(1.08); }
.partner-logo-box {
  background: rgba(30,33,37,0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 0.5rem 0.8rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease; box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.partner-logo a:hover .partner-logo-box { background: rgba(30,33,37,0.95); border-color: rgba(196,167,106,0.35); box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.partner-logo span { font-size: 0.7rem; color: rgba(255,255,255,0.4); letter-spacing: 0.5px; font-weight: 500; }
.partner-logo a:hover span { color: rgba(255,255,255,0.5); }
.polendach-logo { display: flex; align-items: center; gap: 0; font-family: var(--font-body); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.pd-polen { color: #fff; }
.pd-dach { color: #8B9DC3; }
.pd-24 { background: rgba(255,255,255,0.12); color: #fff; font-size: 1.15rem; font-weight: 700; padding: 0.2em 0.35em; border-radius: 4px; margin-left: 0.35em; letter-spacing: 0; }
.map-container { position: relative; aspect-ratio: 3/4; max-width: 500px; margin: 0 auto; }
.map-svg { width: 100%; height: 100%; }
.map-pin {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); border: 2px solid rgba(255,255,255,0.9); box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transform: translate(-50%, -50%); cursor: pointer; transition: all 0.3s ease; z-index: 2;
}
.map-pin::after {
  content: attr(data-city); position: absolute; bottom: calc(100% + 6px); left: 50%;
  transform: translateX(-50%); font-size: 0.75rem; white-space: nowrap;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(6px); color: #fff; padding: 3px 10px; border-radius: 4px;
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.map-pin:hover { transform: translate(-50%, -50%) scale(1.5); background: #fff; border-color: var(--accent); }
.map-pin:hover::after { opacity: 1; }
.map-pin.pulse { animation: map-pulse 2.5s ease-in-out infinite; }
@keyframes map-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(196,167,106,0.35); } 50% { box-shadow: 0 0 0 8px rgba(196,167,106,0); } }
.map-stats { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.map-stat-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius); padding: 1.4rem 1.6rem; transition: all var(--transition);
  position: relative; overflow: hidden;
}
.map-stat-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); opacity: 0; transition: opacity var(--transition);
}
.map-stat-card:hover { background: rgba(255,255,255,0.07); }
.map-stat-card:hover::before { opacity: 1; }
.map-stat-card h4 { font-family: var(--font-heading); font-size: 1.6rem; color: var(--accent); margin-bottom: 0.15rem; }
.map-stat-card p { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.4; }
@media (max-width: 960px) { .map-layout { grid-template-columns: 1fr; } .map-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .maps-row { max-width: 100%; } .map-stats { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════
   3D TILT CARDS (product cards)
   ═══════════════════════════════════════════════════ */
@media (pointer: fine) {
  .product-card { transform-style: preserve-3d; perspective: 800px; }
}

/* ═══════════════════════════════════════════════════
   PARALLAX HERO EFFECT
   ═══════════════════════════════════════════════════ */
.hero-video-wrap { will-change: transform; }

/* ═══════════════════════════════════════════════════
   PAGE TRANSITION
   ═══════════════════════════════════════════════════ */
.page-transition {
  position: fixed; inset: 0; background: var(--anthracite); z-index: 99999;
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}
.page-transition.active { transform: scaleY(1); transform-origin: top; }

/* Focus-visible for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
a:focus-visible,
.btn:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}
