/* ========================================
   POSTMIX.PL - MAIN STYLES
   ======================================== */

/* === CSS VARIABLES === */
:root {
  /* Primary Colors */
  --primary: #FF6B35;
  --primary-dark: #E85A2A;
  --primary-light: #FFF2EE;
  
  /* Dark Theme */
  --dark: #1A1A2E;
  --darker: #0f172a;
  --dark-card: #1e293b;
  --dark-border: #334155;
  
  /* Grays */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Semantic Colors */
  --white: #ffffff;
  --black: #000000;
  --green: #22C55E;
  --green-light: #DCFCE7;
  --yellow: #FACC15;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Container */
  --container-max: 1280px;
  --container-padding: 1rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.text-3xl { font-size: 1.875rem; }
.text-2xl { font-size: 1.5rem; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }
.text-base { font-size: 1rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

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

.text-white { color: var(--white); }
.text-dark { color: var(--dark); }
.text-gray { color: var(--gray-700); }
.text-primary { color: var(--primary); }
.text-green { color: var(--green); }
.text-blue { color: #3B82F6; }
.text-orange { color: var(--primary); }

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

.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

.section {
  padding: 5rem 0;
}

.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

.section-gray { background: var(--gray-50); }
.section-dark { background: var(--darker); color: var(--white); }
.section-primary { background: var(--primary); color: var(--white); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

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

.section-dark .section-header h2 {
  color: var(--white);
}

.section-dark .section-header p {
  color: #ffffff;
}

/* Snow white text on dark and orange backgrounds */
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.section-dark p,
.section-primary h1, .section-primary h2, .section-primary h3, .section-primary h4,
.section-primary p,
.kaucja-section h1, .kaucja-section h2, .kaucja-section h3, .kaucja-section h4,
.kaucja-section p {
  color: #ffffff;
}

/* === GRID SYSTEM === */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-4,
  .grid-3,
  .grid-2 { grid-template-columns: 1fr; }

  .section { padding: 2.5rem 0; }
  .section-sm { padding: 1.5rem 0; }
  .section-lg { padding: 3rem 0; }
  .kaucja-section { padding: 2.5rem 0; }
  .page-header { padding: 2rem 1rem; }

  .section-header { margin-bottom: 1.5rem; }
  .section-header h2 { font-size: 1.6rem; }

  .content-grid { gap: 1.5rem; }
  .content-grid img { max-height: 220px; }

  .mt-8 { margin-top: 2rem; }
  .mt-6 { margin-top: 1.5rem; }
  .mb-8 { margin-bottom: 2rem; }
  .mb-6 { margin-bottom: 1.5rem; }
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Spacing */
.m-0 { margin: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

/* === COMPONENTS === */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.nav-desktop .btn-primary:hover,
.nav-mobile .btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--darker);
  box-shadow: none;
  transform: none;
}

.btn-secondary {
  background: var(--gray-800);
  color: var(--white);
  border-color: var(--gray-800);
}

.btn-secondary:hover {
  background: var(--gray-900);
  border-color: var(--gray-900);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

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

.btn-white:hover {
  background: var(--gray-100);
  border-color: var(--gray-100);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
}

.benefit-card {
  display: flex;
  flex-direction: column;
}
.benefit-card-desc {
  flex: 1;
  margin-bottom: 1rem;
}

/* Last card alone in a row → center it; multiple per row → left-aligned naturally */
.grid-3 > .benefit-card:last-child:nth-child(3n+1) {
  grid-column: 2;
}

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

.icon-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-card-icon svg {
  width: 3.5rem;
  height: 3.5rem;
}
.icon-card-icon img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}
img[src*="food-truck-orange"],
img[src*="trust"] {
  width: 3rem !important;
  height: 3rem !important;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

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

.badge-dark {
  background: rgba(0, 0, 0, 0.3);
  color: var(--white);
  backdrop-filter: blur(4px);
}

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

/* === NAVIGATION === */
.top-bar {
  background: var(--darker);
  color: var(--gray-400);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
}

.top-bar a {
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

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

.site-header {
  background: var(--darker);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-link {
  color: var(--gray-300);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  transition: color var(--transition-fast);
}

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

/* === HERO NEW (with bubbles) === */
.hero-new {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--white);
  overflow: hidden;
}

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

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

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 26, 46, 0.92) 0%,
    rgba(26, 26, 46, 0.80) 30%,
    rgba(26, 26, 46, 0.3) 60%,
    rgba(26, 26, 46, 0.0) 80%
  );
  z-index: 1;
}

.sunset-glow {
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 107, 53, 0.4) 0%,
    rgba(255, 107, 53, 0.1) 40%,
    transparent 70%
  );
  z-index: 2;
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

/* Bubbles */
.bubbles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  backdrop-filter: blur(1px);
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100vh) translateX(20px) scale(0.5);
    opacity: 0;
  }
}

/* Hero Content */
.hero-container {
  position: relative;
  z-index: 4;
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-content-overlay {
  max-width: 640px;
  text-align: left;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #FFB347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 2rem;
}

.highlight-text {
  color: var(--primary);
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-glow {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.btn-glow:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
  color: var(--white);
}

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

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
}

/* Trust Badges */
.trust-badges-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #ffffff;
}

.trust-item i {
  font-size: 1rem;
}

/* Tablet (768-1023px): desktop content, hamburger menu */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .hero-new {
    min-height: auto;
  }

  .hero-bg-image img {
    object-position: 80% 50%;
  }

  .hero-gradient-overlay {
    background: linear-gradient(
      to bottom,
      rgba(26, 26, 46, 0.60) 0%,
      rgba(26, 26, 46, 0.50) 60%,
      rgba(26, 26, 46, 0.60) 100%
    );
  }

  .hero-container {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero-content-overlay {
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-badges-compact {
    justify-content: center;
  }

  .announcement-badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }

  /* ── Kaucja: center badge, heading, desc; left-align legal note ── */
  .kaucja-content {
    text-align: center;
  }
  .kaucja-date-badge {
    align-self: center;
  }
  .kaucja-legal {
    text-align: left;
  }

  /* ── JTD: center text column on mobile ── */
  .content-grid > div:first-child {
    text-align: center;
  }
  .content-grid > div:first-child .flex {
    justify-content: center;
  }

  /* ── Tab content: keep text left-aligned ── */
  .tab-content .content-grid > div:first-child {
    text-align: left;
  }
  .tab-content .content-grid > div:first-child .flex {
    justify-content: flex-start;
  }

  /* ── All buttons: uniform 52px height, same padding/font ── */
  .btn {
    min-height: 52px;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9375rem !important;
  }

  /* ── Full-width section CTAs ── */
  .kaucja-content .btn,
  .content-grid > div:first-child .btn,
  .text-center .btn,
  .social-proof-strip .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── Uniform h2 size on mobile ── */
  main h2 {
    font-size: 1.75rem !important;
    line-height: 1.2;
  }

  /* ── Benefit cards: single column, no grid-column override ── */
  .grid-3 > .benefit-card:last-child:nth-child(3n+1) {
    grid-column: auto;
  }

  /* ── Product content-section: image full container width, consistent radius ── */
  .content-grid > div > img {
    width: 100% !important;
    height: auto !important;
    border-radius: var(--radius) !important;
  }
}

/* === PAGE HEADER === */
.page-header {
  background: var(--darker);
  padding: 4rem 1rem;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-header p {
  color: #ffffff;
  font-size: 1.125rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--gray-400);
}

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

/* === SOCIAL PROOF (logos) === */
.social-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 0;
}

.social-proof img {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: all var(--transition);
}

.social-proof img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.section-compact { padding: 3rem 0; }

.social-proof-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.social-proof-header {
  text-align: center;
  max-width: 600px;
}

.social-proof-text {
  color: var(--white);
  margin: 0;
}

.social-proof-logo-link {
  display: inline-block;
  margin-top: 1rem;
}

.social-proof-logo-link img {
  vertical-align: middle;
}

.social-proof-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

.social-proof-stats {
  display: flex;
  gap: 3rem;
}

.social-proof-stat {
  text-align: center;
  position: relative;
}

.social-proof-stat + .social-proof-stat::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .social-proof-strip {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .social-proof-header {
    flex-direction: column;
    text-align: center;
  }
  .social-proof-row { flex-direction: column; gap: 1.5rem; }
  .social-proof-stats { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  .social-proof-stat + .social-proof-stat::before { display: none; }
}

/* === KAUCJA SECTION === */
.kaucja-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #1A1A2E 100%);
  position: relative;
  overflow: hidden;
}
.kaucja-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(250,204,21,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.kaucja-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .kaucja-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.kaucja-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.kaucja-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(250,204,21,0.12);
  border: 1px solid rgba(250,204,21,0.25);
  border-radius: 100px;
  padding: 0.5rem 1.25rem 0.5rem 0.5rem;
  font-size: 0.875rem;
  color: #FDE68A;
  width: fit-content;
}

.kaucja-date-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(250,204,21,0.2);
  border-radius: 50%;
  color: #FACC15;
  font-size: 0.8rem;
}

.kaucja-heading {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .kaucja-heading { font-size: 2.5rem; }
}

.kaucja-highlight {
  color: #FACC15;
  position: relative;
}

.kaucja-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ffffff;
}

.kaucja-legal {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(250,204,21,0.06);
  border: 1px solid rgba(250,204,21,0.15);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #ffffff;
}

.kaucja-legal strong {
  color: #FACC15;
}

.kaucja-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 639px) {
  .kaucja-stats { align-items: stretch; }
}

@media (min-width: 640px) {
  .kaucja-stats { flex-direction: row; gap: 0; }
}

.kaucja-stat-card {
  flex: 1;
  border-radius: 1rem;
  padding: 1.75rem;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease;
}

.kaucja-stat-card:hover { transform: translateY(-4px); }

.kaucja-stat-bad {
  background: linear-gradient(145deg, #1C1917 0%, #292524 100%);
  border: 1px solid #44403C;
}

.kaucja-stat-good {
  background: linear-gradient(145deg, #052E16 0%, #14532D 100%);
  border: 1px solid #166534;
  box-shadow: 0 0 40px rgba(34,197,94,0.1);
}

.kaucja-stat-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.kaucja-stat-icon-bad {
  background: rgba(239,68,68,0.15);
  color: #EF4444;
}

.kaucja-stat-icon-good {
  background: rgba(34,197,94,0.15);
  color: #22C55E;
}

.kaucja-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.kaucja-stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.kaucja-val-bad { color: #EF4444; }

.kaucja-val-good { color: #22C55E; }

.kaucja-stat-sub {
  font-size: 0.8125rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.kaucja-stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  font-size: 0.8125rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kaucja-stat-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kaucja-stat-list li i {
  font-size: 0.7rem;
  color: #DC2626;
  width: 14px;
  text-align: center;
}

.kaucja-stat-list-good li i {
  color: #22C55E;
}

.kaucja-stat-list-good {
  color: rgba(255, 255, 255, 0.85);
}

.kaucja-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid #334155;
  color: #94A3B8;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  z-index: 2;
  margin: -1rem auto;
  position: relative;
}

@media (min-width: 640px) {
  .kaucja-vs {
    margin: 0 -1.25rem;
    flex-shrink: 0;
  }
}

/* === CONTENT GRID === */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.content-grid img {
  max-height: 360px;
  width: 100%;
  object-fit: contain;
}
.content-grid .product-img-wrap {
  align-self: center;
}
.content-grid .product-img-wrap img {
  max-height: none;
  object-fit: cover;
}

/* content-section product image: 600×600 on desktop */
/* Override .content-grid img (max-height: 360px) which has higher specificity */
.content-grid .content-section-img {
  max-height: none;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.content-section-img-wrap {
  display: flex;
  justify-content: center;
}
@media (min-width: 768px) {
  .content-grid .content-section-img {
    width: 600px;
    height: 600px;
    object-fit: cover;
  }
}

@media (max-width: 767px) {
  .content-grid {
    gap: 1.5rem;
  }
}

/* Product pages: tighter padding for content section directly after page header */
.page-header + .section {
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .page-header + .section {
    padding: 3rem 0;
  }
}

.stat-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  background: rgba(255, 107, 53, 0.06);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.stat-callout i {
  color: var(--color-primary);
  margin-top: 3px;
  flex-shrink: 0;
}

/* === TESTIMONIALS === */
.stars {
  color: #FACC15;
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
}

/* === FAQ === */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

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

.faq-question i {
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  color: var(--gray-600);
  line-height: 1.6;
  transition: all var(--transition-slow);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

/* ========== ICON BOX ========== */
.icon-box { 
  width: 3.5rem; height: 3.5rem; 
  background: var(--primary-light); border-radius: 0.75rem; 
  display: flex; align-items: center; justify-content: center; 
  color: var(--primary); font-size: 1.5rem; flex-shrink: 0; 
}
.icon-box-lg { width: 4rem; height: 4rem; font-size: 1.75rem; border-radius: 1rem; }
.icon-box-sm { width: 2.5rem; height: 2.5rem; font-size: 1.125rem; border-radius: 0.5rem; }
.icon-box-dark { background: var(--dark); color: #fff; }

/* ========== DEVICE BADGE (prominent) ========== */
.device-badge-prominent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--green-light, #DCFCE7);
  color: #15803D;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: background var(--transition-fast);
}
.device-badge-prominent:hover {
  background: #BBF7D0;
  color: #15803D;
}

/* ========== STAT BADGE ========== */
.stat-badge { 
  display: inline-block; background: var(--green-light); color: #15803D; 
  padding: 0.25rem 0.75rem; border-radius: 9999px; 
  font-size: 0.875rem; font-weight: 600; 
}

/* ========== STEPS ========== */
.step-number { 
  width: 4rem; height: 4rem; background: var(--primary); color: #fff; 
  border-radius: 50%; display: flex; align-items: center; justify-content: center; 
  font-size: 1.5rem; font-weight: 700; margin: 0 auto 1.25rem;
  font-family: 'Outfit', sans-serif;
}

/* === RELATED CONTENT === */
.related-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
  text-decoration: none;
}

.related-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.related-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.related-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin: 0;
}

/* === CONTACT MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.modal-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--gray-500);
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--gray-700);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* === SOCIAL LINKS === */
.social-links { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-links a {
  width: 2.5rem; height: 2.5rem;
  background: rgba(255,255,255,0.1); border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  color: #ffffff; transition: all 0.2s;
}
.social-links a:hover { background: var(--primary); color: #fff; }

/* === FOOTER === */
.site-footer {
  background: var(--darker);
  color: #ffffff;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-links h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ffffff;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

/* ========== CALLOUTS ========== */
.callout {
  background: #FEF3C7;
  border-left: 4px solid #F59E0B;
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.callout-info {
  background: #EFF6FF;
  border-left-color: #3B82F6;
}

.callout-success {
  background: #F0FDF4;
  border-left-color: #22C55E;
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.breadcrumbs a {
  color: var(--gray-500);
  text-decoration: none;
}

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

.breadcrumbs span {
  margin: 0 0.5rem;
}

/* ========== FORMS ========== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.form-control::placeholder {
  color: var(--gray-400);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  cursor: pointer;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox input {
  margin-top: 0.25rem;
}

.form-checkbox label {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* CF7 form overrides */
.wpcf7 .wpcf7-submit { display: block; width: 100%; }
.wpcf7 .wpcf7-not-valid-tip { color: var(--danger, #dc3545); font-size: 0.8rem; margin-top: 0.25rem; }
.wpcf7 .wpcf7-response-output { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: var(--radius); font-size: 0.9rem; }
.wpcf7 .wpcf7-acceptance .wpcf7-form-control-wrap { display: inline; }

/* === BLOG POST STYLES === */
/* ========== TABS ========== */
.tabs {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  overflow-x: auto;
  flex-wrap: wrap;
  justify-content: center;
}

.tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  white-space: nowrap;
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  font-family: inherit;
  font-size: 1.125rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  min-width: 160px;
  justify-content: center;
}

.tab:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.tab img {
  width: 1.75rem;
  height: 1.75rem;
}

@media (max-width: 640px) {
  .tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-wrap: unset;
    gap: 0.5rem;
    padding: 1rem 0 0.25rem;
  }
  .tab {
    padding: 0.6rem 0.5rem;
    font-size: 0.875rem;
    border-radius: var(--radius);
    min-width: unset;
    gap: 0.4rem;
  }
  .tab img { width: 1.1rem; height: 1.1rem; }
  .content-grid[style*="2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .content-grid[style*="2fr 1fr"] img {
    margin: 0 auto;
    max-height: 220px;
    padding-bottom: 0;
  }
  .content-grid[style*="2fr 1fr"] > div:last-child {
    padding-top: 0;
  }
}

/* ========== BLOG GRID ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

.blog-article {
  max-width: 56rem;
  margin: 0 auto;
}

.blog-header {
  padding: 3rem 0 2rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.blog-body h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: var(--gray-900);
}

.blog-body h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--gray-800);
}

.blog-body p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
  color: var(--gray-700);
}

.blog-body ul,
.blog-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.blog-body li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.blog-body img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  margin: 1.5rem 0;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

/* Blog TOC */
.blog-toc {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.blog-toc h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

.blog-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-toc li {
  margin-bottom: 0.5rem;
}

.blog-toc a {
  color: var(--gray-600);
  font-size: 0.9375rem;
  display: block;
  padding: 0.375rem 0;
  transition: color var(--transition-fast);
}

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

/* Blog Card */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
}

.blog-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.blog-card-category {
  display: block;
  padding: 0.75rem 1.25rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.blog-card-body {
  padding: 0.75rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.blog-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
  flex: 1;
}

/* ========== TABLES ========== */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
table th, table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--gray-200); }
table th { background: var(--dark); color: #fff; font-weight: 600; }
table th:first-child { border-radius: 0.5rem 0 0 0; }
table th:last-child { border-radius: 0 0.5rem 0 0; }
table tr:last-child td { border-bottom: none; }
.table-highlight { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th { background: var(--gray-800); color: white; padding: 1rem; text-align: left; font-weight: 600; }
.comparison-table td { padding: 1rem; border-bottom: 1px solid var(--gray-200); }
.comparison-table tbody tr:hover { background: var(--gray-50); }

/* Blog tables */
.blog-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.blog-body th, .blog-body td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  text-align: left;
}

.blog-body th {
  background: var(--gray-50);
  font-weight: 600;
}

/* === UTILITY CLASSES === */
.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;
}

.rounded-lg { border-radius: var(--radius-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.aspect-video { aspect-ratio: 16 / 9; }

/* ── Icon-card photo variant ── */
.icon-card-photo-wrap {
  overflow: hidden;
  aspect-ratio: 1/1;
}
.icon-card-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.icon-card-photo:hover .icon-card-photo-wrap img {
  transform: scale(1.06);
}

/* ── Product image zoom on hover ── */
.product-img-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  max-width: 100%;
}
.product-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}
.product-img-wrap:hover img {
  transform: scale(1.06);
}

/* ── Smak card hover + lightbox ── */
.smak-card { transition: transform 0.2s, box-shadow 0.2s; }
/* Desktop: subtle card lift only; image zoom removed (lightbox is the click action) */
.smak-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.smak-img-wrap img { transition: transform 0.25s; }
/* Mobile: no hover effects — lightbox is desktop-only (JS guard on width ≤ 767) */
@media (max-width: 767px) {
  .smak-card { cursor: default; }
  .smak-card:hover { transform: none; box-shadow: none; }
}

#smak-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.80);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.smak-lb-box {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  max-width: 600px;
  width: 95%;
  box-shadow: var(--shadow-xl);
}
.smak-lb-box img {
  width: 100%;
  max-width: 560px;
  max-height: 560px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 1rem;
}
.smak-lb-box p {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}
.smak-lb-box button {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--gray-400);
  cursor: pointer;
  line-height: 1;
}
.smak-lb-box button:hover { color: var(--dark); }

/* === ECOLOGY SECTION === */
.ecology-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}
.ecology-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ecology-icon {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.ecology-big-stat {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.ecology-big-label {
  color: var(--gray-500);
  font-size: 0.875rem;
}
.ecology-right h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}
.ecology-desc {
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.ecology-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.ecology-stat {
  flex: 1;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.875rem;
  text-align: center;
  background: white;
}
.ecology-stat-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
}
.ecology-stat-lab {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}
.ecology-note {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .ecology-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .ecology-stats {
    gap: 0.5rem;
  }
}

/* === THANK YOU PAGE === */
.thankyou-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.thankyou-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.thankyou-box h2 {
  font-size: 1.75rem;
  color: var(--gray-900);
  margin-bottom: 1rem;
}
.thankyou-box p {
  color: var(--gray-600);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.thankyou-box a:not(.btn) {
  color: var(--primary);
  text-decoration: none;
}
.thankyou-box .btn {
  margin-top: 1.5rem;
}

/* === COOKIE CONSENT BANNER === */
/* ── Cookie consent banner ── */
#pm-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.35s ease-out;
}
#pm-cookie-banner.show { transform: translateY(0); }
#pm-cookie-banner .pm-cb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
#pm-cookie-banner .pm-cb-text { flex: 1; min-width: 240px; }
#pm-cookie-banner .pm-cb-text h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.25rem;
}
#pm-cookie-banner .pm-cb-text p {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}
#pm-cookie-banner .pm-cb-text a { color: var(--primary); text-decoration: underline; }
#pm-cookie-banner .pm-cb-btns {
  display: flex;
  gap: 0.625rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
#pm-cookie-banner .pm-cb-btn {
  padding: 0.5rem 1.125rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
#pm-cookie-banner .pm-cb-btn-reject {
  background: #f1f5f9;
  color: #475569;
  border-color: #e2e8f0;
}
#pm-cookie-banner .pm-cb-btn-reject:hover { background: #e2e8f0; }
#pm-cookie-banner .pm-cb-btn-settings {
  background: #fff;
  color: #475569;
  border-color: #cbd5e1;
}
#pm-cookie-banner .pm-cb-btn-settings:hover { background: #f8fafc; }
#pm-cookie-banner .pm-cb-btn-accept {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
#pm-cookie-banner .pm-cb-btn-accept:hover { background: var(--primary-dark, #e05a2a); }

/* ── Cookie settings modal ── */
#pm-cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#pm-cookie-modal.show { display: flex; }
#pm-cookie-modal .pm-modal-box {
  background: #fff;
  border-radius: 1rem;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
#pm-cookie-modal .pm-modal-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}
#pm-cookie-modal .pm-modal-header h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
#pm-cookie-modal .pm-modal-body { padding: 1rem 1.5rem; }
.pm-consent-option {
  padding: 1rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.pm-consent-option:last-child { border-bottom: none; }
.pm-consent-option-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  justify-content: space-between;
}
.pm-consent-option-info h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.25rem;
}
.pm-consent-option-info p {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}
/* Toggle switch */
.pm-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.pm-switch input { opacity: 0; width: 0; height: 0; }
.pm-switch-slider {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  border-radius: 34px;
  cursor: pointer;
  transition: background 0.2s;
}
.pm-switch-slider:before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.pm-switch input:checked + .pm-switch-slider { background: var(--primary); }
.pm-switch input:checked + .pm-switch-slider:before { transform: translateX(20px); }
.pm-switch input:disabled + .pm-switch-slider { opacity: 0.6; cursor: not-allowed; }
#pm-cookie-modal .pm-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  #pm-cookie-banner .pm-cb-inner { flex-direction: column; align-items: stretch; }
  #pm-cookie-banner .pm-cb-btns { flex-direction: column; }
  #pm-cookie-banner .pm-cb-btn { text-align: center; }
  #pm-cookie-modal .pm-modal-footer { flex-direction: column; }
}
