/* ==========================================================================
   ArtroFlex Polska - Portal Zdrowia Stawów i Profilaktyki Ruchowej
   Kompletny arkusz stylów zgodny ze standardami Google Ads & WCAG 2.1
   ========================================================================== */

:root {
  --primary: #0369a1;
  --primary-hover: #0284c7;
  --primary-dark: #0c4a6e;
  --primary-light: #e0f2fe;
  
  --secondary: #0d9488;
  --secondary-hover: #0f766e;
  --secondary-light: #ccfbf1;
  
  --accent-amber: #d97706;
  --accent-amber-light: #fef3c7;
  --accent-emerald: #059669;
  --accent-emerald-light: #d1fae5;
  --accent-rose: #e11d48;
  --accent-rose-light: #ffe4e6;
  --accent-indigo: #4f46e5;
  --accent-indigo-light: #e0e7ff;

  --dark-900: #0f172a;
  --dark-800: #1e293b;
  --dark-700: #334155;
  --dark-600: #475569;
  --muted: #64748b;
  --light-border: #e2e8f0;
  --light-bg: #f8fafc;
  --surface: #ffffff;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 16px 32px rgba(3, 105, 161, 0.14);

  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--light-bg);
  color: var(--dark-700);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Header Shared */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 9999px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark-900);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.96rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--dark-800);
  border: 1.5px solid var(--light-border);
}

.btn-secondary:hover {
  background-color: var(--light-bg);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   Top Notice Bar
   ========================================================================== */
.top-notice-bar {
  background-color: var(--dark-900);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-notice-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.live-indicator {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.top-phone-link {
  color: #38bdf8;
  font-weight: 600;
  margin-left: 4px;
}

.top-phone-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-900);
  line-height: 1.1;
}

.brand-title span {
  color: var(--primary);
}

.brand-subtitle {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dark-700);
  padding: 6px 2px;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background-color: var(--secondary);
  color: #ffffff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.nav-cta-btn:hover {
  background-color: var(--secondary-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-800);
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 60px 0 70px;
  background: linear-gradient(180deg, #f0f9ff 0%, var(--light-bg) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
  background-color: var(--primary-light);
  padding: 7px 16px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--dark-900);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.hero-lead {
  font-size: 1.12rem;
  color: var(--dark-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.highlight-box {
  background: #ffffff;
  padding: 16px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.highlight-num {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.highlight-label {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
  font-weight: 500;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.hero-main-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-floating-badge i {
  font-size: 1.8rem;
  color: var(--secondary);
}

.floating-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--dark-900);
}

.floating-text span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ==========================================================================
   Clinical & Anatomy Section
   ========================================================================== */
.clinical-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.clinical-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 50px;
}

.clinical-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-border);
}

.clinical-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.clinical-text h2 {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--dark-900);
  line-height: 1.3;
  margin-bottom: 18px;
}

.clinical-text p {
  color: var(--dark-600);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.clinical-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clinical-points-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--dark-700);
}

.clinical-points-list i {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.clinical-points-list strong {
  color: var(--dark-900);
}

/* ==========================================================================
   Interactive Self-Assessment Tool (Calculator)
   ========================================================================== */
.assessment-section {
  padding: 85px 0;
  background-color: var(--light-bg);
}

.assessment-shell {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
}

.assessment-header {
  background: linear-gradient(135deg, var(--dark-900) 0%, #1e293b 100%);
  color: #ffffff;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.assessment-header-title h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.assessment-header-title p {
  font-size: 0.88rem;
  color: #94a3b8;
}

.assessment-status-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #38bdf8;
}

.assessment-body {
  padding: 36px;
}

.symptom-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.symptom-choice-card {
  border: 2px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.symptom-choice-card:hover {
  border-color: #93c5fd;
  background-color: #f8fafc;
}

.symptom-choice-card.selected {
  border-color: var(--primary);
  background-color: #f0f9ff;
}

.symptom-check-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.symptom-choice-card.selected .symptom-check-box {
  background-color: var(--primary);
  border-color: var(--primary);
}

.symptom-choice-card.selected .symptom-check-box::after {
  content: '✓';
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.symptom-info strong {
  display: block;
  font-size: 0.96rem;
  color: var(--dark-900);
  margin-bottom: 4px;
}

.symptom-info span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Factors Range Sliders */
.additional-factors {
  background-color: #f8fafc;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 30px;
}

.additional-factors h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.factor-ranges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.factor-item label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.factor-item label strong {
  color: var(--primary);
  font-weight: 700;
}

.factor-item input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}

.factor-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Action Bar */
.assessment-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--light-border);
}

.assessment-privacy-note {
  font-size: 0.84rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Result Box */
.assessment-result-box {
  display: none;
  margin-top: 36px;
  padding: 30px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-lg);
  animation: fadeIn 0.4s ease;
}

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

.result-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.result-badge-col h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #14532d;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 6px;
}

.result-badge-col p {
  font-size: 0.92rem;
  color: #166534;
  line-height: 1.5;
  max-width: 620px;
}

.result-score-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.score-num {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--dark-900);
  line-height: 1;
}

.score-txt {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

.result-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}

.pillar-item {
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(22, 101, 52, 0.15);
}

.pillar-item strong {
  display: block;
  font-size: 0.84rem;
  color: var(--dark-900);
  margin-bottom: 4px;
}

.pillar-item p {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 32px;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background-color: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--primary);
  border-radius: 9999px;
  transition: width 0.6s ease;
}

.result-recommendation {
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--secondary);
  margin-bottom: 24px;
}

.result-recommendation h5 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: var(--dark-900);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-recommendation p {
  font-size: 0.88rem;
  color: var(--dark-700);
  line-height: 1.6;
}

.result-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Nutra / Ingredients Section
   ========================================================================== */
.nutra-section {
  padding: 85px 0;
  background-color: #ffffff;
}

.nutra-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.nutra-card {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.nutra-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.nutra-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.tag-blue { background-color: var(--primary-light); color: var(--primary-dark); }
.tag-teal { background-color: var(--secondary-light); color: var(--secondary-hover); }
.tag-purple { background-color: var(--accent-indigo-light); color: var(--accent-indigo); }
.tag-amber { background-color: var(--accent-amber-light); color: var(--accent-amber); }
.tag-emerald { background-color: var(--accent-emerald-light); color: var(--accent-emerald); }
.tag-rose { background-color: var(--accent-rose-light); color: var(--accent-rose); }

.nutra-card h3 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 10px;
}

.nutra-card p {
  font-size: 0.9rem;
  color: var(--dark-600);
  line-height: 1.6;
  margin-bottom: 18px;
}

.nutra-mechanism {
  padding-top: 14px;
  border-top: 1px dashed var(--light-border);
  font-size: 0.82rem;
  color: var(--dark-700);
  line-height: 1.45;
}

.nutra-mechanism strong {
  color: var(--primary-dark);
}

.nutra-showcase-banner {
  background: linear-gradient(135deg, var(--dark-900) 0%, #1e293b 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.nutra-showcase-text {
  padding: 44px;
  color: #ffffff;
}

.nutra-showcase-text h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.nutra-showcase-text p {
  color: #94a3b8;
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.nutra-banner-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* ==========================================================================
   Physiotherapy Tips Section
   ========================================================================== */
.tips-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tip-card {
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.tip-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.tip-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.tip-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 8px;
}

.tip-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 85px 0;
  background-color: #ffffff;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: #93c5fd;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}

.faq-question i {
  font-size: 0.9rem;
  color: var(--muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 0.93rem;
  color: var(--dark-600);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Footer & Legal Compliance (Google Ads Crucial)
   ========================================================================== */
.site-footer {
  background-color: var(--dark-900);
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid #1e293b;
  font-size: 0.88rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 36px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.86rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 3px;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.contact-info-list i {
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 3px;
}

.contact-info-list strong {
  color: #ffffff;
}

/* Google Ads Healthcare Disclaimer Box */
.policy-disclaimer-box {
  background-color: rgba(15, 23, 42, 0.8);
  border: 1px solid #334155;
  border-left: 4px solid #f59e0b;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 36px;
}

.policy-disclaimer-box h5 {
  font-family: var(--font-heading);
  color: #fbbf24;
  font-size: 0.92rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-disclaimer-box p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  font-size: 0.78rem;
  color: #64748b;
}

/* ==========================================================================
   GDPR Cookie Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 18px 0;
  z-index: 9999;
  border-top: 1px solid #334155;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  display: block;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-content p {
  font-size: 0.84rem;
  color: #cbd5e1;
  max-width: 820px;
  line-height: 1.5;
}

.btn-cookie-accept {
  padding: 9px 24px;
  background-color: var(--secondary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-cookie-accept:hover {
  background-color: var(--secondary-hover);
}

/* ==========================================================================
   Static Pages (O nas, Artykuły, Kontakt, Polityki)
   ========================================================================== */
.page-hero {
  padding: 55px 0 45px;
  background: linear-gradient(180deg, #f0f9ff 0%, var(--light-bg) 100%);
  border-bottom: 1px solid var(--light-border);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--dark-900);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 720px;
}

.page-content-section {
  padding: 60px 0 80px;
  background-color: #ffffff;
}

.content-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.content-card h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--dark-900);
  margin: 28px 0 14px;
}

.content-card h2:first-of-type {
  margin-top: 0;
}

.content-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--dark-800);
  margin: 20px 0 10px;
}

.content-card p {
  margin-bottom: 16px;
  color: var(--dark-600);
  line-height: 1.7;
}

.content-card ul, .content-card ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--dark-600);
  line-height: 1.65;
}

.content-card li {
  margin-bottom: 8px;
}

/* Contact Page Specific */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info-panel {
  background: #f8fafc;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

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

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

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--dark-800);
  transition: border-color 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15);
}

.form-alert {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.form-alert.success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: block;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

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

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.article-date {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 10px;
  line-height: 1.35;
}

.article-body p {
  font-size: 0.88rem;
  color: var(--dark-600);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-btn-group {
    justify-content: center;
  }
  .clinical-grid {
    grid-template-columns: 1fr;
  }
  .nutra-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nutra-showcase-banner {
    grid-template-columns: 1fr;
  }
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .result-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  .nav-list {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--light-border);
    gap: 16px;
  }
  .nav-list.active {
    display: flex;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-highlights {
    grid-template-columns: 1fr;
  }
  .symptom-cards-grid {
    grid-template-columns: 1fr;
  }
  .factor-ranges-grid {
    grid-template-columns: 1fr;
  }
  .nutra-cards-grid {
    grid-template-columns: 1fr;
  }
  .tips-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .result-pillars {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .top-notice-inner {
    flex-direction: column;
    text-align: center;
  }
}
