/*
Theme Name: TaniaKasa Premium
Theme URI: http://taniakasa.rzeszow.pl/
Description: Nowoczesny, szybki i responsywny motyw dla sklepu z urządzeniami fiskalnymi TaniaKasa Rzeszów.
Version: 1.0.0
Author: Antigravity
Author URI: https://taniefiskalne.pl
License: GNU General Public License v2 or later
Text Domain: taniakasa
*/

/* -------------------------------------------------------------
   SYSTEM PROJEKTOWY & RESET
   ------------------------------------------------------------- */
:root {
  /* Kolory - Ciemny motyw premium z zielonymi akcentami */
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: rgba(20, 30, 48, 0.75);
  --bg-card-hover: rgba(28, 41, 66, 0.9);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(16, 185, 129, 0.4);
  
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --accent-color: #10b981; /* Szmaragd / Fiscal Green */
  --accent-glow: rgba(16, 185, 129, 0.25);
  --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --accent-secondary: #f59e0b; /* Amber dla ostrzeżeń/wyróżnień */
  --accent-secondary-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 15px rgba(16, 185, 129, 0.35);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

/* -------------------------------------------------------------
   STRUKTURA & UKŁAD (LAYOUT)
   ------------------------------------------------------------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: border var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel:hover {
  border-color: var(--border-color-hover);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 0 10px rgba(16, 185, 129, 0.1);
}

/* Przycisk Premium */
.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

/* -------------------------------------------------------------
   NAGŁÓWEK (HEADER)
   ------------------------------------------------------------- */
.site-header {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: var(--text-secondary);
}

.header-info-group {
  display: flex;
  gap: 20px;
}

.header-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-info-item a:hover {
  color: var(--accent-color);
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #ffffff 50%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo-sub {
  color: var(--accent-color);
  font-weight: 900;
}

.main-nav {
  display: none;
}

@media (min-width: 992px) {
  .main-nav {
    display: block;
  }
  
  .nav-list {
    display: flex;
    gap: 30px;
    list-style: none;
  }
  
  .nav-link {
    font-weight: 600;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-fast);
  }
  
  .nav-link:hover {
    color: var(--accent-color);
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-icon-btn {
  position: relative;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.cart-icon-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--accent-color);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-gradient);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 5px rgba(16, 185, 129, 0.5);
}

/* -------------------------------------------------------------
   SEKCJA HERO
   ------------------------------------------------------------- */
.hero-section {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-tag {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--accent-color);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 60%, #9ca3af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  color: var(--accent-color);
  -webkit-text-fill-color: initial;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 54px;
  }
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

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

.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-color);
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.hero-image-container {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
  }
  .hero-image-container {
    display: flex;
  }
}

.hero-main-img {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
  animation: float 6s ease-in-out infinite;
}

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

.hero-img-backdrop {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--accent-color);
  filter: blur(130px);
  opacity: 0.15;
  border-radius: 50%;
  z-index: -1;
}

/* -------------------------------------------------------------
   WIDŻET / ZALETY (FEATURES)
   ------------------------------------------------------------- */
.features-section {
  padding: 40px 0;
  position: relative;
  z-index: 10;
}

.feature-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 30px;
  margin-top: -50px;
}

@media (min-width: 768px) {
  .feature-box {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-icon-wrapper {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--accent-color);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-info h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.feature-info p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* -------------------------------------------------------------
   KATALOG PRODUKTÓW
   ------------------------------------------------------------- */
.catalog-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 32px;
  margin-bottom: 12px;
}

.section-description {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* KATEGORIE FILTROWANIA */
.category-filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}

.filter-btn.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* KARTA PRODUKTU */
.product-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image-box {
  width: 100%;
  height: 200px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.03);
}

.product-image-box img {
  max-height: 160px;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-secondary-gradient);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.product-brand {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-title {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-specs {
  list-style: none;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-specs-item {
  display: flex;
  justify-content: space-between;
}

.product-price-box {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}

.price-netto {
  font-size: 24px;
  font-weight: 800;
  color: white;
}

.price-label {
  font-size: 11px;
  color: var(--text-muted);
}

.price-brutto {
  font-size: 14px;
  color: var(--text-secondary);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* -------------------------------------------------------------
   KALKULATOR ULGI (TAX CALCULATOR)
   ------------------------------------------------------------- */
.calculator-section {
  padding: 80px 0;
  background: radial-gradient(circle at 10% 70%, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
}

.calculator-wrapper {
  padding: 40px;
}

.calc-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .calc-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.calc-title {
  font-size: 28px;
  margin-bottom: 16px;
}

.calc-desc {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.calc-form-group {
  margin-bottom: 24px;
}

.calc-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.calc-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-range {
  width: 100%;
  accent-color: var(--accent-color);
  cursor: pointer;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
}

.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.calc-results-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.result-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.result-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.result-value {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.result-value.highlight {
  font-size: 32px;
  color: var(--accent-color);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

/* -------------------------------------------------------------
   KROK PO KROKU & FORMULARZ
   ------------------------------------------------------------- */
.process-section {
  padding: 80px 0;
}

.process-grid {
  display: grid;
  gap: 30px;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  padding: 30px;
  position: relative;
  height: 100%;
}

.step-num {
  font-size: 48px;
  font-weight: 900;
  color: rgba(16, 185, 129, 0.15);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 20px;
}

.process-step h3 {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* SEKCJA KONTAKTOWA */
.contact-section {
  padding: 80px 0;
  background: radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
}

.contact-layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 992px) {
  .contact-layout {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.contact-info-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-meta-item {
  display: flex;
  gap: 16px;
}

.contact-meta-icon {
  color: var(--accent-color);
  background: rgba(16, 185, 129, 0.08);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-meta-info h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-meta-info p {
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-form-card {
  padding: 40px;
}

.form-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.form-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.form-input {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: white;
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
  background: rgba(0, 0, 0, 0.3);
}

.form-checkbox-label {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-checkbox {
  accent-color: var(--accent-color);
  margin-top: 3px;
}

/* -------------------------------------------------------------
   KOSZYK (CART DRAWER / MODAL)
   ------------------------------------------------------------- */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  z-index: 2001;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
}

.cart-drawer.active {
  right: 0;
}

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-close-btn {
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.cart-close-btn:hover {
  background: rgba(255,255,255,0.1);
}

.cart-items-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty-message {
  text-align: center;
  color: var(--text-secondary);
  margin-top: 40px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-img {
  width: 64px;
  height: 64px;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-img img {
  max-height: 48px;
  object-fit: contain;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 13px;
  color: var(--accent-color);
  font-weight: 600;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.qty-control {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.qty-btn {
  padding: 2px 8px;
  cursor: pointer;
  background: rgba(255,255,255,0.02);
  font-weight: bold;
}

.qty-btn:hover {
  background: rgba(255,255,255,0.08);
}

.qty-val {
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
}

.remove-item-btn {
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}

.remove-item-btn:hover {
  color: var(--accent-secondary);
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.15);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
}

.cart-total-label {
  font-weight: 600;
}

.cart-total-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-color);
}

.cart-checkout-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* -------------------------------------------------------------
   STOPKA (FOOTER)
   ------------------------------------------------------------- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-logo-desc p {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.7;
}

.footer-col h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

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

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

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
}

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

.footer-contact-item i {
  color: var(--accent-color);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
   CIASTECZKA (COOKIES) & RODO MODAL
   ------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color-hover);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  display: none; /* Pokazywane przez JS */
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-content p a {
  color: var(--accent-color);
  text-decoration: underline;
  font-weight: 600;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
  .cookie-content p {
    margin-right: 24px;
  }
}

/* Polityka Prywatności Modal */
.privacy-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 4000;
  display: none; /* Pokazywane przez JS */
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.privacy-modal {
  width: 100%;
  max-width: 680px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color-hover);
  animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes zoomIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.privacy-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.privacy-modal-header h3 {
  font-size: 18px;
  color: #ffffff;
  margin: 0;
}

.privacy-close-btn {
  font-size: 28px;
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

.privacy-close-btn:hover {
  color: #ffffff;
}

.privacy-modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.privacy-modal-body h4 {
  color: #ffffff;
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 15px;
}

.privacy-modal-body p {
  margin-bottom: 14px;
}

