/* ==========================================================================
   MansLiv - Premium Svensk Webbplats för Manlig Vitalitet & Livsstil
   Skandinavisk design, fullt responsiv och optimerad för Google Ads
   ========================================================================== */

:root {
  --primary: #0f2820;
  --primary-dark: #091713;
  --primary-light: #1b4537;
  --primary-subtle: #e8f0ed;
  --accent: #c89b3c;
  --accent-hover: #b0852e;
  --accent-light: #fdf6e7;
  --accent-glow: rgba(200, 155, 60, 0.25);
  --text-main: #192421;
  --text-muted: #50615c;
  --text-light: #7e918b;
  --text-on-dark: #f2f7f5;
  --bg-page: #f9fbfb;
  --bg-card: #ffffff;
  --bg-dark: #0a1713;
  --bg-subtle: #f1f5f3;
  --border-color: #dfe7e3;
  --border-dark: #1b382e;
  --success: #1e7e48;
  --shadow-sm: 0 2px 8px rgba(15, 40, 32, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 40, 32, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 40, 32, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

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

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

/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section {
  padding: 5rem 0;
}

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

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

.section-dark .text-muted {
  color: #9eb5ac;
}

.section-subtle {
  background-color: var(--bg-subtle);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background-color: var(--primary-subtle);
  color: var(--primary-light);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-dark .section-tag {
  background-color: rgba(200, 155, 60, 0.15);
  color: #ebd292;
  border: 1px solid rgba(200, 155, 60, 0.3);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 1rem auto 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: center;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

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

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #b88a29 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #dbab47 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 155, 60, 0.4);
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-outline-white:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 1.15rem 2.2rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.topbar {
  background-color: var(--primary-dark);
  color: #c0d1ca;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-info {
  display: flex;
  gap: 1.5rem;
}

.topbar-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #ebd292;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo-badge {
  background: var(--accent);
  color: #ffffff;
  font-size: 0.65rem;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.4rem 0;
  position: relative;
}

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

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 992px) {
  .mobile-toggle { display: block; }
  .topbar-info { display: none; }
  
  .nav-menu {
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .nav-menu.is-active {
    display: flex;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #091713 0%, #123026 50%, #0d221b 100%);
  color: var(--text-on-dark);
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 155, 60, 0.12) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f0f7f4;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-title {
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #b5cdc4;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-coach-quote {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  backdrop-filter: blur(6px);
}

.hero-coach-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.hero-coach-text {
  font-size: 0.9rem;
  color: #d1e2db;
  font-style: italic;
}

.hero-coach-author {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ebd292;
  font-style: normal;
  margin-top: 0.2rem;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-product-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 170px;
  border-radius: var(--radius-md);
  border: 2px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 992px) {
  .hero-product-float {
    display: none;
  }
}

/* ==========================================================================
   Certificates Strip
   ========================================================================== */
.cert-strip {
  background-color: #ffffff;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.cert-item:hover {
  background-color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cert-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--accent);
}

.cert-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

.cert-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

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

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

/* ==========================================================================
   Feature Cards & Pillars
   ========================================================================== */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 155, 60, 0.4);
}

.pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(200, 155, 60, 0.2);
  line-height: 1;
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.pillar-title {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.pillar-list {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.pillar-list li {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pillar-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
}

/* ==========================================================================
   Interactive Vitality Test (Quiz)
   ========================================================================== */
.quiz-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}

.quiz-progress-bar {
  height: 6px;
  background-color: var(--border-color);
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transition: width 0.3s ease;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.quiz-question {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quiz-option-btn {
  background-color: var(--bg-subtle);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-option-btn:hover {
  border-color: var(--primary);
  background-color: #ffffff;
  transform: translateX(4px);
}

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

.quiz-result-box {
  text-align: center;
  padding: 1rem 0;
}

.score-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 25px rgba(15, 40, 32, 0.25);
  border: 4px solid var(--accent);
}

.score-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.score-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ebd292;
}

/* ==========================================================================
   Interactive Routine Switcher Tabs
   ========================================================================== */
.routine-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.routine-tab-btn {
  padding: 0.75rem 1.6rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.routine-tab-btn.active, .routine-tab-btn:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.routine-pane {
  display: none;
}

.routine-pane.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  animation: fadeIn 0.3s ease;
}

@media (max-width: 992px) {
  .routine-pane.active {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Ingredients Grid
   ========================================================================== */
.ingredient-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.ingredient-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.ingredient-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.8rem;
}

.ingredient-latin {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
}

.ingredient-tag {
  background-color: var(--primary-subtle);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.8rem;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-question {
  width: 100%;
  padding: 1.3rem 1.6rem;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--accent);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 1.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 1.6rem 1.4rem 1.6rem;
}

/* ==========================================================================
   Lead Order Form (bestall.html)
   ========================================================================== */
.lead-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-subtle);
}

.form-input.is-invalid {
  border-color: #d93838;
  background-color: #fff8f8;
}

.form-error {
  color: #d93838;
  font-size: 0.8rem;
  margin-top: 0.4rem;
  display: none;
}

.form-input.is-invalid + .form-error {
  display: block;
}

.form-consent {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 1.2rem 0 1.8rem;
}

.form-trust-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   Thank You Page (tack.html)
   ========================================================================== */
.thank-you-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.success-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #eaf7ee;
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.thank-you-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
  text-align: left;
}

.thank-step-card {
  background-color: var(--bg-subtle);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.thank-step-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

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

/* ==========================================================================
   Rich Content / Article Pages
   ========================================================================== */
.article-content {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-sm);
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-subtle);
}

.article-content h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}

.article-content p {
  margin-bottom: 1.4rem;
  color: #2b3a36;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-callout {
  background-color: var(--primary-subtle);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

.article-callout h4 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .article-content {
    padding: 1.8rem;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: #9cb3aa;
  padding: 5rem 0 2rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  position: relative;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a:hover {
  color: #ebd292;
  padding-left: 4px;
}

.footer-disclaimer-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #88a398;
}

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

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   Cookie Consent Banner & Modal
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(10, 23, 19, 0.98);
  color: #ffffff;
  padding: 1.2rem 0;
  z-index: 1000;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(200, 155, 60, 0.3);
  display: none;
  backdrop-filter: blur(10px);
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-text {
  font-size: 0.88rem;
  color: #c4d8d0;
  max-width: 750px;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions .btn {
    flex: 1;
  }
}

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

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
