/* ==========================================================================
   DREWMAX - Design System inspired by Cetro Cleaning Services
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Primary Colors - Green from Cetro */
  --primary: #82B440;
  --primary-hover: #74A136;
  --primary-dark: #6B9930;
  --primary-light: #9BC55F;
  --primary-bg: rgba(130, 180, 64, 0.08);

  /* Neutrals */
  --dark: #1A1A1A;
  --gray-900: #2A2A2A;
  --gray-700: #4A4A4A;
  --gray-500: #6A6A6A;
  --gray-300: #DADADA;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;

  /* Background */
  --bg-light: #FAFAFA;
  --bg-white: #FFFFFF;
  --bg-dark: #1F1F1F;

  /* Typography */
  --font-primary: 'Outfit', -apple-system, system-ui, sans-serif;

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

  /* Layout */
  --container-width: 1200px;
  --gutter: 24px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-white);
  color: var(--gray-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100%;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.5px;
}

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

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.7;
}

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

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

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

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-lg {
  padding: 100px 0;
}

.bg-white {
  background-color: var(--bg-white);
}

.bg-light {
  background-color: var(--bg-light);
}

/* Features Section Spacing */
.section.features-section {
  padding-top: 100px;
}

.bg-dark {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.85);
}

.bg-primary {
  background-color: var(--primary);
  color: var(--white);
}

/* Grid System */
.grid {
  display: grid;
  gap: 30px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
  background: transparent;
  box-shadow: none;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

header .container {
  max-width: 1500px;
}

header nav {
  margin: 0 auto;
}

@media (max-width: 1440px) and (min-width: 992px) {
  header .container {
    max-width: 1380px !important;
  }
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  padding: 10px 0;
  gap: 30px;
}

.logo {
  height: 135px;
  width: auto;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.mobile-logo {
  display: none !important;
}

header:not(.scrolled) .desktop-logo.logo-black {
  display: none !important;
}

header:not(.scrolled) .desktop-logo.logo-white {
  display: block !important;
}

header.scrolled .desktop-logo.logo-white {
  display: none !important;
}

header.scrolled .desktop-logo.logo-black {
  display: block !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
  list-style: none;
  flex-shrink: 0;
  flex-wrap: nowrap;
  margin-left: auto;
  margin-right: 60px;
}

@media (max-width: 1440px) and (min-width: 992px) {
  header .container {
    max-width: 1420px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .logo {
    height: 95px !important;
  }
  .header-wrapper {
    gap: 20px !important;
  }
  .nav-menu {
    gap: clamp(40px, 4.2vw, 65px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .nav-link {
    font-size: 0.95rem !important;
  }
  .nav-actions {
    gap: 15px !important;
  }
  .header-phone {
    font-size: 0.9rem !important;
    margin-right: 10px !important;
  }
  .lang-switcher {
    margin-right: 10px !important;
    gap: 6px !important;
    font-size: 0.9rem !important;
  }
  .lang-link {
    padding: 4px 8px !important;
  }
  .nav-actions .btn-sm {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
  }
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 10px 0;
  transition: color 0.3s ease;
  white-space: nowrap;
}

header.scrolled .nav-link {
  color: var(--gray-900);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

/* Header Phone */
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 20px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

header.scrolled .header-phone {
  color: var(--dark);
}

.header-phone:hover {
  color: var(--primary) !important;
}

.header-phone svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 15px;
}

.lang-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

header.scrolled .lang-link {
  color: var(--gray-700);
}

.lang-link:hover {
  color: var(--primary) !important;
}

.lang-link.active {
  color: var(--white) !important;
  background-color: var(--primary) !important;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

header.scrolled .mobile-toggle span {
  background-color: var(--dark);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(130, 180, 64, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(130, 180, 64, 0.4);
}
.btn-primary:hover svg {
  stroke: #000000 !important;
  color: #000000 !important;
}

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

.btn-secondary:hover {
  background-color: var(--dark);
  color: var(--white);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

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

.btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

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

/* ==========================================================================
   Badge & Tags
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-bg);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
}

/* ==========================================================================
   Hero Section (Cetro Style)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 0;
}

.hero .container {
  margin: 0;
  margin-right: auto;
  padding-left: calc(80px + 15%);
  max-width: 1600px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding-left: 0;
  margin-left: 0;
  margin-right: auto;
  margin-top: 50px;
}

.hero-text h1 {
  margin-bottom: 25px;
  color: var(--white);
  font-size: 6rem;
  line-height: 1.0;
  font-weight: 900;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.hero-text h1 .highlight {
  color: var(--primary);
  position: relative;
  display: inline;
}

.hero-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  line-height: 1.6;
  max-width: 520px;
}

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

.hero-quote {
  position: absolute;
  bottom: 160px;
  right: calc(38% - 200px);
  max-width: 400px;
  z-index: 5;
  color: rgba(255, 255, 255, 0.85); /* same as hero-text p */
  font-size: 1rem; /* same as hero-text p */
  font-style: italic;
  font-weight: 400;
  text-align: right;
  line-height: 1.6;
}

.hero-image {
  display: none;
}

/* ==========================================================================
   Feature Cards (USP Section)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 90px;
  margin-top: 60px;
  position: relative;
  z-index: 10;
}

.feature-card {
  background-color: transparent !important;
  background-image: 
    linear-gradient(to right, var(--white), var(--white)), 
    linear-gradient(to right, var(--white), var(--white)) !important;
  background-position: 
    left top, 
    right top !important;
  background-size: 
    calc(100% - 80px) 100%, 
    85px calc(100% - 80px) !important; /* Overlap by 5px to ensure no seam */
  background-repeat: no-repeat !important;
  border-radius: 24px 24px 0 24px !important;
  padding: 45px 40px;
  padding-bottom: 80px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.05));
}

.feature-card-scoop {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at 48px 48px, transparent 47.5px, var(--white) 48px) !important;
  z-index: 2;
  pointer-events: none;
}

.fillet-bottom {
  position: absolute;
  bottom: 0;
  right: 80px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 0% 0%, var(--white) 19.5px, transparent 20px) !important;
  z-index: 2;
  pointer-events: none;
}

.fillet-right {
  position: absolute;
  right: 0;
  bottom: 80px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 0% 0%, var(--white) 19.5px, transparent 20px) !important;
  z-index: 2;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.12));
}

.feature-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  min-height: 110px;
}

.feature-header h3 {
  font-size: 1.6rem;
  margin-bottom: 0;
  font-weight: 700;
  color: var(--dark);
  flex: 1;
}

.feature-icon {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-separator {
  width: 100%;
  height: 1px;
  background-color: var(--gray-300);
  margin-bottom: 25px;
}

.feature-content {
  flex: 1;
}

.feature-content p {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 0;
  line-height: 1.7;
}

.feature-arrow {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 56px;
  height: 56px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(130, 180, 64, 0.3);
}

.feature-arrow svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-arrow {
  transform: scale(1.15);
  box-shadow: 0 8px 24px rgba(130, 180, 64, 0.4);
}

.feature-card:hover .feature-arrow svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

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

.section-header h2 .highlight {
  color: var(--primary);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-700);
}

/* ==========================================================================
   Service/Category Cards (Cetro Style)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  position: relative;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

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

.service-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-content {
  padding: 30px;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-content p {
  color: var(--gray-700);
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.service-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-link svg {
  transform: translateX(5px);
}

/* ==========================================================================
   Cetro-Inspired Interactive Assortment Layout
   ========================================================================== */
.assortment-accent {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 12px;
}

.cetro-interactive-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  gap: 50px;
  align-items: flex-start;
  margin-top: 60px;
}

/* Left column: List */
.cetro-interactive-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cetro-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 26px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cetro-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cetro-item-title-col {
  display: flex;
  align-items: center;
  gap: 30px;
}

.cetro-item-num {
  font-size: 1.15rem;
  font-weight: 700;
  color: #a5967a; /* Elegant warm bronze-gold */
  transition: color 0.3s ease;
  font-family: 'Outfit', sans-serif;
  min-width: 25px;
}

.cetro-item-title {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 800;
  color: var(--dark);
  margin: 0;
  transition: color 0.3s ease;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.cetro-arrow-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  padding: 0;
  cursor: pointer;
}

.cetro-arrow-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

/* Hover / Active States */
.cetro-item:hover .cetro-item-title,
.cetro-item.active .cetro-item-title {
  color: var(--primary);
}

.cetro-item:hover .cetro-item-num,
.cetro-item.active .cetro-item-num {
  color: var(--primary);
}

.cetro-item:hover .cetro-arrow-btn,
.cetro-item.active .cetro-arrow-btn {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.cetro-item:hover .cetro-arrow-btn svg,
.cetro-item.active .cetro-arrow-btn svg {
  transform: translateX(4px);
}

/* Mobile Content (Accordion Fallback on Mobile) */
.cetro-item-mobile-content {
  display: none; /* hidden on desktop */
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Right column: Display panes */
.cetro-interactive-display {
  position: relative;
  min-height: 580px; /* high quality container height */
  height: 100%;
}

.cetro-display-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.98);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.45s;
  pointer-events: none;
}

.cetro-display-pane.active {
  position: relative; /* layout driver */
  z-index: 3;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Image Card */
.cetro-display-img-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9.5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
  background-color: var(--bg-light);
}

.cetro-display-img-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cetro-display-pane:hover .cetro-display-img-card img {
  transform: scale(1.03);
}

.cetro-display-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.1), rgba(0,0,0,0));
  pointer-events: none;
}

/* Info Card Details underneath */
.cetro-display-content-card {
  background-color: var(--white);
  border-radius: 24px;
  padding: 35px;
  margin-top: -30px; /* Floating look overlaying the image slightly */
  margin-left: 25px;
  margin-right: 25px;
  position: relative;
  z-index: 5;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.cetro-pane-desc {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 25px;
  margin-top: 0;
}

.cetro-pane-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 25px;
}

.cetro-pane-list {
  list-style: none;
  padding: 0;
  margin: 0 0 5px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 25px;
}

.cetro-pane-list li {
  font-size: 0.95rem;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.cetro-pane-list li::before {
  content: "•";
  color: var(--primary);
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1;
}

/* ==========================================================================
   Upgraded About Experience Section (zrodlo.PNG)
   ========================================================================== */
.about-experience-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-experience-left {
  display: flex;
  flex-direction: column;
}

.about-experience-badge {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.about-experience-left h2 {
  font-size: clamp(2.5rem, 4.2vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--dark);
  margin-top: 5px;
  margin-bottom: 25px;
}

.about-experience-left p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 24px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 35px;
}

.about-stat-card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.about-stat-number {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.0;
  letter-spacing: -0.5px;
}

.about-stat-label {
  font-size: 0.95rem;
  color: var(--gray-700);
  font-weight: 500;
  line-height: 1.35;
}

.about-experience-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (min-width: 992px) {
  .about-image-wrapper {
    height: 525px;
  }
}

.about-experience-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper:hover .about-experience-img {
  transform: scale(1.03);
}

.about-info-card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 24px;
  align-items: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
}

.about-card-icon-wrapper {
  background: rgba(130, 180, 64, 0.05);
  border: 1.5px solid rgba(130, 180, 64, 0.15);
  color: var(--primary);
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.about-info-card:hover .about-card-icon-wrapper {
  background: rgba(130, 180, 64, 0.1);
  border-color: rgba(130, 180, 64, 0.3);
}

.about-card-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

.about-card-content {
  display: flex;
  flex-direction: column;
}

.about-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.about-card-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--gray-700);
}

/* ==========================================================================
   Upgraded Green B2B Section (referencja 7.PNG)
   ========================================================================== */
.green-cta-section {
  background-color: var(--white);
  padding: 80px 0;
}

.green-cta-banner-container {
  background: linear-gradient(135deg, #0b382c 0%, #0d4335 100%);
  border-radius: 30px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 56, 44, 0.25);
}

.green-cta-watermark {
  position: absolute;
  bottom: -30px;
  left: 2%;
  font-size: 13rem;
  font-weight: 950;
  color: rgba(130, 180, 64, 0.06);
  pointer-events: none;
  line-height: 1;
  letter-spacing: -6px;
  user-select: none;
  font-family: 'Outfit', sans-serif;
}

.green-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.green-cta-left {
  display: flex;
  flex-direction: column;
}

.trusted-partner-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(130, 180, 64, 0.15);
  color: #a3e635;
  padding: 8px 16px;
  border-radius: 50px;
  width: fit-content;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.trusted-partner-badge svg {
  width: 14px;
  height: 14px;
}

.green-cta-left h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.green-cta-left h2 .accent-green {
  color: #82B440;
}

.green-cta-left p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
}

.green-cta-action-bar {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #82B440;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(130, 180, 64, 0.3);
  text-decoration: none;
}

.btn-learn-more:hover {
  background-color: #74A136;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(130, 180, 64, 0.4);
}

.btn-learn-more svg {
  width: 20px;
  height: 20px;
  background: var(--white);
  color: #0b382c;
  border-radius: 50%;
  padding: 2px;
}

.need-help-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.help-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
}

.help-icon-circle svg {
  width: 18px;
  height: 18px;
}

.help-text-group {
  display: flex;
  flex-direction: column;
}

.help-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.help-phone {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.help-phone:hover {
  color: #82B440;
}

.green-cta-middle {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 380px;
}

.green-cta-team-img {
  width: 100%;
  max-width: 320px;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.green-cta-right {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.green-cta-stat-item {
  display: flex;
  flex-direction: column;
  border-left: 2px solid rgba(130, 180, 64, 0.3);
  padding-left: 20px;
}

.green-cta-stat-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.green-cta-stat-lbl {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.green-cta-stat-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* Responsive Overrides for Upgraded Sections */
@media (max-width: 991px) {
  .about-experience-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .green-cta-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .green-cta-banner-container {
    padding: 60px 40px;
  }
  .green-cta-middle {
    height: auto;
    margin: 20px 0;
  }
  .green-cta-team-img {
    max-width: 280px;
    height: 340px;
  }
}

@media (max-width: 480px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  .green-cta-banner-container {
    padding: 40px 20px;
  }
  .green-cta-action-bar {
    gap: 15px;
  }
  .green-cta-watermark {
    font-size: 8rem;
  }
  .about-info-card {
    padding: 20px;
    gap: 15px;
  }
}

footer:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > p:nth-of-type(2) {
  font-weight: normal;
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 15px;
  line-height: 1.2;
}

.cta-content h2 .highlight {
  color: var(--primary);
}

.cta-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 25px;
  line-height: 1.6;
}

.cta-contact-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.cta-phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.cta-stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cta-stat-item {
  display: flex;
  flex-direction: column;
}

.cta-stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 5px;
}

.cta-stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.cta-banner .btn {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(130, 180, 64, 0.3);
}

.cta-banner .btn:hover {
  background-color: var(--primary-hover);
  color: #000000 !important;
}

/* ==========================================================================
   Stats Section (Numbers like Cetro)
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  color: var(--gray-700);
  font-weight: 500;
}

/* ==========================================================================
   Footer (Cetro Style)
   ========================================================================== */
footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.footer-about h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-logo {
  height: 120px;
  width: auto;
  margin-top: -35px;
  margin-left: -22px;
  margin-bottom: -15px;
  display: block;
}

.footer-about h3 .highlight {
  color: var(--primary);
}

.footer-about p {
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-column h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

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

.footer-bottom-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

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

/* ==========================================================================
   EU Logos Section
   ========================================================================== */
.eu-section {
  background-color: var(--bg-light);
  padding: 50px 0;
  border-top: 1px solid var(--gray-100);
}

.eu-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
}

.eu-logo {
  width: 100%;
  max-width: 280px;
  height: 170px;
  background-color: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin: 0 auto;
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  color: var(--gray-700);
  text-transform: uppercase;
  line-height: 1.2;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

@media (max-width: 1024px) {
  .eu-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .eu-logos {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
.eu-logo:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}
.eu-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.eu-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.eu-content p {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image {
    height: 400px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

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

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

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

@media (max-width: 991px) {
  .hero-quote {
    bottom: 20px;
    right: 5%;
    max-width: 90%;
    font-size: 0.9rem;
    text-align: center;
  }

  .hero-bg img {
    object-position: center center;
  }
  .section {
    padding: 60px 0;
  }

  .header-wrapper {
    height: 70px;
  }

  .logo {
    height: 55px;
  }

  /* Robust fix: ensure all versions of desktop logo are hidden on tablet and mobile */
  .desktop-logo,
  header:not(.scrolled) .desktop-logo.logo-white,
  header:not(.scrolled) .desktop-logo.logo-black,
  header.scrolled .desktop-logo.logo-white,
  header.scrolled .desktop-logo.logo-black {
    display: none !important;
  }

  header:not(.scrolled) .logo-white.mobile-logo {
    display: block !important;
  }
  header:not(.scrolled) .logo-black.mobile-logo {
    display: none !important;
  }

  header.scrolled .logo-white.mobile-logo {
    display: none !important;
  }
  header.scrolled .logo-black.mobile-logo {
    display: block !important;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px;
    gap: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
  }

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

  .nav-menu .nav-link {
    color: var(--white) !important;
    font-size: 1.15rem;
    text-align: center;
    width: 100%;
    display: block;
  }

  .mobile-toggle {
    display: block;
    z-index: 1001;
  }

  /* Hamburger transform when active */
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--white) !important;
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--white) !important;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

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

  .cta-banner {
    padding: 40px 30px;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}

/* ==========================================================================
   Subpages Style Rules
   ========================================================================== */
.subpage-header {
  position: relative;
  padding: 165px 0 60px;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
  text-align: left;
}
.subpage-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(26, 26, 26, 0.70) 100%);
  z-index: 1;
}
.subpage-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.3;
}
.subpage-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.catalog-header-bg img {
  object-position: center bottom !important;
}
.subpage-header .container {
  position: relative;
  z-index: 2;
  margin: 0;
  margin-right: auto;
  padding-left: calc(80px + 15%);
  max-width: 1600px;
}
.subpage-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.05;
  margin-top: 15px;
  margin-bottom: 10px;
  color: var(--white);
}
.subpage-title .highlight {
  color: var(--primary);
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-300);
}
.breadcrumbs a {
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
  text-decoration: none;
}
.breadcrumbs a:hover {
  opacity: 1;
  color: var(--primary);
}
.breadcrumbs span {
  opacity: 0.5;
}

/* Catalog Filters & Download Box */
.catalog-section {
  padding: 80px 0;
}
.catalog-layout {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  position: relative;
  align-items: flex-start;
}
.catalog-sidebar {
  width: 320px;
  flex-shrink: 0;
  align-self: stretch;
}
.catalog-sidebar-sticky {
  position: sticky;
  top: 250px;
}
.catalog-main {
  flex-grow: 1;
}
.catalog-nav-list {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  list-style: none;
}
.catalog-nav-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-radius: var(--radius-md);
  color: var(--gray-900);
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}
.catalog-nav-item a:hover,
.catalog-nav-item.active a {
  background-color: rgba(130, 180, 64, 0.08);
  color: var(--primary);
}
.catalog-nav-item a svg {
  width: 18px;
  height: 18px;
  opacity: 0;
  transition: all 0.3s;
}
.catalog-nav-item a:hover svg,
.catalog-nav-item.active a svg {
  opacity: 1;
  transform: translateX(4px);
}

/* Download Catalog PDF Board */
.pdf-download-card {
  background: linear-gradient(135deg, var(--gray-900) 0%, #171717 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}
.pdf-download-card::after {
  content: 'PDF';
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-size: 10rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: -5px;
  line-height: 1;
  pointer-events: none;
}
.pdf-download-card h3 {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.pdf-download-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}
.pdf-download-card .btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  font-size: 0.95rem;
}

/* Search bar styling */
.catalog-search-wrapper {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 40px;
  display: flex;
  gap: 20px;
  align-items: center;
  position: sticky;
  top: 110px;
  z-index: 900;
}
.search-input-group {
  position: relative;
  flex-grow: 1;
}
.search-input-group svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-700);
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border: 1px solid var(--gray-300);
  border-radius: 50px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--gray-900);
  background-color: var(--bg-light);
  transition: all 0.3s;
}
.search-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(130, 180, 64, 0.15);
}

/* Catalog Categories Group styling */
.category-group {
  margin-bottom: 80px;
  scroll-margin-top: 250px;
}
.category-group h2 {
  font-size: 2.22rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.category-group h2::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 32px;
  background-color: var(--primary);
  border-radius: 3px;
}
.category-group-desc {
  font-size: 1.05rem;
  color: var(--gray-700);
  margin-bottom: 30px;
  max-width: 800px;
}

/* Product table design for clean B2B browsing */
.product-table-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow-x: auto;
  margin-bottom: 30px;
}
.product-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 850px;
}
.product-table th {
  background-color: var(--bg-light);
  color: var(--gray-900);
  font-weight: 700;
  padding: 20px 24px;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.product-table th:nth-child(1),
.product-table td:nth-child(1) {
  width: 22% !important;
}
.product-table th:nth-child(2),
.product-table td:nth-child(2) {
  width: 45% !important;
}
.product-table th:nth-child(3),
.product-table td:nth-child(3) {
  width: 18% !important;
}
.product-table th:nth-child(4),
.product-table td:nth-child(4) {
  width: 15% !important;
}
.product-table td {
  padding: 20px 24px;
  font-size: 0.98rem;
  color: var(--gray-900);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  vertical-align: middle;
}
.product-table tr:last-child td {
  border-bottom: none;
}
.product-table tr:hover td {
  background-color: rgba(130, 180, 64, 0.02);
}
.prod-code {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-weight: 700;
  color: var(--primary);
  background: rgba(130, 180, 64, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  display: inline-block;
  white-space: nowrap;
}
.prod-name {
  font-weight: 700;
  color: var(--dark);
}
.prod-spec {
  color: var(--gray-700);
  font-size: 0.9rem;
}
.prod-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}
.prod-badge-natural {
  background-color: #fef3c7;
  color: #d97706;
}
.prod-badge-synth {
  background-color: #e0f2fe;
  color: #0284c7;
}
.prod-badge-wire {
  background-color: #f3f4f6;
  color: #4b5563;
}
.prod-badge-wood {
  background-color: #ecfdf5;
  color: #047857;
}
.btn-table-ask {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* About as Specifics */
.cycle-section {
  padding: 80px 0;
}
.cycle-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.cycle-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
  position: relative;
  z-index: 1;
}
.cycle-card::before {
  content: '';
  position: absolute;
  top: 50px;
  right: -24px;
  width: 24px;
  height: 2px;
  background: dashed var(--primary);
  opacity: 0.4;
  z-index: 0;
}
.cycle-card:last-child::before {
  display: none;
}
.cycle-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 auto 24px;
  box-shadow: 0 6px 15px rgba(130, 180, 64, 0.4);
}
.cycle-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--dark);
}
.cycle-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--gray-700);
}

/* EU Projects Detail section */
.eu-detail-section {
  padding: 85px 0;
}
.eu-official-logos-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.eu-official-logo-item {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eu-official-logo-item img {
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}
.eu-project-table {
  width: 100%;
  border-radius: var(--radius-lg);
  border-collapse: collapse;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-top: 30px;
}
.eu-project-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.eu-project-table tr:last-child {
  border-bottom: none;
}
.eu-project-table td {
  padding: 24px;
}
.eu-project-table td.label-col {
  font-weight: 800;
  width: 30%;
  background-color: var(--bg-light);
  color: var(--dark);
  font-size: 0.98rem;
  border-right: 1px solid rgba(0, 0, 0, 0.04);
}
.eu-project-table td.val-col {
  color: var(--gray-700);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Contact subpage Split & Forms */
.contact-section {
  padding: 80px 0;
}
.contact-grid-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.contact-detail-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 24px;
}
.contact-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(130, 180, 64, 0.08);
  border: 1.5px solid rgba(130, 180, 64, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon-box svg {
  width: 24px;
  height: 24px;
}
.contact-info-block h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.contact-info-block p,
.contact-info-block a {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-700);
  text-decoration: none;
}
.contact-info-block a {
  display: block;
  transition: color 0.3s;
}
.contact-info-block a:hover {
  color: var(--primary);
}

.contact-form-side {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.contact-form-side h3 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--dark);
  margin-bottom: 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}
.form-group-full {
  grid-column: span 2;
}
.form-group label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--gray-900);
  background-color: var(--bg-light);
  transition: all 0.3s;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(130, 180, 64, 0.15);
}
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Map visual */
.map-container {
  margin-top: 80px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  height: 450px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Grid and Content Layout classes used in kontakt.html */
.contact-section-split {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.contact-section-split::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/world_map_pixel_dots.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
  opacity: 0.12; /* Very subtle and beautiful translucent dot map */
  mix-blend-mode: multiply; /* Blends the white background of JPG out perfectly */
  z-index: -1;
  pointer-events: none;
}
.contact-grid-main {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-details-box {
  background: var(--white);
  padding: 45px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
}
.contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 35px;
}
.info-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-circle svg {
  width: 24px;
  height: 24px;
  display: block;
}
.info-row h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--dark);
}
.info-row p {
  margin: 0;
  color: var(--gray-700);
}
.info-row a {
  text-decoration: none;
  transition: var(--transition);
}
.info-row a:hover {
  color: var(--primary);
}

/* Contact form container */
.contact-form-container {
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.contact-form-container h3 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--dark);
  margin-bottom: 10px;
}
.form-group-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.form-group-item label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.form-group-item input,
.form-group-item textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--gray-900);
  background-color: var(--bg-light);
  transition: all 0.3s;
}
.form-group-item input:focus,
.form-group-item textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(130, 180, 64, 0.15);
}

/* Responsive Overrides for Subpages */
@media (max-width: 1024px) {
  .contact-grid-split,
  .contact-grid-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .catalog-layout {
    flex-direction: column;
    gap: 30px;
  }
  .catalog-sidebar {
    width: 100%;
  }
  .catalog-sidebar-sticky {
    position: static;
  }
  .catalog-search-wrapper {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
  }
  .catalog-nav-list {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
  }
  .catalog-nav-item {
    flex: 1 1 auto;
  }
  .catalog-nav-item a {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  .cycle-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cycle-card::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .cycle-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-side,
  .contact-form-container,
  .contact-details-box {
    padding: 30px 20px;
  }
  .eu-official-logos-container {
    justify-content: center;
    padding: 24px;
    gap: 25px;
  }
  .eu-project-table td.label-col {
    width: 40%;
    padding: 15px;
  }
  .eu-project-table td {
    padding: 15px;
    font-size: 0.9rem;
  }
}
/* Product Thumbnails */
.product-thumb-cell {
  text-align: center;
  vertical-align: middle;
}
.product-thumb-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm, 6px);
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-thumb-container:hover {
  transform: scale(1.1);
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.product-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

/* Hover Large Preview Card */
.hover-preview-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 800px;
  max-width: 92vw;
  background: var(--white);
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  border: 4px solid var(--white);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hover-preview-card.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.hover-preview-img-wrapper {
  background: #ffffff;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
  max-height: 55vh;
}
.hover-preview-img {
  max-width: 100%;
  max-height: 100%;
  width: 800px;
  height: auto;
  object-fit: contain;
}
.hover-preview-footer {
  background: var(--dark);
  color: var(--white);
  padding: 15px 20px;
  text-align: center;
}
.hover-preview-footer h4 {
  color: var(--white);
  margin: 0 0 5px 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.hover-preview-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #a0aec0;
}

/* Lightbox Modal */
.lightbox-modal {
  display: flex;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox-content-wrapper {
  position: relative;
  max-width: 85%;
  max-height: 85%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md, 8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox-modal.active .lightbox-img {
  transform: scale(1);
}
.lightbox-caption {
  margin-top: 15px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  user-select: none;
  z-index: 10000;
}
.lightbox-close:hover {
  color: var(--primary);
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .lightbox-close {
    top: 20px;
    right: 25px;
    font-size: 35px;
  }
}

/* Cache buster v=84 */

/* Responsive 2-col inline replacements */
.responsive-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.responsive-grid-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
@media (max-width: 768px) {
  .responsive-grid-2col,
  .responsive-grid-list {
    grid-template-columns: 1fr;
  }
}

/* MOBILE HERO & HEADER ALIGNMENT FIX */
@media (max-width: 991px) {
  .hero .container,
  .subpage-header .container {
    padding-left: 5%;
    padding-right: 5%;
    margin: 0 auto;
    text-align: center;
  }
  .breadcrumbs {
    justify-content: center;
  }
  .hero-text h1, .subpage-title {
    font-size: 3rem;
  }
  .hero-content {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .hero-text {
    padding-left: 0;
    margin: 0 auto;
    text-align: center;
  }
  .hero-text p {
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  }
  .nav-actions .btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-text h1, .subpage-title {
    font-size: 2.2rem;
    white-space: normal;
    line-height: 1.2;
  }
  .hero .container,
  .subpage-header .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-buttons {
    display: flex;
    justify-content: center;
  }
  .header-phone {
    font-size: 0.85rem;
  }
}
@media (max-width: 480px) {
  .header-phone {
    display: none;
  }
}

/* ==========================================================================
   Scroll to Top Button
   ========================================================================== */
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(130, 180, 64, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

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

.scroll-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 20px rgba(130, 180, 64, 0.45);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.scroll-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
  }
  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* --- Premium Micro-Animations System (Cetro-Style Slow Load) --- */

/* Smooth cubic-bezier for highly luxurious feel (similar to easeOutExpo / easeOutQuart) */
@keyframes microRevealFadeUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Base class for elements animating on page load */
.reveal-onload {
  opacity: 0;
  animation: microRevealFadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Micro delays for staggered above-the-fold reveals */
.delay-50 { animation-delay: 50ms; }
.delay-100 { animation-delay: 100ms; }
.delay-150 { animation-delay: 150ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }

/* Base class for scroll-triggered reveal elements */
.reveal-onscroll {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

/* Fired when class is appended via JS */
.reveal-onscroll.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Automatic stagger animations for elements inside a flex or grid group */
.reveal-group .reveal-onscroll:nth-child(1) { transition-delay: 50ms; }
.reveal-group .reveal-onscroll:nth-child(2) { transition-delay: 150ms; }
.reveal-group .reveal-onscroll:nth-child(3) { transition-delay: 250ms; }
.reveal-group .reveal-onscroll:nth-child(4) { transition-delay: 350ms; }
.reveal-group .reveal-onscroll:nth-child(5) { transition-delay: 450ms; }
.reveal-group .reveal-onscroll:nth-child(6) { transition-delay: 550ms; }
.reveal-group .reveal-onscroll:nth-child(7) { transition-delay: 650ms; }
.reveal-group .reveal-onscroll:nth-child(8) { transition-delay: 750ms; }
.reveal-group .reveal-onscroll:nth-child(9) { transition-delay: 850ms; }

/* Hover effects enhancement to accompany reveal animations */
.glow-on-hover {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glow-on-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(130, 180, 64, 0.12);
}


