/* ==========================================================================
   STYLE CSS - NIEZALEŻNY PRZEWODNIK PO KUCHNI VIKINGA
   Wsparcie dla motywu JASNEGO (DOMYŚLNY) oraz CIEMNEGO z płynnym przełączaniem
   ========================================================================== */

/* --------------------------------------------------------------------------
   ZMIENNE MOTYWU - JASNY (DOMYŚLNY)
   -------------------------------------------------------------------------- */
:root {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-card-border: #e2e8f0;
  --bg-subtle: #f8fafc;
  --bg-darker: #0f172a;
  
  --color-primary: #f59e0b;
  --color-primary-light: #fbbf24;
  --color-primary-dark: #d97706;
  --color-primary-text: #92400e;
  --color-primary-glow: rgba(245, 158, 11, 0.15);
  --color-primary-bg: #fffbeb;
  
  --color-accent-green: #059669;
  --color-accent-green-bg: #ecfdf5;
  --color-accent-red: #dc2626;
  --color-accent-red-bg: #fef2f2;
  
  --text-main: #1e293b;
  --text-heading: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Cabinet Grotesk', 'Inter', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 14px -1px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 12px 30px -4px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.2);
  
  --transition: all 0.2s ease-in-out;
}

/* --------------------------------------------------------------------------
   ZMIENNE MOTYWU - CIEMNY (DARK MODE)
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
  --bg-main: #0a0b0e;
  --bg-surface: #12141c;
  --bg-card: #12141c;
  --bg-card-hover: #181b26;
  --bg-card-border: #222634;
  --bg-subtle: #171924;
  --bg-darker: #050608;
  
  --color-primary: #f59e0b;
  --color-primary-light: #fbbf24;
  --color-primary-dark: #d97706;
  --color-primary-text: #fbbf24;
  --color-primary-glow: rgba(245, 158, 11, 0.25);
  --color-primary-bg: rgba(245, 158, 11, 0.12);
  
  --color-accent-green: #10b981;
  --color-accent-green-bg: rgba(16, 185, 129, 0.15);
  --color-accent-red: #ef4444;
  --color-accent-red-bg: rgba(239, 68, 68, 0.15);
  
  --text-main: #f3f4f6;
  --text-heading: #ffffff;
  --text-muted: #9ca3af;
  --text-subtle: #6b7280;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.35);
}

/* --------------------------------------------------------------------------
   RESET & BAZA
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   TOP VERIFICATION BAR (Świeżość oferty)
   -------------------------------------------------------------------------- */
.top-verify-bar {
  background: var(--bg-darker);
  color: #e2e8f0;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.verify-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.verify-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.verify-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite;
}

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

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--bg-card-border);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

[data-theme="dark"] .site-header {
  background: rgba(18, 20, 28, 0.92);
  backdrop-filter: blur(14px);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: -0.5px;
}

.logo-badge {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #000;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

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

[data-theme="dark"] .nav-link:hover {
  color: var(--color-primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--bg-card-border);
  color: var(--text-heading);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}

.theme-toggle-btn:hover {
  background: var(--color-primary-bg);
  border-color: var(--color-primary);
  transform: rotate(15deg);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-heading);
  cursor: pointer;
  padding: 8px;
}

.mobile-nav-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--bg-card-border);
  padding: 20px;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}

.mobile-nav-panel.open {
  display: flex;
}

/* --------------------------------------------------------------------------
   TYPOGRAFIA & PRZYCISKI
   -------------------------------------------------------------------------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary-bg);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--color-primary-text);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

[data-theme="dark"] .section-tag {
  color: var(--color-primary-light);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-heading);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-title .highlight {
  color: var(--color-primary-dark);
}

[data-theme="dark"] .section-title .highlight {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #000;
  font-weight: 800;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-heading);
  border: 1px solid var(--bg-card-border);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.05rem;
}

.btn-pulse {
  animation: pulse-btn 2.5s infinite;
}

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  50% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 50px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--text-heading);
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

/* Voucher / Promo Card */
.voucher-card {
  background: var(--bg-surface);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .voucher-card {
  background: linear-gradient(145deg, #151722, #10121a);
}

.voucher-header {
  text-align: center;
  margin-bottom: 20px;
}

.discount-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.voucher-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.voucher-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.coupon-box {
  background: var(--bg-subtle);
  border: 2px dashed rgba(245, 158, 11, 0.7);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0;
  cursor: pointer;
  transition: var(--transition);
}

.coupon-box:hover {
  background: var(--color-primary-bg);
  border-color: var(--color-primary-dark);
}

.coupon-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 700;
}

.coupon-code {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--color-primary-dark);
  font-family: monospace;
}

[data-theme="dark"] .coupon-code {
  color: var(--color-primary-light);
}

.copy-button {
  background: var(--color-primary);
  color: #000;
  border: none;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

/* --------------------------------------------------------------------------
   SEKCJA "W 60 SEKUND" & BOX DECYZYJNY "CZY WARTO?"
   -------------------------------------------------------------------------- */
.section {
  padding: 65px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-card-border);
  border-bottom: 1px solid var(--bg-card-border);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.fact-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.fact-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
}

.fact-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.fact-title {
  font-size: 0.85rem;
  color: var(--text-subtle);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.fact-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
}

/* Box decyzyjny */
.decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 35px;
}

.decision-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--bg-card-border);
  box-shadow: var(--shadow-sm);
}

.decision-card.good {
  border-top: 4px solid var(--color-accent-green);
}

.decision-card.caution {
  border-top: 4px solid var(--color-primary);
}

.decision-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.decision-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.94rem;
}

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

/* --------------------------------------------------------------------------
   INTERAKTYWNY QUIZ & KALKULATOR KOSZTU
   -------------------------------------------------------------------------- */
.interactive-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 35px;
}

.tool-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
}

.tool-card h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.tool-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* Form Controls */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.form-select, .form-input {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-heading);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-select:focus, .form-input:focus {
  border-color: var(--color-primary);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.cost-result-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
  border: 1px solid var(--bg-card-border);
}

.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.92rem;
}

.cost-total {
  border-top: 1px solid var(--bg-card-border);
  margin-top: 8px;
  padding-top: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

[data-theme="dark"] .cost-total {
  color: var(--color-primary-light);
}

/* --------------------------------------------------------------------------
   TABELA PORÓWNAWCZA DIET
   -------------------------------------------------------------------------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-top: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--bg-card-border);
  box-shadow: var(--shadow-sm);
  background: var(--bg-surface);
}

.diet-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.diet-table th {
  background: var(--bg-subtle);
  padding: 14px 18px;
  font-weight: 800;
  color: var(--text-heading);
  border-bottom: 1px solid var(--bg-card-border);
}

.diet-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--bg-card-border);
  color: var(--text-main);
}

.diet-table tr:last-child td {
  border-bottom: none;
}

.diet-table tr:hover td {
  background: var(--bg-card-hover);
}

/* --------------------------------------------------------------------------
   PRAWDZIWE OPINIE (TRUSTINDEX & RECENZJE)
   -------------------------------------------------------------------------- */
.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 600px;
  margin: 30px auto;
  box-shadow: var(--shadow-sm);
}

.trust-score {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  line-height: 1;
}

[data-theme="dark"] .trust-score {
  color: var(--color-primary-light);
}

.stars {
  color: #f59e0b;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.review-card.praises {
  border-left: 4px solid var(--color-accent-green);
}

.review-card.complaints {
  border-left: 4px solid var(--color-accent-red);
}

/* --------------------------------------------------------------------------
   STREFY DOSTAW (WYSZUKIWARKA MIAST)
   -------------------------------------------------------------------------- */
.delivery-checker {
  max-width: 650px;
  margin: 30px auto 0;
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.city-search-box {
  display: flex;
  gap: 10px;
  margin: 20px 0 14px;
}

.city-result {
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}

.city-result.active {
  display: block;
}

.city-result.success {
  background: var(--color-accent-green-bg);
  color: var(--color-accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* --------------------------------------------------------------------------
   ARTYKUŁY BLOGOWE & KLASTY TEMATYCZNE
   -------------------------------------------------------------------------- */
.cluster-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.cluster-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.cluster-tab-btn.active, .cluster-tab-btn:hover {
  background: var(--color-primary-bg);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

[data-theme="dark"] .cluster-tab-btn.active {
  color: var(--color-primary-light);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.article-thumb {
  height: 140px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.article-thumb-icon {
  font-size: 2.8rem;
}

.article-cat {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: var(--bg-surface);
  color: var(--color-primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--bg-card-border);
}

[data-theme="dark"] .article-cat {
  color: var(--color-primary-light);
}

.article-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-bottom: 8px;
}

.article-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 8px;
}

.article-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

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

/* --------------------------------------------------------------------------
   FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin: 35px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--color-primary);
}

.faq-question {
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: var(--transition);
  color: var(--color-primary-dark);
  flex-shrink: 0;
}

[data-theme="dark"] .faq-icon {
  color: var(--color-primary-light);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 18px;
}

/* --------------------------------------------------------------------------
   STICKY BAR & TOAST
   -------------------------------------------------------------------------- */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-top: 2px solid var(--color-primary);
  padding: 10px 0;
  z-index: 99;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-bar.visible {
  transform: translateY(0);
}

.sticky-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-code-badge {
  background: var(--bg-subtle);
  border: 1px dashed var(--color-primary);
  color: var(--color-primary-dark);
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

[data-theme="dark"] .sticky-code-badge {
  color: var(--color-primary-light);
}

.sticky-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--bg-surface);
  border: 1px solid var(--color-primary);
  color: var(--text-heading);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.toast.show {
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-darker);
  color: #94a3b8;
  padding: 50px 0 90px;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-brand h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 800;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
}

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

.footer-links a:hover {
  color: #fbbf24;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   STRONA ARTYKUŁU (ARTICLE.HTML)
   -------------------------------------------------------------------------- */
.article-page {
  padding: 40px 0 70px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
}

.article-content {
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.article-content h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 16px;
}

.article-content h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 30px 0 12px;
}

.article-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 20px 0 10px;
}

[data-theme="dark"] .article-content h3 {
  color: var(--color-primary-light);
}

.article-content p {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.article-content ul, .article-content ol {
  margin: 16px 0 16px 20px;
  color: var(--text-main);
}

.article-content li {
  margin-bottom: 6px;
}

.article-sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   RESPONSYWNOŚĆ
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid, .interactive-container, .article-layout, .decision-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .sticky-info {
    display: none;
  }
  .sticky-content {
    justify-content: center;
  }
  .sticky-actions {
    width: 100%;
    justify-content: center;
  }
}
