/* ============================================
   AIS-Group × Moldex — B2B Homepage v3
   Hard-coded parallax & section blocks
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- Variables --- */
:root {
  --blue-900: #1c445c;
  --blue-700: #3984B2;
  --blue-600: #459aca;
  --blue-500: #5cb1e0;
  --blue-400: #7ec6ef;
  --blue-300: #a6dbf7;
  --blue-100: #e2f3fd;
  --blue-50: #f0f8fd;
  --dark-900: #111111;
  --dark-800: #1a1a1a;
  --dark-700: #2d2d2d;
  --dark-600: #3d3d3d;
  --gray-600: #5a5a5a;
  --gray-500: #7a7a7a;
  --gray-400: #9e9e9e;
  --gray-200: #e0e0e0;
  --white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  zoom: 0.75;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: 80px;
  /* match header height */
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark-700);
  background-color: #F0F4F8;
  background-image: radial-gradient(rgba(0, 48, 87, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* ============================================
   HEADER — Fixed glass
   ============================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

#header.scrolled .logo-img {
  filter: none;
}

#header.scrolled .nav-links a {
  color: var(--gray-600);
}

#header.scrolled .nav-links a:hover {
  color: var(--dark-800);
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 3rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: auto;
  max-height: 58px;
  width: auto;
  display: block;
  float: left;
  /* Needed if it loses block context, but display: block is here */
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  position: relative;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--blue-700);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  transform: scaleX(1);
  background-color: #8DC63F;
  /* Moldex Green for active state */
}

.nav-links a[href="ochrona-sluchu.html"].active::after,
.nav-links a[href="ochrona-sluchu.html"]:hover::after {
  background-color: #8DC63F;
  /* Zielony dla Ochrony słuchu */
}

.nav-links a[href="ochrona-drog-oddechowych.html"].active::after,
.nav-links a[href="ochrona-drog-oddechowych.html"]:hover::after {
  background-color: #9c0d2e;
  /* Wiśniowy dla Ochrony dróg oddechowych */
}

.nav-links a[href="ochrona-oczu.html"].active::after,
.nav-links a[href="ochrona-oczu.html"]:hover::after {
  background-color: #a57d0f;
  /* Złoty dla Ochrony oczu */
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 24px;
  background-color: var(--blue-700);
  color: var(--white);
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 91, 159, 0.25);
  transform: translateZ(0);
}

.nav-cta svg {
  width: 12px;
  height: 12px;
  fill: #000;
  stroke: none;
  transform: scale(3);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-cta:hover svg {
  transform: scale(3.2) translateX(1px);
}

.nav-cta:hover {
  background-color: var(--blue-900);
  transform: translateY(-1px) translateZ(0);
  box-shadow: 0 6px 20px rgba(0, 91, 159, 0.35);
}



/* Mobile Menu Button (Hidden on Desktop) */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

#header.scrolled .mobile-menu-btn span {
  background-color: var(--dark-800);
}

/* Hamburger to X animation */
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ============================================
   u{26A0}  STANDARD HERO --- NIE ZMIENIAJ BEZ UZGODNIENIA
   Wzor: ochrona-sluchu.html
   Wymiary hero na KAZDEJ stronie musza byc identyczne:
     - min-height:       100vh
     - .hero-content:    max-width 900px, padding z CSS
     - NIE DODAWAC inline style na wymiary
       (padding, min-height, width) -- tylko kolory / cienie / tla
   ============================================
   HERO — Mesh Gradient & Mosaic
   ============================================ */
#hero {
  height: calc(100vh / 0.75);
  max-height: calc(100vh / 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;

  /* Pure CSS Gradient matching tło.png for perfect resolution: Purple to Coral to Sunny Yellow */
  background: linear-gradient(135deg, rgb(160, 110, 0) -10%, rgb(242, 79, 100) 40%, rgb(130, 44, 119) 75%, rgb(40, 10, 60) 100%);
}

#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#particles-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Hero background figure — subtle float + fade-in */
.hero-bg-figure {
  animation: heroFigureFadeIn 3s ease-out 2s forwards,
    heroFigureFloat 6s ease-in-out 5s infinite,
    heroFigurePulse 30s ease-in-out 5s infinite;
  opacity: 0;
}

@keyframes heroFigureFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 0.2;
    transform: translateY(0);
  }
}

@keyframes heroFigureFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes heroFigurePulse {

  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 0;
  }
}

/* Geometric mosaic overlay — intersecting lines */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(30deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(150deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(270deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 70px, 40px 70px, 60px 60px, 50px 50px, 50px 50px;
  pointer-events: none;
  z-index: 1;
}

/* Wave shape divider at bottom of hero */
#hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: #F0F4F8;
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 3;
}

#hero.hero-no-wave::after {
  display: none;
}

/* Section default setup */
section {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;

  scroll-snap-stop: always;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 100px 2rem 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 22px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 2rem;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--blue-400);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

#hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}

#hero h1 .highlight {
  color: var(--blue-500);
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 16px 40px;
  background-color: var(--blue-600);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 91, 159, 0.4);
}

.btn-primary:hover {
  background-color: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 91, 159, 0.5);
}

/* Category Specific Buttons & Tags */
#sekcja-sluch .section-tag { color: #8DC63F; border-color: rgba(141, 198, 63, 0.3); }
#sekcja-sluch .btn-primary {
  background-color: #8DC63F;
  color: #fff;
  box-shadow: 0 4px 20px rgba(141, 198, 63, 0.4);
}
#sekcja-sluch .btn-primary:hover {
  background-color: #7ab32e;
  box-shadow: 0 8px 30px rgba(141, 198, 63, 0.5);
}

#sekcja-oddech .section-tag { color: #9c0d2e; border-color: rgba(156, 13, 46, 0.3); }
#sekcja-oddech .btn-primary {
  background-color: #9c0d2e;
  box-shadow: 0 4px 20px rgba(156, 13, 46, 0.4);
}
#sekcja-oddech .btn-primary:hover {
  background-color: #7a0a24;
  box-shadow: 0 8px 30px rgba(156, 13, 46, 0.5);
}

#sekcja-oczy .section-tag { color: #f59e0b; border-color: rgba(245, 158, 11, 0.3); }
#sekcja-oczy .btn-primary {
  background-color: #f59e0b;
  color: #fff;
  box-shadow: 0 4px 25px rgba(245, 158, 11, 0.5);
}
#sekcja-oczy .btn-primary:hover {
  background-color: #d97706;
  box-shadow: 0 8px 35px rgba(245, 158, 11, 0.6);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 16px 40px;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-ghost-red {
  transition: all 0.3s ease;
}

.btn-ghost-red:hover {
  background-color: rgba(255, 0, 0, 0.1) !important;
  border-color: rgba(255, 0, 0, 0.5) !important;
  color: var(--white) !important;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

/* ============================================
   MANIFEST — Hard #F0F4F8 with dot pattern
   ============================================ */


.section-header {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
  transform: translateY(-15vh);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 18px;
  background-color: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-700);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--blue-600);
  border-radius: 50%;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark-800);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.7;
}

.bg-gradient-grid .section-tag {
  background-color: rgba(255, 255, 255, 0.9);
}

.bg-gradient-grid .section-title {
  color: var(--white);
}

.bg-gradient-grid .section-desc {
  color: rgba(255, 255, 255, 0.9);
}





.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--blue-50);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}



.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue-700);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}







/* ============================================
   PARALLAX BANNER — Mesh gradient divider
   ============================================ */
#parallax-banner {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;

  /* Mesh gradient matching hero palette */
  background:
    radial-gradient(circle at 80% 50%, rgba(157, 34, 113, 0.7), transparent 55%),
    radial-gradient(circle at 20% 50%, rgba(0, 91, 159, 0.8), transparent 55%),
    radial-gradient(circle at 50% 0%, rgba(141, 198, 63, 0.2), transparent 50%),
    #0A1118;
  color: var(--white);
  padding: 0 2rem;
}

/* Mosaic pattern on banner */
#parallax-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(30deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(150deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 70px, 40px 70px;
  pointer-events: none;
}

#banner-mouse-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#parallax-banner h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  max-width: 750px;
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* 3D Spline Hover effect container */
.spline-container {
  perspective: 1000px;
}

.spline-hover-target {
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
  will-change: transform;
}

/* ============================================
   UNIVERSAL BACKGROUND CLASSES
   ============================================ */
.bg-white-dotted {
  padding: 40px 0;
  background-color: #FFFFFF;
  position: relative;
  z-index: 1;
}

.bg-gradient-grid {
  padding: 40px 0;
  background: linear-gradient(135deg, rgb(39, 29, 196) 0%, rgb(18, 126, 172) 45%, rgb(151, 219, 58) 100%);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.bg-gradient-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.4) 100%),
              linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 2;
  pointer-events: none;
}

.section-hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0.2; /* Subtelna tekstura */
  pointer-events: none;
}

.section-col-container {
  position: relative;
  z-index: 5; /* Nad tłem i cząsteczkami */
}

#sekcja-sluch.bg-gradient-grid {
  background: linear-gradient(155deg, #05160c 0%, #0d5c46 30%, #56a71e 65%, #2f7336 85%, #05160c 100%);
}
#sekcja-sluch .section-hero-photo {
  background-image: url('assets/tlo_sluch_v2.png');
}

#sekcja-oddech.bg-gradient-grid {
  background: linear-gradient(155deg, #1f0107 0%, #4a0413 30%, #9c0d2e 65%, #580314 85%, #1f0107 100%);
}
#sekcja-oddech .section-hero-photo {
  background-image: url('assets/tlo_oddech_v2.png');
}

#sekcja-oczy.bg-gradient-grid {
  background: linear-gradient(155deg, rgb(45, 85, 25) 0%, rgb(110, 85, 10) 30%, rgb(165, 125, 15) 65%, rgb(135, 70, 0) 85%, #000 100%);
}
#sekcja-oczy .section-hero-photo {
  background-image: url('assets/tlo_oczy_v2.png');
}

.bg-gradient-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(30deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(150deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(270deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 70px, 40px 70px, 60px 60px, 50px 50px, 50px 50px;
  pointer-events: none;
  z-index: 0;
}

.bg-gradient-grid .section-title,
.bg-gradient-grid .section-desc {
  color: #ffffff;
}

/* ============================================
   TWO COLUMN FULL SCREEN SECTIONS
   ============================================ */
.two-col-section {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh / 0.75);
  min-height: calc(100vh / 0.75);
  padding: 0 5%;
  overflow: hidden;
}

#sekcja-sluch.two-col-section,
#sekcja-oddech.two-col-section,
#sekcja-oczy.two-col-section {
  height: calc(100vh / 0.75) !important;
  min-height: calc(100vh / 0.75) !important;
  max-height: none !important;
  padding: 0 5%;
}

#sekcja-sluch .two-col-container,
#sekcja-oddech .two-col-container,
#sekcja-oczy .two-col-container {
  min-height: 100%;
}

#lojalnosc.two-col-section,
#ochrona-marzy.two-col-section,
#stabilnosc.two-col-section,
#logistyka.two-col-section,
#przewaga.two-col-section {
  height: calc(100vh / 0.75);
  max-height: none;
  min-height: calc(100vh / 0.75);
  padding: 60px 5%;
}

.two-col-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
  align-items: center;
}

/* ============================================
   SUBPAGE (OCHRONA-PAGE) FULL SCREEN ADAPTATION
   ============================================ */
.ochrona-page section {
  min-height: calc(100vh / 0.75);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 5%;
  position: relative;
  box-sizing: border-box;
}

.ochrona-page #hero {
  height: calc(100vh / 0.75);
  min-height: calc(100vh / 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
}

/* Mobile height reset for subpages */
@media (max-width: 768px) {
  .ochrona-page section {
    min-height: 0;
    height: auto;
    padding: 60px 5% 100px;
  }
  .ochrona-page #hero {
    height: 100vh !important;
    min-height: 100vh !important; /* Fixed: 100vh on mobile instead of 133vh */
  }
}

.two-col-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
  align-items: center;
}

.two-col-container.reverse {
  direction: rtl;
}

.two-col-container.reverse>* {
  direction: ltr;
}

.col-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.image-placeholder {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.bg-white-dotted .image-placeholder {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

.image-placeholder span {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.bg-white-dotted .image-placeholder span {
  color: rgba(0, 0, 0, 0.4);
}

.section-image {
  width: 100%;
  max-width: 750px;
  display: block;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.section-image:hover {
  transform: translateY(-5px);
}

.col-text {
  max-width: 650px;
}

.col-text .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.col-text .section-desc {
  text-align: left;
  margin-left: 0;
  font-size: 1.15rem;
}


/* ============================================
   ?  STANDARD KARUZELI — NIE ZMIENIAJ BEZ UZGODNIENIA
   ============================================
   Wymiary kart produktowych obowiązujące na WSZYSTKICH
   stronach (ochrona-sluchu, ochrona-oczu, ochrona-drog-
   oddechowych, index — każda przyszła karuzela).
   
   Karta (.product-card):
     - width:          280px
     - border-radius:  20px
     - border:         1px solid rgba(0,0,0,0.04)
     - flex-direction: column (obraz + body)
   
   Obraz (.product-image):
     - aspect-ratio:   3 / 2  (~187px przy 280px szer.)
     - background:     #fbfbfc
   
   Treść (.product-body):
     - padding:        1.2rem (góra/dół)  1.4rem (lewo/prawo)
   
   Odstępy (.carousel-group):
     - gap:            1.75rem  (28px)
     - padding-right:  1.75rem
   
   Wrapper (.carousel-wrapper):
     - padding:        1.25rem 0
     - mask fade:      5% — 95%
   ============================================ */

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 1.25rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.carousel-viewport {
  display: flex;
  overflow-x: hidden;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}


.mobile-cta-btn {
  display: none !important;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 24px;
  background-color: var(--blue-700);
  color: var(--white) !important;
  font-weight: 600;
  border-radius: 8px;
  width: 100%;
  text-decoration: none;
  box-sizing: border-box;
}
.mobile-cta-btn svg {
  width: 12px;
  height: 12px;
  fill: #000;
  transform: scale(2.5);
}

.mobile-cta-clone {
  display: none !important;
}


.carousel-viewport.active {
  cursor: grabbing;
}

.carousel-group {
  display: flex;
  gap: 1.75rem;
  padding-right: 1.75rem;
}

.carousel-group .product-card {
  width: 280px;
  min-height: 440px;
  flex-shrink: 0;
  scroll-snap-align: start;
}


.product-card {
  background-color: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.08);
}

.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: transparent;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.product-card:hover .product-image {
  transform: scale(1.04);
}

.product-image img,
.product-image svg,
.product-image-label {
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.product-image img,
.product-image svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 1.5rem;
  box-sizing: border-box;
}

.product-image-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  text-align: center;
}

.snr-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 6px 14px;
  background-color: rgba(0, 91, 159, 0.06);
  color: var(--blue-700);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 91, 159, 0.1);
  z-index: 5;
}

.product-body {
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.product-body p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.btn-inquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 10px 20px;
  background: transparent;
  color: var(--blue-700);
  border: 1px solid rgba(0, 91, 159, 0.2);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-inquiry:hover {
  background: var(--blue-700);
  color: var(--white);
  border-color: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 91, 159, 0.15);
}

.btn-inquiry:active {
  transform: translateY(0) scale(0.94);
  box-shadow: 0 2px 8px rgba(0, 91, 159, 0.1);
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}


.btn-inquiry svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================
   FOOTER
   ============================================ */
#contact {
  background-color: #0a0a0a;
  color: var(--gray-400);
  padding: 3rem 0;

  display: flex;
  flex-direction: column;
  justify-content: center;

}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.footer-col p,
.footer-col a {
  color: var(--gray-400);
  font-size: 0.9rem;
  text-decoration: none;
  line-height: 1.3;
}

.footer-col strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--gray-200);
}

.footer-col a:hover {
  color: var(--white);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.newsletter-form input {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--gray-800);
  background: #1a1a1a;
  color: var(--white);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input:focus {
  border-color: var(--blue-500);
}

.newsletter-form button {
  padding: 0.75rem;
  border-radius: 6px;
  border: none;
  background: var(--blue-600);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: var(--blue-700);
}

.footer-brand {
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-brand strong {
  color: var(--white);
}

.footer-note {
  font-size: 0.75rem;
  color: var(--gray-600);
}




/* ============================================
   MICRO-ANIMATIONS (SCROLL & HOVER DETAILS)
   ============================================ */
/* Button Icon Shift on Hover */
.btn-primary svg,
.btn-ghost svg,
.btn-inquiry svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover svg,
.btn-ghost:hover svg,
.btn-inquiry:hover svg {
  transform: translateX(4px);
}

/* Scroll-Driven Fade In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Spline 3D Scroll Effect */
@keyframes splineScroll {
  from {
    opacity: 0;
    transform: scale(0.6) translateZ(-400px) rotateX(-25deg);
  }

  to {
    opacity: 1;
    transform: scale(1) translateZ(0) rotateX(0deg);
  }
}

/* Apply scroll animation to sections and cards, falling back to instant if unsupported */
@supports (animation-timeline: view()) {

  .manifest-card,
  .section-header {
    animation: fadeInUp linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 25%;
  }

  .spline-scroll-wrapper {
    animation: splineScroll linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
  }
}

/* ============================================
   MODAL (PRODUCT DETAILS)
   ============================================ */
.modal {
  border: none;
  background: transparent;
  padding: 0;
  margin: auto;
  outline: none;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modal[open]::backdrop {
  opacity: 1;
}

.modal-content {
  background: #FFFFFF;
  border-radius: 16px;
  width: 90vw;
  max-width: 900px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
  transform: translateY(30px) scale(0.65);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal[open] .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f4f8;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
  z-index: 50;
  transition: all 0.2s ease;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modal-close:hover {
  background: #e2e8f0;
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.modal-image-placeholder {
  background-color: #f7f9fc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 1.2rem;
  color: #888;
  text-align: center;
  font-weight: 500;
  transform: scale(0.85);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

.modal[open] .modal-image-placeholder {
  transform: scale(1);
  opacity: 1;
}

.modal-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.modal-info h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--dark-800);
}

/* REACH Modal Specific Styles */
.reach-link {
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}

.reach-link:hover {
  color: var(--blue-900);
}

.reach-modal-info {
  max-height: 85vh;
}

.reach-scroll-content {
  overflow-y: auto;
  padding-right: 1.5rem;
  margin-top: 1.5rem;
}

.reach-scroll-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  color: var(--blue-700);
}

.reach-scroll-content h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
  color: var(--dark-800);
}

.reach-scroll-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.reach-scroll-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.reach-scroll-content li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.reach-steps {
  background: var(--blue-50);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.reach-steps p {
  margin-bottom: 1rem;
}

.reach-steps p:last-child {
  margin-bottom: 0;
}

.reach-summary {
  font-weight: 600;
  color: var(--blue-900) !important;
  border-top: 1px solid var(--gray-200);
  padding-top: 1.5rem;
}


#contact {
  position: relative;
  z-index: 10;
}

body.modal-open {
  overflow: hidden;
  touch-action: none;
}

/* ============================================
   TABLE: POZIOMY OCHRONY
   ============================================ */
.protection-section {
  padding: 6rem 5%;
  color: var(--dark-700);
}



.protection-table-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  background-image: linear-gradient(to bottom, #ffffff, #fdfdfd);
  border: 1px solid var(--gray-200);
  overflow-x: auto;
}

.protection-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.protection-table th,
.protection-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.protection-table th {
  background: var(--blue-50);
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.protection-table tr:last-child td {
  border-bottom: none;
}

.protection-table tbody tr {
  transition: background-color 0.2s ease;
}

.protection-table tbody tr:hover {
  background-color: #f8fafc;
}

/* Specific Columns Layout */
.pt-col-icon {
  width: 80px;
  text-align: center !important;
}

.pt-col-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto;
}

.pt-col-class {
  width: 10%;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark-800);
}

.pt-col-color {
  width: 7%;
}

.color-badge {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.color-dot {
  width: 20px;
  height: 20px;
  border-radius: 2px;
  flex-shrink: 0;
}

.pt-col-desc {
  width: 25%;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pt-col-limit {
  width: 33%;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--blue-700);
  font-weight: 600;
}

/* Category headers inside table */
.pt-category-row td {
  background: var(--blue-900);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  padding: 1rem 1.5rem;
}


/* Added for clean HTML */
.hero-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.125rem;
}

.section-canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.section-col-container {
  position: relative;
  z-index: 1;
}

.col-text-centered {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.btn-spaced {
  margin-top: 1.5rem;
}

/* Hero Section Styles */
#hero {
  background-color: #000;
  position: relative;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('assets/tlo_glownej_strony.png?v=6');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  z-index: 2;
  pointer-events: none;
  opacity: 0.65;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.4) 100%),
    linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 3;
  pointer-events: none;
}

#hero::before {
  display: none;
}

#aurora-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

#particles-canvas {
  z-index: 1 !important;
}

.hero-content {
  position: relative;
  z-index: 4;
}

/* Footer UI Utilities */
.footer-info-title {
  margin-top: 0.5rem;
  display: block;
  color: var(--gray-200);
}

.footer-note {
  margin-bottom: 0.5rem;
  color: var(--gray-400);
  font-size: 0.85rem;
}

.btn-full-width {
  width: 100%;
}

.splash-note {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* Subpage Utilities */
.hero-title-respiratory {
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 50%, #475569 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-actions-respiratory {
  flex-wrap: wrap;
  margin-top: 1.875rem;
}

.hero-btn-respiratory {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.hero-btn-respiratory-red {
  color: #fff !important;
  border-color: rgba(255, 0, 0, 0.6) !important;
  font-weight: 600 !important;
}

.hero-btn-icon-respiratory {
  height: 2.4em;
  margin-top: -1em;
  margin-bottom: -1em;
  margin-right: 0.8rem;
}

.hero-actions-center-row {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.section-desc-full {
  max-width: 100% !important;
}

.carousel-parent-rel {
  position: relative;
  z-index: 1;
}

.color-dot-gray { background: #9ca3af; }
.color-dot-yellow { background: #fbbf24; }
.color-dot-green { background: #16a34a; }
.color-dot-white-border { background: #ffffff; border: 1px solid #ccc; }
.color-dot-brown { background: #8B6914; }
.color-dot-red { background: #ef4444; }

.limit-bold {
  color: #000 !important;
}

.limit-normal {
  font-weight: normal;
}

.hero-actions-hearing {
  flex-wrap: wrap;
}

.hero-actions-eye {
  flex-wrap: wrap;
}

.hero-badge-eye {
  box-shadow: 0 2.25px 8.44px rgba(0,0,0,0.1);
  margin: 0 auto 1.5rem auto;
}

.hero-title-eye {
  background: linear-gradient(120deg, rgb(45, 85, 25) 0%, rgb(165, 125, 15) 50%, rgb(255, 140, 0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pt-note {
  color: var(--gray-500);
  font-size: 0.85rem;
}

.pt-info-box {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 1.5rem 2rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.pt-info-title {
  color: var(--dark-800);
  display: block;
  margin-bottom: 0.25rem;
}

/* (Styles removed to restore standard modal behavior) */

/* ============================================
   RESPONSIVE (Consolidated)
   ============================================ */

/* --- Tablet / Desktop Small (1024px / 992px) --- */
@media (max-width: 1024px) {
  #hero h1 {
    font-size: 2.6rem;
  }

  #parallax-banner h2 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .manifest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    gap: 2.5rem;
  }
}

@media (max-width: 992px) {
  .two-col-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .two-col-container.reverse {
    direction: ltr;
  }

  .col-text .section-title,
  .col-text .section-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Tablet / Large Mobile (768px) --- */
@media (max-width: 768px) {
  html {
    zoom: 1 !important;
  }

  /* --- Hero height fix (zoom is 1 now, so calc is wrong) --- */
  #hero {
    height: 100vh !important;
    max-height: 100vh !important;
  }

  /* --- Mobile hamburger --- */
  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span {
    background-color: var(--dark-800) !important;
  }

  .hero-nav-actions {
    display: flex !important;
    margin-left: auto !important;
    gap: 0.5rem !important;
    margin-right: 15px !important;
  }

  .nav-cta {
    display: none !important;
  }

  .nav-cta:first-child {
    display: flex !important;
    padding: 6px 12px !important;
    font-size: 0.70rem !important;
    white-space: nowrap !important;
    border-radius: 6px !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--blue-700) !important;
    color: var(--white) !important;
  }

  .nav-cta:first-child svg {
    display: none !important;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--gray-200);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    color: var(--dark-800);
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
  }

  .nav-links a::after {
    display: none;
  }

  #header.scrolled .nav-links a {
    color: var(--dark-800);
  }

  /* --- Hero mobile --- */
  .hero-content {
    padding: 40px 1.5rem 20px !important;
  }

  .hero-badge {
    margin-bottom: 1rem !important;
  }

  #hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem !important;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-actions .btn-ghost,
  .hero-actions .btn-primary {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem !important;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* --- Two-col sections mobile --- */
  .two-col-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 60px 5% !important;
  }

  #sekcja-sluch.two-col-section,
  #sekcja-oddech.two-col-section,
  #sekcja-oczy.two-col-section {
    height: auto !important;
    min-height: 0 !important;
  }

  .section-image {
    max-width: 100%;
    border-radius: 12px;
  }

  /* --- Section headers mobile --- */
  .section-header {
    transform: none;
    padding: 0 1rem;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  /* --- Carousel mobile --- */
  .carousel-viewport {
    overflow-x: auto !important;
    scroll-snap-type: x proximity !important;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .carousel-viewport::-webkit-scrollbar {
    display: none;
  }

  .carousel-group .product-card {
    width: 260px;
    min-height: 380px;
  }

  .carousel-wrapper {
    padding: 0.75rem 0;
  }

  .mobile-cta-clone,
  .mobile-cta-btn {
    display: flex !important;
  }

  /* --- Product detail modal mobile --- */
  .modal-content-transparent {
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    border-radius: 0;
    padding: 1rem;
  }

  .modal-img-zoom {
    max-height: 70vh;
    border-radius: 8px;
  }

  .modal-close-overlay {
    top: 0.5rem;
    right: 0.5rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  /* --- REACH / PVC modal mobile --- */
  .modal-content.reach-modal-content {
    width: 95vw;
    max-height: 90vh;
    border-radius: 12px;
  }

  .reach-modal-info {
    max-height: 85vh;
    padding: 2rem 1.25rem;
  }

  .reach-scroll-content {
    max-height: 65vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .reach-modal-info h3 {
    font-size: 1.5rem;
  }

  /* --- Parallax banner mobile --- */
  #parallax-banner {
    min-height: 280px;
  }

  #parallax-banner h2 {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .manifest-grid {
    grid-template-columns: 1fr;
  }

  #manifest,
  #products {
    padding: 60px 0;
  }

  .modal-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 250px auto;
  }

  .modal-image-placeholder {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .modal-info {
    padding: 2rem 1.5rem;
  }

  .modal-info h3 {
    font-size: 1.5rem;
  }

  /* --- Protection table → mobile cards --- */
  .protection-section {
    padding: 3rem 1rem;
  }

  .protection-table {
    min-width: 0;
  }

  .protection-table thead {
    display: none;
  }

  .protection-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
    gap: 0.25rem;
  }

  .protection-table tbody tr:hover {
    background-color: transparent;
  }

  .protection-table tbody tr td {
    display: block;
    width: 100%;
    padding: 0.35rem 0;
    border-bottom: none;
    text-align: left;
  }

  .protection-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    font-size: 0.7rem;
    color: var(--blue-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
  }

  .pt-category-row {
    display: block !important;
  }

  .pt-category-row td {
    width: 100% !important;
    text-align: center !important;
  }

  .pt-col-icon,
  .pt-col-class,
  .pt-col-color,
  .pt-col-desc,
  .pt-col-limit {
    width: 100% !important;
  }

  .pt-col-class {
    font-size: 1.15rem;
    color: var(--dark-800);
    padding-bottom: 0.5rem !important;
    border-bottom: 2px solid var(--blue-100) !important;
  }

  .protection-table-wrapper {
    overflow-x: visible;
  }

  /* --- Footer mobile --- */
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-col {
    align-items: center;
  }
}

/* --- Small Mobile (480px) --- */
@media (max-width: 480px) {
  .header-inner {
    padding: 0 1rem;
  }

  .hero-content {
    padding: 30px 1rem 15px !important;
  }

  #hero h1 {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 6px 16px;
    margin-bottom: 1rem;
  }

  .hero-actions .btn-ghost,
  .hero-actions .btn-primary {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .hero-stats {
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .carousel-group .product-card {
    width: 85vw;
    min-height: 340px;
  }

  .product-body h3 {
    font-size: 1.05rem;
  }

  .product-body p {
    font-size: 0.8rem;
  }

  .manifest-grid,
  .section-header {
    padding: 0 1rem;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  /* Modal on small mobile */
  .modal-img-zoom {
    max-height: 60vh;
  }

  .modal-content.reach-modal-content {
    width: 100vw;
    max-height: 95vh;
    border-radius: 8px;
  }

  .reach-modal-info {
    padding: 1.5rem 1rem;
  }

  .reach-modal-info h3 {
    font-size: 1.25rem;
  }

  .reach-scroll-content h4 {
    font-size: 1.05rem;
  }

  .reach-scroll-content p,
  .reach-scroll-content li {
    font-size: 0.85rem;
  }

  /* Two-col sections small mobile */
  .two-col-section {
    padding: 40px 4% !important;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .section-desc {
    font-size: 0.85rem;
  }

  /* Protection table small mobile */
  .protection-section {
    padding: 2rem 0.75rem;
  }

  .protection-table tbody tr {
    padding: 0.75rem;
  }

  .pt-info-box {
    padding: 1rem;
    font-size: 0.8rem;
  }

  /* Footer small mobile */
  .footer-inner {
    padding: 0 1rem;
  }

  .footer-col h4 {
    font-size: 1rem;
  }

  .footer-col p,
  .footer-col a {
    font-size: 0.8rem;
  }
}