/* ============================================================
   WEŁMEX — Custom CSS for Cassiopeia Template (Joomla 6)
   Producent Wełny Drzewnej
   ============================================================ */

/* -------------------------------------------------------
   0. CSS CUSTOM PROPERTIES (ZMIENNE KOLORÓW I TYPOGRAFII)
   ------------------------------------------------------- */
:root {
  /* Kolory marki */
  --wm-primary: #4A7C2E;
  --wm-primary-dark: #3A6324;
  --wm-primary-light: #6BAD45;
  --wm-secondary: #D4A843;
  --wm-secondary-dark: #B8912A;
  --wm-secondary-light: #E8C96E;
  --wm-accent: #8B6914;
  --wm-dark: #1E2D1F;
  --wm-dark-green: #2C3E2D;
  --wm-cream: #F9F5EC;
  --wm-cream-dark: #F0E8D8;
  --wm-light: #F5F0E8;
  --wm-white: #FFFFFF;
  --wm-text: #3A3A3A;
  --wm-text-light: #6B6B6B;
  --wm-text-muted: #999999;
  --wm-border: #E0D8C8;
  --wm-shadow: rgba(30, 45, 31, 0.12);
  --wm-shadow-lg: rgba(30, 45, 31, 0.2);
  --wm-overlay: rgba(30, 45, 31, 0.7);
  --wm-success: #28A745;
  --wm-wood-light: #D2B48C;
  --wm-wood-medium: #A0824A;

  /* Typografia */
  --wm-font-main: 'Poppins', 'Segoe UI', sans-serif;
  --wm-font-heading: 'Montserrat', 'Segoe UI', sans-serif;
  --wm-font-accent: 'Playfair Display', Georgia, serif;

  /* Rozmiary */
  --wm-radius: 12px;
  --wm-radius-sm: 8px;
  --wm-radius-lg: 20px;
  --wm-radius-xl: 30px;
  --wm-transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --wm-transition-fast: all 0.2s ease;

  /* Spacing */
  --wm-section-padding: 80px 0;
  --wm-container-max: 1320px;

  /* Cassiopeia overrides */
  --cassiopeia-color-primary: #4A7C2E;
  --cassiopeia-color-link: #4A7C2E;
  --cassiopeia-color-hover: #3A6324;
}

/* -------------------------------------------------------
   1. GOOGLE FONTS IMPORT
   ------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* -------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   ------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--wm-font-main) !important;
  color: var(--wm-text);
  line-height: 1.7;
  background-color: var(--wm-white);
  overflow-x: hidden;
}
/* Ukryj domyślny branding Cassiopeia */
.container-header .site-description,
header .mod-languages {
  display: none;
}
.container-header,
.container-banner,
.container-main,
.container-footer,
.container-component,
{
  max-width: var(--wm-container-max);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--wm-font-heading) !important;
  font-weight: 700;
  color: var(--wm-dark);
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--wm-text);
}

a {
  color: var(--wm-primary);
  text-decoration: none;
  transition: var(--wm-transition-fast);
}

a:hover {
  color: var(--wm-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* -------------------------------------------------------
   3. CASSIOPEIA TEMPLATE OVERRIDES
   ------------------------------------------------------- */

/* Wyłącz domyślne Cassiopeia bannery */
.container-header {
  background: transparent !important;
}
/* Override Cassiopeia header */
header.container-header,
.container-header {
  background: var(--wm-white) !important;
  box-shadow: var(--wm-shadow-sm);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: var(--wm-transition);
}

.container-header.scrolled {
  box-shadow: var(--wm-shadow-md);
}

/* Header inner layout */
.wm-header {
  max-width: var(--wm-container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}

.wm-header-logo {
  flex-shrink: 0;
}

.wm-header-logo img {
  height: 65px;
  width: auto;
  transition: var(--wm-transition-fast);
}

.wm-header-logo:hover img {
  transform: scale(1.05);
}

.wm-header-logo .wm-logo-text {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.wm-header-logo .wm-logo-name {
  font-family: var(--wm-font-primary);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--wm-green-dark);
  letter-spacing: 2px;
  line-height: 1;
}

.wm-header-logo .wm-logo-name span {
  color: var(--wm-wood);
}

.wm-header-logo .wm-logo-tagline {
  font-size: 0.7rem;
  color: var(--wm-gray-500);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}
/* Contact in header */
.wm-header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.wm-header-phone-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--wm-radius-full);
  background: linear-gradient(135deg, var(--wm-green), var(--wm-green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wm-phone-ring 2s ease-in-out infinite;
}

@keyframes wm-phone-ring {
  0%, 100% { transform: rotate(0deg); }
  5% { transform: rotate(15deg); }
  10% { transform: rotate(-15deg); }
  15% { transform: rotate(10deg); }
  20% { transform: rotate(-10deg); }
  25% { transform: rotate(0deg); }
}

.wm-header-phone-icon svg {
  width: 22px;
  height: 22px;
  color: var(--wm-white);
}

.wm-header-phone-text {
  display: flex;
  flex-direction: column;
}

.wm-header-phone-label {
  font-size: 0.75rem;
  color: var(--wm-gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.wm-header-phone-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wm-green-dark);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.wm-header-phone-number:hover {
  color: var(--wm-green);
}

/* Cassiopeia nav override */
.container-header nav,
.container-header .mod-menu 
/* Grid layout override */
.site-grid {
  gap: 0 !important;
}

/* Footer override */
.container-footer {
  background: transparent !important;
}

/* -------------------------------------------------------
   4. TOP BAR — KONTAKT + SOCIAL (pozycja: topbar)
   ------------------------------------------------------- */
.wm-topbar {
  background: linear-gradient(135deg, var(--wm-dark) 0%, var(--wm-dark-green) 100%);
  padding: 8px 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  position: relative;
  z-index: 100;
}

.wm-topbar-inner {
  max-width: var(--wm-container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.wm-topbar-left {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.wm-topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  transition: var(--wm-transition-fast);
}

.wm-topbar-item:hover {
  color: var(--wm-secondary-light);
}

.wm-topbar-item svg {
  width: 16px;
  height: 16px;
  fill: var(--wm-secondary);
  flex-shrink: 0;
}

.wm-topbar-item a {
  color: inherit;
  text-decoration: none;
}

.wm-topbar-item a:hover {
  color: var(--wm-secondary-light);
}

.wm-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wm-topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  transition: var(--wm-transition-fast);
}

.wm-topbar-social a:hover {
  background: var(--wm-secondary);
  transform: translateY(-2px);
}

.wm-topbar-social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* -------------------------------------------------------
   5. HEADER & NAVIGATION (pozycja: header, menu)
   ------------------------------------------------------- */
.wm-header-wrapper {
  background: var(--wm-white);
  box-shadow: 0 2px 20px var(--wm-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--wm-transition);
}

.wm-header-wrapper.scrolled {
  box-shadow: 0 4px 30px var(--wm-shadow-lg);
}

.wm-header-inner {
  max-width: var(--wm-container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 85px;
  gap: 20px;
}

/* Logo */
.wm-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  flex-shrink: 0;
}

.wm-logo-icon {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
}

.wm-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.wm-logo-brand {
  font-family: var(--wm-font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--wm-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.wm-logo-tagline {
  font-size: 0.72rem;
  color: var(--wm-text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Header Contact */
.wm-header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.wm-header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--wm-dark);
  padding: 10px 20px;
  border-radius: var(--wm-radius-xl);
  background: linear-gradient(135deg, var(--wm-cream) 0%, var(--wm-cream-dark) 100%);
  transition: var(--wm-transition);
}

.wm-header-phone:hover {
  background: linear-gradient(135deg, var(--wm-primary) 0%, var(--wm-primary-dark) 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 124, 46, 0.3);
}

.wm-header-phone:hover svg {
  fill: white;
  animation: wm-ring 0.6s ease;
}

@keyframes wm-ring {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(15deg); }
  40% { transform: rotate(-10deg); }
  60% { transform: rotate(8deg); }
  80% { transform: rotate(-5deg); }
}

.wm-header-phone svg {
  width: 20px;
  height: 20px;
  fill: var(--wm-primary);
  transition: var(--wm-transition-fast);
}

.wm-header-phone-text {
  display: flex;
  flex-direction: column;
}

.wm-header-phone-label {
  font-size: 0.7rem;
  color: var(--wm-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.wm-header-phone-number {
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--wm-font-heading);
  white-space: nowrap;
}

/* Cassiopeia Navigation Override */
header .container-header {
  padding: 0 !important;
}

/* Główne menu */
.wm-nav-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Nadpisanie menu Cassiopeia */
.container-header nav,
#main-menu,
.mod-menu {
  font-family: var(--wm-font-heading) !important;
}

.mod-menu {
  list-style: none;
  display: flex;
  gap: 5px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.mod-menu li {
  position: relative;
}

.mod-menu li a {
  display: block;
  padding: 10px 18px;
  color: var(--wm-dark);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--wm-radius-sm);
  position: relative;
  transition: var(--wm-transition);
}

.mod-menu li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wm-primary), var(--wm-secondary));
  border-radius: 2px;
  transition: var(--wm-transition);
  transform: translateX(-50%);
}

.mod-menu li a:hover::after,
.mod-menu li.current a::after,
.mod-menu li.active a::after {
  width: 60%;
}

.mod-menu li a:hover {
  color: var(--wm-primary);
  background: rgba(74, 124, 46, 0.05);
}

.mod-menu li.current > a,
.mod-menu li.active > a {
  color: var(--wm-primary);
  font-weight: 700;
}

/* Podmenu dropdown */
.mod-menu li ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--wm-white);
  border-radius: var(--wm-radius);
  box-shadow: 0 10px 40px var(--wm-shadow-lg);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--wm-transition);
  z-index: 999;
  border-top: 3px solid var(--wm-primary);
}

.mod-menu li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mod-menu li ul li a {
  padding: 10px 24px;
  font-size: 0.88rem;
  text-transform: none;
  border-radius: 0;
  font-weight: 500;
}

.mod-menu li ul li a:hover {
  background: var(--wm-cream);
  padding-left: 30px;
}

.mod-menu li ul li a::after {
  display: none;
}

/* -------------------------------------------------------
   6. MOBILE MENU (HAMBURGER)
   ------------------------------------------------------- */
.wm-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.wm-hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--wm-dark);
  border-radius: 3px;
  transition: var(--wm-transition);
}

.wm-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.wm-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.wm-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* -------------------------------------------------------
   7. HERO SECTION (BANNER)
   ------------------------------------------------------- */
.wm-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--wm-dark) 0%, var(--wm-dark-green) 50%, #3A5A2B 100%);
}

.wm-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.wm-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.wm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 45, 31, 0.85) 0%,
    rgba(44, 62, 45, 0.65) 50%,
    rgba(74, 124, 46, 0.4) 100%
  );
  z-index: 2;
}

/* Dekoracyjne elementy */
.wm-hero-decoration {
  position: absolute;
  z-index: 2;
}

.wm-hero-deco-1 {
  top: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 67, 0.15);
}

.wm-hero-deco-2 {
  bottom: 10%;
  left: -8%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 67, 0.1);
}

.wm-hero-deco-3 {
  top: 20%;
  left: 15%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
}

.wm-hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--wm-container-max);
  margin: 0 auto;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  width: 100%;
}

.wm-hero-text {
  color: white;
}

.wm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 168, 67, 0.2);
  border: 1px solid rgba(212, 168, 67, 0.4);
  padding: 8px 20px;
  border-radius: var(--wm-radius-xl);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wm-secondary-light);
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
}

.wm-hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--wm-secondary);
}

.wm-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  line-height: 1.15;
}

.wm-hero h1 span {
  color: var(--wm-secondary);
  display: block;
}

.wm-hero-desc {
  font-size: 1.18rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 35px;
  max-width: 520px;
  line-height: 1.8;
}

.wm-hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.wm-hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.wm-hero-stat {
  text-align: center;
}

.wm-hero-stat-number {
  font-family: var(--wm-font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--wm-secondary);
  line-height: 1;
}

.wm-hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero visual / obrazek */
.wm-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wm-hero-image-main {
  position: relative;
  width: 420px;
  height: 420px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  animation: wm-morphing 8s ease-in-out infinite;
}

@keyframes wm-morphing {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.wm-hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wm-hero-float-card {
  position: absolute;
  background: white;
  border-radius: var(--wm-radius);
  padding: 15px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  animation: wm-float 3s ease-in-out infinite;
}

.wm-hero-float-1 {
  bottom: -20px;
  left: -40px;
  animation-delay: 0s;
}

.wm-hero-float-2 {
  top: -20px;
  right: -30px;
  animation-delay: 1.5s;
}

@keyframes wm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.wm-hero-float-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.wm-hero-float-icon.green { background: rgba(74, 124, 46, 0.15); }
.wm-hero-float-icon.gold { background: rgba(212, 168, 67, 0.15); }

.wm-hero-float-icon svg {
  width: 20px;
  height: 20px;
}

.wm-hero-float-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--wm-dark);
  white-space: nowrap;
}

.wm-hero-float-sub {
  font-size: 0.68rem;
  color: var(--wm-text-muted);
}

/* -------------------------------------------------------
   8. BUTTONS (PRZYCISKI)
   ------------------------------------------------------- */
.wm-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--wm-radius-xl);
  font-family: var(--wm-font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--wm-transition);
  position: relative;
  overflow: hidden;
}

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

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

.wm-btn-primary {
  background: linear-gradient(135deg, var(--wm-primary) 0%, var(--wm-primary-light) 100%);
  color: white;
  box-shadow: 0 6px 25px rgba(74, 124, 46, 0.35);
}

.wm-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(74, 124, 46, 0.45);
  color: white;
}

.wm-btn-secondary {
  background: linear-gradient(135deg, var(--wm-secondary) 0%, var(--wm-secondary-light) 100%);
  color: var(--wm-dark);
  box-shadow: 0 6px 25px rgba(212, 168, 67, 0.3);
}

.wm-btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(212, 168, 67, 0.4);
  color: var(--wm-dark);
}

.wm-btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}

.wm-btn-outline:hover {
  background: white;
  color: var(--wm-primary);
  border-color: white;
  transform: translateY(-3px);
}

.wm-btn-outline-dark {
  background: transparent;
  color: var(--wm-primary);
  border: 2px solid var(--wm-primary);
}

.wm-btn-outline-dark:hover {
  background: var(--wm-primary);
  color: white;
  transform: translateY(-3px);
}

.wm-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.wm-btn:hover svg {
  transform: translateX(4px);
}

.wm-btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.wm-btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* -------------------------------------------------------
   9. SECTION STYLING
   ------------------------------------------------------- */
.wm-section {
  padding: var(--wm-section-padding);
  position: relative;
}

.wm-section-light {
  background: var(--wm-cream);
}

.wm-section-white {
  background: var(--wm-white);
}

.wm-section-dark {
  background: linear-gradient(135deg, var(--wm-dark) 0%, var(--wm-dark-green) 100%);
  color: white;
}

.wm-section-gradient {
  background: linear-gradient(180deg, var(--wm-cream) 0%, var(--wm-white) 100%);
}

.wm-section-pattern {
  position: relative;
}

.wm-section-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234A7C2E' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.wm-container {
  max-width: var(--wm-container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Header */
.wm-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.wm-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wm-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.wm-section-label::before,
.wm-section-label::after {
  content: '';
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--wm-primary), var(--wm-secondary));
  border-radius: 1px;
}

.wm-section-dark .wm-section-label {
  color: var(--wm-secondary);
}

.wm-section-header h2 {
  margin-bottom: 15px;
}

.wm-section-dark .wm-section-header h2 {
  color: white;
}

.wm-section-subtitle {
  font-size: 1.1rem;
  color: var(--wm-text-light);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

.wm-section-dark .wm-section-subtitle {
  color: rgba(255,255,255,0.7);
}

/* -------------------------------------------------------
   10. O NAS PREVIEW (STRONA GŁÓWNA)
   ------------------------------------------------------- */
.wm-about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.wm-about-image-wrapper {
  position: relative;
}

.wm-about-image {
  border-radius: var(--wm-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px var(--wm-shadow);
  position: relative;
}

.wm-about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.wm-about-image:hover img {
  transform: scale(1.05);
}

/* Responsive wm-about-experience styles */
.wm-about-experience {
	position: absolute;
	bottom: -1.2rem;
	right: -1.2rem;
	background: linear-gradient(135deg, var(--wm-primary) 0%, var(--wm-primary-dark) 100%);
	color: #fff;
	padding: clamp(0.35rem, 0.9vw, 0.9rem);
	border-radius: var(--wm-radius);
	text-align: center;
	box-shadow: 0 10px 10px rgba(74, 124, 46, 0.3);
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	min-width: 3.5rem;
	z-index: 50;
	transform-origin: right bottom;
}

.wm-about-experience-number {
	font-family: var(--wm-font-heading);
	font-size: clamp(1.25rem, 3.5vw, 2.25rem);
	font-weight: 800;
	line-height: 1;
	display: block;
}

.wm-about-content h2 {
  margin-bottom: 20px;
}

.wm-about-content p {
  color: var(--wm-text-light);
  margin-bottom: 20px;
}

.wm-about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 30px 0;
}

.wm-about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: var(--wm-cream);
  border-radius: var(--wm-radius-sm);
  transition: var(--wm-transition);
}

.wm-about-feature:hover {
  background: white;
  box-shadow: 0 5px 20px var(--wm-shadow);
  transform: translateY(-2px);
}

.wm-about-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(74, 124, 46, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wm-about-feature-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--wm-primary);
}

.wm-about-feature span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--wm-dark);
}

/* -------------------------------------------------------
   11. PRODUKTY / CARDS
   ------------------------------------------------------- */
.wm-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.wm-product-card {
  background: var(--wm-white);
  border-radius: var(--wm-radius-lg);
  overflow: hidden;
  box-shadow: 0 5px 25px var(--wm-shadow);
  transition: var(--wm-transition);
  position: relative;
  border: 1px solid transparent;
}

.wm-product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px var(--wm-shadow-lg);
  border-color: var(--wm-primary);
}

.wm-product-card-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.wm-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.wm-product-card:hover .wm-product-card-image img {
  transform: scale(1.1);
}

.wm-product-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--wm-primary) 0%, var(--wm-primary-light) 100%);
  color: white;
  padding: 6px 16px;
  border-radius: var(--wm-radius-xl);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.wm-product-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  opacity: 0;
  transition: var(--wm-transition);
}

.wm-product-card:hover .wm-product-card-overlay {
  opacity: 1;
}

.wm-product-card-content {
  padding: 30px 40px;
}

.wm-product-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--wm-dark);
}

.wm-product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.wm-product-card h3 a:hover {
  color: var(--wm-primary);
}

.wm-product-card p {
  color: var(--wm-text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.wm-product-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.wm-product-card-tag {
  padding: 4px 12px;
  background: var(--wm-cream);
  border-radius: var(--wm-radius-xl);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wm-primary);
}

.wm-product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--wm-border);
}

.wm-product-card-price {
  font-family: var(--wm-font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--wm-primary);
}

.wm-product-card-price small {
  font-size: 0.75rem;
  color: var(--wm-text-muted);
  font-weight: 400;
}

/* -------------------------------------------------------
   12. ZALETY / KORZYŚCI (IKONY)
   ------------------------------------------------------- */
.wm-advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.wm-advantage-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--wm-white);
  border-radius: var(--wm-radius-lg);
  box-shadow: 0 5px 25px var(--wm-shadow);
  transition: var(--wm-transition);
  position: relative;
  overflow: hidden;
}

.wm-advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--wm-primary), var(--wm-secondary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.wm-advantage-card:hover::before {
  transform: scaleX(1);
}

.wm-advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--wm-shadow-lg);
}

.wm-advantage-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74, 124, 46, 0.1) 0%, rgba(74, 124, 46, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--wm-transition);
}

.wm-advantage-card:hover .wm-advantage-icon {
  background: linear-gradient(135deg, var(--wm-primary) 0%, var(--wm-primary-light) 100%);
  transform: scale(1.1);
}

.wm-advantage-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--wm-primary);
  transition: var(--wm-transition-fast);
}

.wm-advantage-card:hover .wm-advantage-icon svg {
  fill: white;
}

.wm-advantage-card h4 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.wm-advantage-card p {
  color: var(--wm-text-light);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* -------------------------------------------------------
   13. ZASTOSOWANIA / TABS
   ------------------------------------------------------- */
.wm-uses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.wm-use-card {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: var(--wm-white);
  border-radius: var(--wm-radius);
  box-shadow: 0 3px 15px var(--wm-shadow);
  transition: var(--wm-transition);
  align-items: flex-start;
  border-left: 4px solid transparent;
}

.wm-use-card:hover {
  border-left-color: var(--wm-primary);
  transform: translateX(5px);
  box-shadow: 0 8px 30px var(--wm-shadow);
}

.wm-use-card-icon {
  width: 55px;
  height: 55px;
  border-radius: var(--wm-radius-sm);
  background: var(--wm-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wm-use-card-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--wm-primary);
}

.wm-use-card h4 {
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.wm-use-card p {
  font-size: 0.9rem;
  color: var(--wm-text-light);
  margin: 0;
}

/* -------------------------------------------------------
   14. CTA BANNER
   ------------------------------------------------------- */
.wm-cta {
  background: linear-gradient(135deg, var(--wm-primary) 0%, var(--wm-dark-green) 100%);
  border-radius: var(--wm-radius-lg);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 20px;
}

.wm-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.1);
}

.wm-cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.wm-cta-content {
  position: relative;
  z-index: 2;
}

.wm-cta h2 {
  color: white;
  margin-bottom: 15px;
}

.wm-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.wm-cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* -------------------------------------------------------
   15. LICZNIKI / STATYSTYKI
   ------------------------------------------------------- */
.wm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.wm-stat-item {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.wm-stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}

.wm-stat-item:last-child::after {
  display: none;
}

.wm-stat-number {
  font-family: var(--wm-font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--wm-secondary);
  line-height: 1;
  margin-bottom: 8px;
}

.wm-stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* -------------------------------------------------------
   16. REFERENCJE / OPINIE
   ------------------------------------------------------- */
.wm-testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
}

.wm-testimonial-card {
  background: var(--wm-white);
  border-radius: var(--wm-radius-lg);
  padding: 40px;
  box-shadow: 0 10px 40px var(--wm-shadow);
  text-align: center;
  position: relative;
}

.wm-testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 6rem;
  font-family: var(--wm-font-accent);
  color: var(--wm-cream-dark);
  line-height: 1;
}

.wm-testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--wm-text);
  line-height: 1.8;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.wm-testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.wm-testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--wm-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--wm-primary);
  font-size: 1.2rem;
}

.wm-testimonial-name {
  font-weight: 700;
  color: var(--wm-dark);
}

.wm-testimonial-role {
  font-size: 0.85rem;
  color: var(--wm-text-muted);
}

.wm-testimonial-stars {
  color: var(--wm-secondary);
  margin-bottom: 15px;
}

.wm-testimonial-stars svg {
  width: 20px;
  height: 20px;
  fill: var(--wm-secondary);
}

/* -------------------------------------------------------
   17. PROCES / TIMELINE
   ------------------------------------------------------- */
.wm-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.wm-process-grid::before {
  content: '';
  position: absolute;
  top: 55px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(90deg, var(--wm-primary), var(--wm-secondary), var(--wm-primary));
  border-radius: 2px;
}

.wm-process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.wm-process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wm-primary) 0%, var(--wm-primary-light) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wm-font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(74, 124, 46, 0.3);
  position: relative;
}

.wm-process-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(74, 124, 46, 0.3);
}

.wm-process-step h4 {
  margin-bottom: 8px;
}

.wm-process-step p {
  font-size: 0.9rem;
  color: var(--wm-text-light);
}

/* -------------------------------------------------------
   18. GALERIA
   ------------------------------------------------------- */
.wm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.wm-gallery-item {
  border-radius: var(--wm-radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.wm-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.wm-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 45, 31, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: var(--wm-transition);
}

.wm-gallery-item:hover::after {
  opacity: 1;
}

.wm-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: white;
  font-weight: 600;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--wm-transition);
}

.wm-gallery-item:hover .wm-gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

/* Featured gallery items */
.wm-gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

/* -------------------------------------------------------
   19. KONTAKT
   ------------------------------------------------------- */
.wm-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.wm-contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.wm-contact-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 25px;
  background: var(--wm-white);
  border-radius: var(--wm-radius);
  box-shadow: 0 5px 20px var(--wm-shadow);
  transition: var(--wm-transition);
}

.wm-contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px var(--wm-shadow-lg);
}

.wm-contact-card-icon {
  width: 55px;
  height: 55px;
  border-radius: var(--wm-radius-sm);
  background: linear-gradient(135deg, var(--wm-primary) 0%, var(--wm-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wm-contact-card-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.wm-contact-card h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.wm-contact-card p {
  margin: 0;
  color: var(--wm-text-light);
  font-size: 0.95rem;
}

.wm-contact-card a {
  color: var(--wm-primary);
  font-weight: 600;
}

/* Formularz kontaktowy */
.wm-contact-form {
  background: var(--wm-white);
  border-radius: var(--wm-radius-lg);
  padding: 40px;
  box-shadow: 0 10px 40px var(--wm-shadow);
}

.wm-contact-form h3 {
  margin-bottom: 25px;
}

.wm-form-group {
  margin-bottom: 20px;
}

.wm-form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--wm-dark);
  margin-bottom: 8px;
}

.wm-form-group input,
.wm-form-group textarea,
.wm-form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--wm-border);
  border-radius: var(--wm-radius-sm);
  font-family: var(--wm-font-main);
  font-size: 0.95rem;
  color: var(--wm-text);
  background: var(--wm-cream);
  transition: var(--wm-transition-fast);
  outline: none;
}

.wm-form-group input:focus,
.wm-form-group textarea:focus,
.wm-form-group select:focus {
  border-color: var(--wm-primary);
  background: var(--wm-white);
  box-shadow: 0 0 0 4px rgba(74, 124, 46, 0.1);
}

.wm-form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.wm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Mapa */
.wm-map-wrapper {
  border-radius: var(--wm-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px var(--wm-shadow);
  margin-top: 40px;
  height: 400px;
}

.wm-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* -------------------------------------------------------
   20. FOOTER
   ------------------------------------------------------- */
.wm-footer {
  background: linear-gradient(180deg, var(--wm-dark) 0%, #141E14 100%);
  color: rgba(255,255,255,0.8);
  position: relative;
  overflow: hidden;
}

.wm-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--wm-primary), var(--wm-secondary), var(--wm-primary));
}

.wm-footer-main {
  padding: 70px 0 40px;
}

.wm-footer-grid {
  max-width: var(--wm-container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.wm-footer-brand {
  margin-bottom: 20px;
}

.wm-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-decoration: none;
}

.wm-footer-logo-text {
  font-family: var(--wm-font-heading);
  font-size: 1.6rem;
  align-items: center;
  font-weight: 800;
  color: white;
  letter-spacing: 2px;
}

.wm-footer-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.wm-footer-social {
  display: flex;
  gap: 10px;
}

.wm-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--wm-transition);
}

.wm-footer-social a:hover {
  background: var(--wm-primary);
  transform: translateY(-3px);
}

.wm-footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.wm-footer-col h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.wm-footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--wm-primary), var(--wm-secondary));
  border-radius: 2px;
}

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

.wm-footer-links li {
  margin-bottom: 12px;
}

.wm-footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  transition: var(--wm-transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wm-footer-links a::before {
  content: '›';
  color: var(--wm-secondary);
  font-weight: 700;
  font-size: 1.2rem;
  transition: var(--wm-transition-fast);
}

.wm-footer-links a:hover {
  color: white;
  padding-left: 8px;
}

.wm-footer-links a:hover::before {
  color: var(--wm-primary-light);
}

.wm-footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.wm-footer-contact-item svg {
  width: 20px;
  height: 20px;
  fill: var(--wm-secondary);
  flex-shrink: 0;
  margin-top: 3px;
}

.wm-footer-contact-item a,
.wm-footer-contact-item span {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
}

.wm-footer-contact-item a:hover {
  color: white;
}

.wm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.wm-footer-bottom-inner {
  max-width: 200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.wm-footer-copyright {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.wm-footer-bottom-links {
  display: flex;
  gap: 20px;
}

.wm-footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.wm-footer-bottom-links a:hover {
  color: var(--wm-secondary);
}

/* -------------------------------------------------------
   21. BREADCRUMBS (podstrony)
   ------------------------------------------------------- */
.wm-breadcrumbs {
  background: linear-gradient(135deg, var(--wm-dark) 0%, var(--wm-dark-green) 100%);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.wm-breadcrumbs::after {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
}

.wm-breadcrumbs-inner {
  max-width: var(--wm-container-max);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.wm-breadcrumbs h1 {
  color: white;
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.wm-breadcrumbs nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
}

.wm-breadcrumbs nav a {
  color: rgba(255,255,255,0.6);
}

.wm-breadcrumbs nav a:hover {
  color: var(--wm-secondary);
}

.wm-breadcrumbs nav span.separator {
  color: rgba(255,255,255,0.3);
}

.wm-breadcrumbs nav span.current {
  color: var(--wm-secondary);
  font-weight: 600;
}

/* -------------------------------------------------------
   22. PODSTRONA - O FIRMIE
   ------------------------------------------------------- */
.wm-about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.wm-about-page-content h2 {
  margin-bottom: 20px;
}

.wm-about-page-content p {
  line-height: 1.8;
}

.wm-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.wm-value-card {
  padding: 30px;
  background: var(--wm-cream);
  border-radius: var(--wm-radius);
  text-align: center;
  transition: var(--wm-transition);
}

.wm-value-card:hover {
  background: white;
  box-shadow: 0 10px 30px var(--wm-shadow);
  transform: translateY(-5px);
}

.wm-value-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 5px 15px var(--wm-shadow);
}

.wm-value-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--wm-primary);
}

/* -------------------------------------------------------
   23. PODSTRONA - PRODUKTY SZCZEGÓŁOWE
   ------------------------------------------------------- */
.wm-product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.wm-product-gallery {
  position: sticky;
  top: 100px;
}

.wm-product-main-image {
  border-radius: var(--wm-radius-lg);
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 10px 30px var(--wm-shadow);
}

.wm-product-main-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.wm-product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.wm-product-thumb {
  border-radius: var(--wm-radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--wm-transition-fast);
}

.wm-product-thumb.active,
.wm-product-thumb:hover {
  border-color: var(--wm-primary);
}

.wm-product-thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.wm-product-info h1 {
  margin-bottom: 10px;
}

.wm-product-info .wm-product-subtitle {
  color: var(--wm-text-light);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.wm-product-specs {
  background: var(--wm-cream);
  border-radius: var(--wm-radius);
  padding: 25px;
  margin: 25px 0;
}

.wm-product-specs h4 {
  margin-bottom: 15px;
  font-size: 1rem;
}

.wm-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--wm-border);
}

.wm-spec-row:last-child {
  border-bottom: none;
}

.wm-spec-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--wm-dark);
}

.wm-spec-value {
  color: var(--wm-text-light);
  font-size: 0.9rem;
}

.wm-product-description {
  margin: 25px 0;
}

.wm-product-description h3 {
  margin-bottom: 15px;
}

.wm-product-description ul {
  list-style: none;
  padding: 0;
}

.wm-product-description ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--wm-text-light);
}

.wm-product-description ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234A7C2E'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* -------------------------------------------------------
   24. FAQ / ACCORDION
   ------------------------------------------------------- */
.wm-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.wm-faq-item {
  background: var(--wm-white);
  border-radius: var(--wm-radius);
  margin-bottom: 15px;
  box-shadow: 0 3px 15px var(--wm-shadow);
  overflow: hidden;
  border: 1px solid var(--wm-border);
}

.wm-faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--wm-dark);
  transition: var(--wm-transition-fast);
}

.wm-faq-question:hover {
  color: var(--wm-primary);
}

.wm-faq-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--wm-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--wm-transition);
}

.wm-faq-item.active .wm-faq-toggle {
  background: var(--wm-primary);
  transform: rotate(45deg);
}

.wm-faq-toggle svg {
  width: 16px;
  height: 16px;
  fill: var(--wm-primary);
}

.wm-faq-item.active .wm-faq-toggle svg {
  fill: white;
}

.wm-faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.wm-faq-item.active .wm-faq-answer {
  max-height: 500px;
  padding: 0 25px 25px;
}

.wm-faq-answer p {
  color: var(--wm-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* -------------------------------------------------------
   25. NEWSLETTER
   ------------------------------------------------------- */
.wm-newsletter {
  background: var(--wm-cream);
  border-radius: var(--wm-radius-lg);
  padding: 50px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.wm-newsletter-content {
  flex: 1;
}

.wm-newsletter-content h3 {
  margin-bottom: 8px;
}

.wm-newsletter-content p {
  color: var(--wm-text-light);
  margin: 0;
}

.wm-newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
}

.wm-newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid var(--wm-border);
  border-radius: var(--wm-radius-xl);
  font-size: 0.95rem;
  outline: none;
  transition: var(--wm-transition-fast);
}

.wm-newsletter-form input:focus {
  border-color: var(--wm-primary);
}

/* -------------------------------------------------------
   26. SCROLL TO TOP
   ------------------------------------------------------- */
.wm-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wm-primary) 0%, var(--wm-primary-dark) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 6px 20px rgba(74, 124, 46, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--wm-transition);
  z-index: 999;
}

.wm-scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wm-scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(74, 124, 46, 0.4);
}

.wm-scroll-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* -------------------------------------------------------
   27. ANIMACJE WEJŚCIA (INTERSECTION OBSERVER)
   ------------------------------------------------------- */
.wm-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.wm-animate.wm-visible {
  opacity: 1;
  transform: translateY(0);
}

.wm-animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.wm-animate-left.wm-visible {
  opacity: 1;
  transform: translateX(0);
}

.wm-animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.wm-animate-right.wm-visible {
  opacity: 1;
  transform: translateX(0);
}

.wm-animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.wm-animate-scale.wm-visible {
  opacity: 1;
  transform: scale(1);
}

/* Opóźnienia */
.wm-delay-1 { transition-delay: 0.1s; }
.wm-delay-2 { transition-delay: 0.2s; }
.wm-delay-3 { transition-delay: 0.3s; }
.wm-delay-4 { transition-delay: 0.4s; }
.wm-delay-5 { transition-delay: 0.5s; }
.wm-delay-6 { transition-delay: 0.6s; }

/* -------------------------------------------------------
   28. PARTNERZY / LOGO GRID
   ------------------------------------------------------- */
.wm-partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 30px 0;
}

.wm-partner-logo {
  height: 50px;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: var(--wm-transition);
}

.wm-partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* -------------------------------------------------------
   29. RESPONSYWNOŚĆ
   ------------------------------------------------------- */

/* Tablet Landscape */
@media (max-width: 1200px) {
  .wm-hero-content {
    gap: 40px;
  }

  .wm-hero-image-main {
    width: 350px;
    height: 350px;
  }

  .wm-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .wm-footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .wm-process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .wm-process-grid::before {
    display: none;
  }
}

/* Tablet Portrait */
@media (max-width: 991px) {
  :root {
    --wm-section-padding: 60px 0;
  }

  .wm-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .wm-hero-text {
    order: 1;
  }

  .wm-hero-visual {
    order: 0;
  }

  .wm-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .wm-hero-buttons {
    justify-content: center;
  }

  .wm-hero-stats {
    justify-content: center;
  }

  .wm-hero-image-main {
    width: 300px;
    height: 300px;
  }

  .wm-about-preview {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .wm-about-experience {
    right: 10px;
  }

  .wm-contact-grid {
    grid-template-columns: 1fr;
  }

  .wm-product-detail {
    grid-template-columns: 1fr;
  }

  .wm-product-gallery {
    position: static;
  }

  .wm-about-page-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .wm-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wm-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .wm-stat-item::after {
    display: none;
  }

  .wm-newsletter {
    flex-direction: column;
    text-align: center;
  }

  .wm-newsletter-form {
    width: 100%;
  }

  /* Mobile menu */
  .wm-hamburger {
    display: flex;
  }

  .wm-nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--wm-white);
    box-shadow: -10px 0 40px var(--wm-shadow-lg);
    padding: 100px 30px 30px;
    transition: right 0.4s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .wm-nav-wrapper.active {
    right: 0;
  }

  .mod-menu {
    flex-direction: column;
    gap: 0;
  }

  .mod-menu li a {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--wm-border);
  }

  .mod-menu li a::after {
    display: none;
  }

  .mod-menu li ul {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-top: none;
    padding: 0;
    padding-left: 20px;
  }

  .wm-header-contact {
    display: none;
  }

  .wm-header-inner {
    min-height: 70px;
  }

  .wm-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wm-cta {
    padding: 40px 25px;
    margin: 0 10px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --wm-section-padding: 50px 0;
  }

  .wm-hero {
    min-height: 70vh;
  }

  .wm-hero-float-card {
    display: none;
  }

  .wm-hero-image-main {
    width: 250px;
    height: 250px;
  }

  .wm-hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  .wm-topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .wm-topbar-right {
    display: none;
  }

  .wm-about-features {
    grid-template-columns: 1fr;
  }

  .wm-products-grid {
    grid-template-columns: 1fr;
  }

  .wm-advantages-grid {
    grid-template-columns: 1fr;
  }

  .wm-uses-grid {
    grid-template-columns: 1fr;
  }

  .wm-values-grid {
    grid-template-columns: 1fr;
  }

  .wm-stats {
    grid-template-columns: 1fr;
  }

  .wm-form-row {
    grid-template-columns: 1fr;
  }

  .wm-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .wm-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wm-gallery-item.featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .wm-newsletter {
    padding: 30px 20px;
  }

  .wm-newsletter-form {
    flex-direction: column;
  }

  .wm-process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .wm-contact-form {
    padding: 25px;
  }

  .wm-logo-brand {
    font-size: 1.4rem;
  }

  .wm-logo-tagline {
    font-size: 0.6rem;
  }

  .wm-logo-icon {
    width: 42px;
    height: 42px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .wm-topbar {
    font-size: 0.8rem;
  }

  .wm-topbar-left {
    gap: 15px;
    flex-direction: column;
  }

  .wm-hero {
    min-height: 60vh;
  }

  .wm-hero-badge {
    font-size: 0.72rem;
    padding: 6px 14px;
  }

  .wm-gallery-grid {
    grid-template-columns: 1fr;
  }

  .wm-gallery-item.featured {
    grid-column: span 1;
  }

  .wm-breadcrumbs {
    padding: 30px 0;
  }

  .wm-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* -------------------------------------------------------
   30. PRINT STYLES
   ------------------------------------------------------- */
@media print {
  .wm-topbar,
  .wm-header-wrapper,
  .wm-hero,
  .wm-cta,
  .wm-footer,
  .wm-scroll-top,
  .wm-hamburger {
    display: none !important;
  }

  body {
    color: black;
    background: white;
  }

  .wm-section {
    padding: 20px 0;
  }
}

/* -------------------------------------------------------
   31. ACCESSIBILITY
   ------------------------------------------------------- */
.wm-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

*:focus-visible {
  outline: 3px solid var(--wm-primary);
  outline-offset: 2px;
}

/* -------------------------------------------------------
   32. LOADING / SKELETON
   ------------------------------------------------------- */
.wm-skeleton {
  background: linear-gradient(90deg, var(--wm-cream) 25%, var(--wm-cream-dark) 50%, var(--wm-cream) 75%);
  background-size: 400% 100%;
  animation: wm-skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--wm-radius-sm);
}

@keyframes wm-skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* -------------------------------------------------------
   33. UTILITY CLASSES
   ------------------------------------------------------- */
.wm-text-center { text-align: center; }
.wm-text-left { text-align: left; }
.wm-text-right { text-align: right; }
.wm-mt-0 { margin-top: 0; }
.wm-mt-20 { margin-top: 20px; }
.wm-mt-40 { margin-top: 40px; }
.wm-mt-60 { margin-top: 60px; }
.wm-mb-0 { margin-bottom: 0; }
.wm-mb-20 { margin-bottom: 20px; }
.wm-mb-40 { margin-bottom: 40px; }
.wm-mb-60 { margin-bottom: 60px; }
.wm-pt-0 { padding-top: 0; }
.wm-pb-0 { padding-bottom: 0; }
.wm-hidden { display: none !important; }
.wm-visible-mobile { display: none; }
.wm-color-primary { color: var(--wm-primary); }
.wm-color-secondary { color: var(--wm-secondary); }
.wm-bg-cream { background: var(--wm-cream); }
.wm-rounded { border-radius: var(--wm-radius); }

@media (max-width: 700px) {
  .wm-hidden-mobile { display: none !important; }
  .wm-visible-mobile { display: block; }
}

.container-header .mod-menu > li > a, .container-header .mod-menu > li > span {
  color: #000 !important;
  text-decoration: none;
  position: relative;
}
/* HERO */
.hero-welmex {
  position: relative;
  padding: 15px 100px;
  background: url('/images/hero-welna.jpg') center/cover no-repeat;
}
.hero-welmex::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  color: #fff;
}
.hero-inner h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 50px;
}
.hero-inner p {
  font-size: 18px;
  max-width: 640px;
  margin-bottom: 30px;
}
.hero-buttons a {
  display: inline-block;
  margin-right: 12px;
}

footer .grid-child{
  max-width: 100% !important;
  display: block !important;
  padding: 0 !important;
}
/* ============================================================
   GŁÓWNY FOOTER
   ============================================================ */
.wm-footer {
  background: linear-gradient(180deg, var(--wm-dark) 0%, #141E14 100%);
  color: rgba(255, 255, 255, 0.8);
  padding:10px;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* ============================================================
   GŁÓWNA ZAWARTOŚĆ
   ============================================================ */
.wm-footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 50px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 70px 20px 40px;
  width: 100%;
}

/* ============================================================
   KOLUMNA 1: BRAND/LOGO
   ============================================================ */
.wm-footer-brand {
  display: flex;
  flex-direction: column;
}

.wm-footer-logo {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  letter-spacing: 2px;
  margin-bottom: 15px;
  line-height: 1;
}

.wm-footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 0 25px 0;
}

/* Social Icons */
.wm-topbar-social {
  display: flex;
  gap: 12px;
}

.wm-topbar-social a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08) !important;
  color: white !important;
  text-decoration: none !important;
  transition: var(--wm-transition);
}

.wm-topbar-social a:hover {
  background: var(--wm-primary) !important;
  transform: translateY(-3px);
}

.wm-topbar-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============================================================
   KOLUMNA 2 & 3: MENU I KONTAKT
   ============================================================ */
.wm-footer-main > div:nth-child(2),
.wm-footer-main > div:nth-child(3) {
  display: flex;
  flex-direction: column;
}

.wm-footer-main h4 {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  line-height: 1.2;
}

.wm-footer-main h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--wm-secondary), #E8C96E);
  border-radius: 2px;
}

/* Menu Links */
.wm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wm-footer-links li {
  margin: 0;
  padding: 0;
}

.wm-footer-links a {
  display: block;
  padding: 10px 0 10px 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  text-decoration: none;
  position: relative;
  transition: var(--wm-transition);
  border-left: 3px solid transparent;
}

.wm-footer-links a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--wm-secondary);
  font-weight: 700;
  font-size: 1.2rem;
  transition: var(--wm-transition);
}

.wm-footer-links a:hover {
  color: white;
  padding-left: 32px;
  border-left-color: var(--wm-secondary);
}

.wm-footer-links a:hover::before {
  color: #E8C96E;
}

/* Contact Items */
.wm-footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.wm-footer-contact-item svg {
  width: 20px;
  height: 20px;
  fill: var(--wm-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.wm-footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--wm-transition);
}

.wm-footer-contact-item a:hover {
  color: white;
  text-decoration: underline;
}

/* ============================================================
   STOPKA (COPYRIGHT)
   ============================================================ */
.wm-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.2);
}

.wm-footer-bottom-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.wm-footer-bottom-inner p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.wm-footer-bottom-links {
  display: flex;
  gap: 20px;
}

.wm-footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: var(--wm-transition);
}

.wm-footer-bottom-links a:hover {
  color: var(--wm-secondary);
}

/* ============================================================
   RESPONSYWNOŚĆ - TABLET LANDSCAPE (1200px)
   ============================================================ */
@media (max-width: 1200px) {
  .wm-footer-main {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding: 60px 20px 40px;
  }
}

/* ============================================================
   RESPONSYWNOŚĆ - TABLET PORTRAIT (991px)
   ============================================================ */
@media (max-width: 991px) {
  .wm-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px 20px 40px;
  }

  .wm-footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* ============================================================
   RESPONSYWNOŚĆ - MOBILE (767px)
   ============================================================ */
@media (max-width: 767px) {
  .wm-footer {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }

  .wm-footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px 30px;
  }

  .wm-footer-brand {
    grid-column: 1;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .wm-footer-main h4 {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .wm-footer-logo {
    font-size: 1.3rem;
  }

  .wm-footer-brand p {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .wm-topbar-social a {
    width: 36px !important;
    height: 36px !important;
  }

  .wm-footer-links a {
    padding: 8px 0 8px 20px;
    font-size: 0.85rem;
  }

  .wm-footer-contact-item {
    margin-bottom: 16px;
    font-size: 0.85rem;
  }

  .wm-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .wm-footer-bottom-links {
    justify-content: center;
  }
}

/* ============================================================
   RESPONSYWNOŚĆ - SMALL MOBILE (480px)
   ============================================================ */
@media (max-width: 480px) {
  .wm-footer-main {
    padding: 30px 15px 25px;
  }

  .wm-footer-logo {
    font-size: 1.1rem;
  }

  .wm-footer-brand p {
    font-size: 0.8rem;
  }

  .wm-footer-main h4 {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
}

/* ============================================================
   CASSIOPEIA FIXES
   ============================================================ */
.container-footer {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.container-footer .wm-footer {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Ensure full width */
body > .site-grid > .container-footer {
  grid-column: 1 / -1;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.wm-footer a {
  color: inherit;
}
/* CONTACT PAGE - KARTY I MAPA (wklej do custom.css lub style.css modułu) */
.wm-contact-page {
  padding: 40px 20px;
  background: transparent;
  color: var(--wm-text, #3A3A3A);
}
.wm-contact-page-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.wm-contact-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.wm-contact-page-card {
  background: var(--wm-white, #fff);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 30px var(--wm-shadow, rgba(30,45,31,0.12));
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wm-contact-page-card h4 { margin: 0 0 6px 0; font-family: var(--wm-font-heading, 'Montserrat'); color: var(--wm-dark, #1E2D1F); }
.wm-contact-page-card p { margin: 0; color: var(--wm-text-light, #6B6B6B); }

.wm-contact-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--wm-shadow, rgba(30,45,31,0.12));
  background: #fff;
  min-height: 260px;
}
.wm-map-wrapper { width: 100%; height: 100%; aspect-ratio: 16/9; }
.wm-map-iframe { width: 100%; height: 100%; border: 0; display: block; }

.wm-contact-info-box { background: var(--wm-light, #F5F0E8); padding: 20px; border-radius: 12px; color: var(--wm-dark, #1E2D1F); }

/* Desktop: cards left, map right */
@media (min-width: 992px) {
  .wm-contact-page-inner { grid-template-columns: 1fr 520px; align-items:start; }
}

/* Mobile: stack */
@media (max-width: 991px) {
  .wm-contact-page-inner { grid-template-columns: 1fr; }
  .wm-map-wrapper { aspect-ratio: 16/9; }
}
.wm-contact-page .wm-contact-map { background: #fff; }

/* ============================================================
   ARTYKUŁ: Zastosowania Wełny Drzewnej — custom article styles
   Wykorzystuje zmienne CSS z głównego arkusza WEŁMEX
   ============================================================ */

.wm-article-uses {
  max-width: var(--wm-container-max, 1320px);
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.wm-article-uses-header {
  text-align: center;
  margin-bottom: 50px;
}

.wm-article-uses-header h1 {
  font-family: var(--wm-font-heading, 'Montserrat', sans-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--wm-dark, #1E2D1F);
  margin-bottom: 15px;
  line-height: 1.2;
}

.wm-article-uses-header h1 span {
  color: var(--wm-primary, #4A7C2E);
}

.wm-article-uses-intro {
  font-size: 1.1rem;
  color: var(--wm-text-light, #6B6B6B);
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---- BOX GRID ---- */
.wm-uses-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 35px;
  margin-bottom: 50px;
}

/* ---- SINGLE BOX ---- */
.wm-use-box {
  background: var(--wm-white, #FFFFFF);
  border-radius: var(--wm-radius-lg, 20px);
  overflow: hidden;
  box-shadow: 0 5px 25px var(--wm-shadow, rgba(30,45,31,0.12));
  border: 1px solid transparent;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  position: relative;
}

.wm-use-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--wm-shadow-lg, rgba(30,45,31,0.2));
  border-color: var(--wm-primary, #4A7C2E);
}

/* Kolorowy pasek na górze */
.wm-use-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--wm-primary, #4A7C2E), var(--wm-secondary, #D4A843));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}

.wm-use-box:hover::before {
  transform: scaleX(1);
}

/* Numer punktu */
.wm-use-box-number {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wm-primary, #4A7C2E) 0%, var(--wm-primary-light, #6BAD45) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wm-font-heading, 'Montserrat', sans-serif);
  font-weight: 800;
  font-size: 1.1rem;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(74, 124, 46, 0.35);
}

/* Miejsce na zdjęcie */
.wm-use-box-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--wm-cream, #F9F5EC) 0%, var(--wm-cream-dark, #F0E8D8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wm-use-box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.wm-use-box:hover .wm-use-box-image img {
  transform: scale(1.08);
}

/* Placeholder ikona gdy brak zdjęcia */
.wm-use-box-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--wm-text-muted, #999999);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.wm-use-box-image-placeholder svg {
  width: 48px;
  height: 48px;
  fill: var(--wm-border, #E0D8C8);
  opacity: 0.6;
}

/* Treść */
.wm-use-box-content {
  padding: 28px 30px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wm-use-box-content h3 {
  font-family: var(--wm-font-heading, 'Montserrat', sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wm-dark, #1E2D1F);
  margin: 0 0 14px 0;
  line-height: 1.35;
}

.wm-use-box-content p {
  font-family: var(--wm-font-main, 'Poppins', sans-serif);
  font-size: 0.95rem;
  color: var(--wm-text-light, #6B6B6B);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* Lista wewnątrz boxa */
.wm-use-box-content ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}

.wm-use-box-content ul li {
  padding: 7px 0 7px 28px;
  position: relative;
  color: var(--wm-text-light, #6B6B6B);
  font-size: 0.92rem;
  line-height: 1.6;
}

.wm-use-box-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234A7C2E'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---- DODATKOWE ZASTOSOWANIA — specjalny box ---- */
.wm-use-box-extra {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--wm-cream, #F9F5EC) 0%, var(--wm-cream-dark, #F0E8D8) 100%);
  border: 2px dashed var(--wm-border, #E0D8C8);
  box-shadow: none;
}

.wm-use-box-extra:hover {
  border-color: var(--wm-primary, #4A7C2E);
  background: var(--wm-white, #FFFFFF);
  box-shadow: 0 15px 40px var(--wm-shadow, rgba(30,45,31,0.12));
}

.wm-use-box-extra::before {
  display: none;
}

.wm-use-box-extra .wm-use-box-number {
  background: linear-gradient(135deg, var(--wm-secondary, #D4A843) 0%, var(--wm-secondary-light, #E8C96E) 100%);
  color: var(--wm-dark, #1E2D1F);
}

/* ---- PODSUMOWANIE ---- */
.wm-article-uses-summary {
  background: linear-gradient(135deg, var(--wm-primary, #4A7C2E) 0%, var(--wm-dark-green, #2C3E2D) 100%);
  border-radius: var(--wm-radius-lg, 20px);
  padding: 45px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wm-article-uses-summary::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.1);
  pointer-events: none;
}

.wm-article-uses-summary::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.wm-article-uses-summary p {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
  font-family: var(--wm-font-accent, 'Playfair Display', Georgia, serif);
}

.wm-article-uses-summary strong {
  color: var(--wm-secondary-light, #E8C96E);
  font-style: normal;
  font-weight: 700;
}

/* ---- RESPONSYWNOŚĆ ---- */
@media (max-width: 991px) {
  .wm-uses-boxes {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
  .wm-article-uses-summary {
    padding: 35px 30px;
  }
}

@media (max-width: 767px) {
  .wm-uses-boxes {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .wm-use-box-image {
    height: 190px;
  }
  .wm-use-box-content {
    padding: 22px 22px 25px;
  }
  .wm-use-box-extra {
    grid-column: 1;
  }
  .wm-article-uses-summary {
    padding: 30px 20px;
    border-radius: var(--wm-radius, 12px);
  }
  .wm-article-uses-summary p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .wm-article-uses {
    padding: 25px 12px 40px;
  }
  .wm-use-box-image {
    height: 160px;
  }
  .wm-use-box-number {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
}
/* -------------------------------------------------------
   CONSOLIDATED FIXES
   - Small gap between main content and footer
   - Ensure footer has a single top margin to avoid layout collisions
------------------------------------------------------- */
.wm-footer,
.wm-footer-custom {
  margin-top: 24px;
}
.site-grid > .full-width {
    grid-column: main-start / main-end !important;
}