/* ==========================================================================
   VIGOR - Natural Chaga Mushroom Extract | Premium Editorial Theme
   Palette: Warm Amber / Gold / Warm Cream / Rich Slate
   ========================================================================== */

:root {
  --primary: #d97706;
  --primary-hover: #b45309;
  --primary-light: #f59e0b;
  --primary-soft: #fef3c7;
  --primary-ultrasoft: #fffbeb;
  --accent-gold: #f59e0b;
  --accent-dark: #78350f;
  
  --dark: #0f172a;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  
  --bg-page: #fffdf9;
  --bg-card: #ffffff;
  --bg-alt: #fef9ed;
  
  --success: #15803d;
  --success-bg: #dcfce7;
  --warning: #b45309;
  --warning-bg: #fef3c7;
  --danger: #b91c1c;
  --danger-bg: #fee2e2;

  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(217, 119, 6, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-gold: 0 10px 25px -5px rgba(217, 119, 6, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--slate-800);
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: 860px;
}

/* Typography Helpers */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-gold { color: var(--primary); }
.text-muted { color: var(--slate-500); }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

/* Section Header */
.section-header {
  margin-bottom: 40px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: var(--primary-soft);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid rgba(217, 119, 6, 0.2);
}
.section-title {
  font-size: 2.1rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.08rem;
  color: var(--slate-600);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 119, 6, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.92;
}

.brand-logo img {
  height: 40px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 8px 6px;
  position: relative;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 6px;
  right: 6px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 9999px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.22);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-header-cta:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.32);
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-size: 1.4rem;
  background: var(--primary-soft);
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 2px solid var(--primary);
  padding: 20px;
  box-shadow: var(--shadow-xl);
  z-index: 999;
}

.mobile-nav-drawer.open {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-drawer .nav-link {
  font-size: 1.05rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--slate-100);
}

/* ==========================================================================
   HERO / EDITORIAL BLOG HOOK
   ========================================================================== */
.hero-editorial {
  padding-top: 110px;
  padding-bottom: 50px;
  background: radial-gradient(circle at 10% 10%, rgba(254, 243, 199, 0.45) 0%, rgba(255, 253, 249, 1) 70%);
}

.editorial-header-card {
  background: var(--bg-card);
  border: 1px solid rgba(217, 119, 6, 0.18);
  border-radius: var(--radius-xl);
  padding: 34px 30px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 36px;
}

.editorial-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--slate-500);
}

.meta-tag {
  background: var(--primary-soft);
  color: var(--accent-dark);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.editorial-headline {
  font-size: 2.3rem;
  line-height: 1.25;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.editorial-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--slate-700);
  margin-bottom: 24px;
}

.author-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
}

.author-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.author-info h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* Two Column Editorial Grid */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

.article-content {
  background: var(--bg-card);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--slate-700);
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-top: 28px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.article-content p {
  margin-bottom: 18px;
}

.article-quote-box {
  background: var(--primary-ultrasoft);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 26px 0;
  font-style: italic;
  font-size: 1.06rem;
  color: var(--accent-dark);
}

.article-photo-card {
  margin: 26px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.article-photo-card img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
}

.article-photo-caption {
  background: #f8fafc;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--slate-500);
  text-align: center;
  border-top: 1px solid var(--slate-200);
}

/* Sticky Sidebar Hook */
.sidebar-hook {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quick-offer-card {
  background: linear-gradient(180deg, #ffffff 0%, #fffbf2 100%);
  border: 2px solid #fcd34d;
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-gold);
  text-align: center;
}

.quick-offer-badge {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.quick-offer-img {
  max-height: 220px;
  margin: 0 auto 16px;
  filter: drop-shadow(0 10px 12px rgba(217, 119, 6, 0.2));
  transition: transform 0.3s ease;
}

.quick-offer-img:hover {
  transform: scale(1.03);
}

.quick-offer-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.quick-offer-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 16px;
  line-height: 1.5;
}

.quick-offer-specs {
  list-style: none;
  text-align: left;
  margin-bottom: 20px;
  font-size: 0.84rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-offer-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate-700);
}

.quick-offer-specs li svg {
  flex-shrink: 0;
  color: var(--primary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.45);
  background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
}

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

.quick-offer-sub {
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-top: 10px;
}

/* ==========================================================================
   MICRO-ENGAGEMENTS: QUIZ, WIDGET, SLIDER, ACCORDION
   ========================================================================== */
.section-engagements {
  padding: 70px 0;
  background: var(--bg-alt);
  border-top: 1px solid rgba(217, 119, 6, 0.15);
  border-bottom: 1px solid rgba(217, 119, 6, 0.15);
}

.engagement-block {
  background: var(--bg-card);
  border: 1px solid rgba(217, 119, 6, 0.2);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

/* 1. QUIZ COMPONENT */
.quiz-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.quiz-progress-bar {
  height: 8px;
  background: var(--slate-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 24px;
}

.quiz-progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #f59e0b, #d97706);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.quiz-step-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.quiz-question-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-opt-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--slate-800);
  text-align: left;
  transition: all 0.2s ease;
}

.quiz-opt-btn:hover {
  background: var(--primary-ultrasoft);
  border-color: var(--primary-light);
  transform: translateX(4px);
}

.quiz-opt-btn.selected {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--accent-dark);
}

.quiz-result-box {
  display: none;
  text-align: center;
  padding: 20px 10px;
}

.quiz-score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 900;
  margin-bottom: 16px;
  box-shadow: var(--shadow-gold);
}

.quiz-result-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.quiz-result-desc {
  font-size: 0.98rem;
  color: var(--slate-600);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* 2. TIMER / ROUTINE WIDGET */
.timer-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
}

.timer-visual-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.timer-visual {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 auto;
}

.timer-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.timer-circle-bg {
  fill: none;
  stroke: var(--slate-200);
  stroke-width: 10;
}

.timer-circle-progress {
  fill: none;
  stroke: url(#timerGrad);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 565.48;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.5s linear;
}

.timer-display {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.timer-digits {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1;
}

.timer-sublabel {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.timer-phase-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: var(--primary-soft);
  color: var(--accent-dark);
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.12);
  min-height: 38px;
  max-width: 270px;
  line-height: 1.35;
  transition: all 0.3s ease;
}

.timer-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.timer-info p {
  font-size: 0.96rem;
  color: var(--slate-600);
  margin-bottom: 18px;
  line-height: 1.6;
}

.timer-controls {
  display: flex;
  gap: 12px;
}

.btn-timer {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-timer-start {
  background: var(--primary);
  color: #ffffff;
}
.btn-timer-start:hover {
  background: var(--primary-hover);
}

.btn-timer-reset {
  background: var(--slate-100);
  color: var(--slate-700);
}
.btn-timer-reset:hover {
  background: var(--slate-200);
}

/* 3. BEFORE / AFTER COMPARISON SLIDER */
.slider-container {
  max-width: 820px;
  margin: 0 auto;
}

.comparison-box {
  position: relative;
  width: 100%;
  min-height: 320px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.comparison-side {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.comparison-side.before {
  background: #f8fafc;
  border-right: 1px dashed var(--slate-300);
}

.comparison-side.after {
  background: linear-gradient(135deg, #fffdf8 0%, #fef3c7 100%);
}

.comparison-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
  width: fit-content;
}

.comparison-tag.tag-before {
  background: #e2e8f0;
  color: #475569;
}

.comparison-tag.tag-after {
  background: #d97706;
  color: #ffffff;
}

.comparison-side h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.comparison-side.before h4 { color: #334155; }
.comparison-side.after h4 { color: #78350f; }

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* 4. INGREDIENTS ACCORDION / TABS */
.ingredients-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.accordion-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.08);
}

.accordion-header {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
}

.accordion-item.active .accordion-header {
  background: var(--primary-ultrasoft);
  color: var(--accent-dark);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-700);
  font-weight: 700;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #ffffff;
}

.accordion-body {
  display: none;
  padding: 20px 22px;
  background: #ffffff;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--slate-700);
  border-top: 1px solid rgba(217, 119, 6, 0.1);
}

.accordion-item.active .accordion-body {
  display: block;
}

/* ==========================================================================
   CERTIFICATES & QUALITY STANDARDS
   ========================================================================== */
.section-certificates {
  padding: 70px 0;
  background: #ffffff;
}

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

.cert-card {
  background: var(--bg-page);
  border: 1.5px solid rgba(217, 119, 6, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

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

.cert-icon-wrapper {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: var(--accent-dark);
  font-size: 1.5rem;
}

.cert-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.cert-code {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.cert-desc {
  font-size: 0.82rem;
  color: var(--slate-600);
  line-height: 1.45;
  margin-bottom: 12px;
}

.cert-btn-view {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--primary-soft);
  animation: modalPop 0.25s ease-out;
}

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

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 1.2rem;
}

.modal-close-btn:hover {
  background: var(--slate-200);
}

.modal-header-badge {
  background: var(--primary-soft);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  display: inline-block;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.modal-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--slate-700);
  margin-bottom: 20px;
}

.modal-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.modal-specs-table th,
.modal-specs-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--slate-100);
}

.modal-specs-table th {
  color: var(--slate-500);
  font-weight: 600;
  width: 40%;
}

.modal-specs-table td {
  color: var(--dark);
  font-weight: 700;
}

/* ==========================================================================
   OFFER & CONSULTATION FORM SECTION
   ========================================================================== */
.section-offer {
  padding: 80px 0;
  background: radial-gradient(circle at 90% 10%, #fef3c7 0%, #fffdf9 70%);
  position: relative;
}

.offer-card {
  background: #ffffff;
  border: 2px solid #f59e0b;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-gold);
  padding: 40px;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.offer-visual-col {
  text-align: center;
}

.offer-product-img {
  max-width: 340px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 15px 20px rgba(217, 119, 6, 0.25));
  border-radius: var(--radius-md);
}

.offer-callcenter-notice {
  background: var(--primary-ultrasoft);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.offer-form-col h3 {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 8px;
}

.offer-form-col .form-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 24px;
  line-height: 1.5;
}

.offer-benefits-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--slate-700);
}

.offer-benefits-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.offer-benefits-list svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Form Elements */
.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-label {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--slate-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-label span.req {
  color: #dc2626;
  font-weight: 900;
  margin-left: 2px;
}

.form-input {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 2px solid #94a3b8; /* Clearly visible, high-contrast border */
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: inherit;
  color: #0f172a;
  background: #f8fafc; /* Subtle contrast against white card */
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.form-input::placeholder {
  color: #64748b;
  font-weight: 500;
  opacity: 0.9;
}

.form-input:hover {
  border-color: #64748b;
  background: #ffffff;
}

.form-input:focus {
  outline: none;
  border-color: #d97706;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.22), inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.form-input.input-error {
  border-color: #dc2626;
  background-color: #fef2f2;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.18);
}

.form-input.input-valid {
  border-color: #16a34a;
  background-color: #f0fdf4;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}

/* Phone input warning & validation badge */
.phone-feedback {
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
  transition: all 0.2s ease;
}

.phone-feedback.warning {
  color: #991b1b;
  background: #fee2e2;
  border: 1.5px solid #f87171;
}

.phone-feedback.success {
  color: #166534;
  background: #dcfce7;
  border: 1.5px solid #4ade80;
}

.phone-feedback.phone-hint {
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
}

.phone-hint {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}

.btn-submit-order {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.btn-submit-order:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.45);
}

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

.trust-badges-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.trust-badge-item svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.trust-badge-item span {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--slate-600);
  line-height: 1.3;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.section-faq {
  padding: 70px 0;
  background: var(--bg-page);
}

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

/* ==========================================================================
   FOOTER & LEGAL
   ========================================================================== */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 60px 0 30px;
  font-size: 0.88rem;
  border-top: 3px solid var(--primary);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: 12px;
}

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

.footer-links a {
  color: var(--slate-400);
  transition: color 0.2s ease;
}

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

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--slate-400);
  margin-bottom: 30px;
}

.footer-disclaimer-box strong {
  color: #f59e0b;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

/* ==========================================================================
   DEDICATED SUBPAGE TEMPLATES (STORY, INGREDIENTS, CERTIFICATES, ETC.)
   ========================================================================== */
.subpage-hero {
  padding-top: 120px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, #fffbeb 0%, #fffdf9 100%);
  border-bottom: 1px solid rgba(217, 119, 6, 0.15);
  margin-bottom: 40px;
}

.subpage-content-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
}

.subpage-content-card h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--dark);
  margin-top: 28px;
  margin-bottom: 14px;
}

.subpage-content-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-top: 22px;
  margin-bottom: 10px;
}

.subpage-content-card p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--slate-700);
  margin-bottom: 18px;
}

.subpage-content-card ul {
  margin-left: 24px;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--slate-700);
}

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

/* Table styling for CoA and specs */
.data-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

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

.data-table th,
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--slate-200);
}

.data-table th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--dark);
}

.data-table tr:hover td {
  background: var(--primary-ultrasoft);
}

.badge-pass {
  display: inline-block;
  padding: 3px 8px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
}

/* ==========================================================================
   THANK YOU PAGE (koszonjuk.html)
   ========================================================================== */
.thankyou-wrapper {
  padding-top: 130px;
  padding-bottom: 70px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.thankyou-card {
  background: #ffffff;
  border: 2px solid #f59e0b;
  border-radius: var(--radius-xl);
  padding: 46px 40px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.thankyou-icon {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-gold);
}

.order-code-banner {
  background: var(--primary-soft);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  margin: 20px 0;
  display: inline-block;
  font-size: 1.1rem;
  color: var(--accent-dark);
}

.order-code-banner strong {
  font-size: 1.3rem;
  color: var(--dark);
}

.thankyou-steps {
  text-align: left;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thankyou-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  background: var(--slate-900);
  color: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner.show {
  display: flex;
}

.cookie-text {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--slate-200);
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  padding: 8px 16px;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.2s ease;
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .editorial-grid {
    grid-template-columns: 1fr;
  }
  .sidebar-hook {
    position: static;
    max-width: 540px;
    margin: 0 auto;
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .editorial-headline {
    font-size: 1.75rem;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .offer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .timer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .timer-controls {
    justify-content: center;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .comparison-side.before {
    border-right: none;
    border-bottom: 1px dashed var(--slate-300);
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .article-content {
    padding: 24px 18px;
  }
  .offer-card {
    padding: 24px 18px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .trust-badges-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .btn-header-cta {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}
