/* ==========================================================================
   Miehen Elämä - Päätyylitiedosto (Master Stylesheet)
   Väripaletti: Syvä metsänvihreä, kultainen meripihka, lämmin hiekka & antrasiitti
   ========================================================================== */

:root {
  /* Väripaletti */
  --bg-main: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #F3EFEA;
  --bg-dark: #111A15;
  --bg-dark-surface: #18261F;
  --bg-dark-card: #1F3027;

  --forest-900: #0C1510;
  --forest-800: #14231B;
  --forest-700: #1D3428;
  --forest-600: #274536;
  --forest-500: #345B47;
  
  --gold-500: #D4AF37;
  --gold-600: #BF9B27;
  --gold-700: #9E7D17;
  --gold-light: #F7E7B4;
  --gold-subtle: rgba(212, 175, 55, 0.12);

  --text-primary: #17211B;
  --text-secondary: #4D5C54;
  --text-muted: #75857D;
  --text-inverse: #F5F7F6;
  --text-inverse-muted: #A3B5AC;

  --border-light: #E5DFD5;
  --border-dark: #2A3F33;
  --border-gold: rgba(212, 175, 55, 0.35);

  --success: #2E7D32;
  --info: #0288D1;
  --warning: #ED6C02;

  /* Typografia */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Varjot */
  --shadow-sm: 0 2px 8px rgba(17, 26, 21, 0.05);
  --shadow-md: 0 8px 24px rgba(17, 26, 21, 0.08);
  --shadow-lg: 0 16px 40px rgba(17, 26, 21, 0.12);
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.22);

  /* Pyöristykset */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Siirtymät */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Nollaus & Perusasetukset */
*, *::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-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  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: color var(--transition-fast);
}

ul, ol {
  list-style-position: inside;
}

/* Säiliö (Container) */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Typografia-apuohjelmat */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-weight: 500;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  background: var(--gold-subtle);
  color: var(--forest-800);
  border: 1px solid var(--border-gold);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-500);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

/* Painikkeet */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  color: var(--forest-900);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-600) 0%, var(--gold-700) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(191, 155, 39, 0.35);
}

.btn-secondary {
  background: var(--forest-700);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--forest-600);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--forest-700);
  background: rgba(29, 52, 40, 0.05);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-500);
  border: 2px solid var(--gold-500);
}

.btn-outline-gold:hover {
  background: var(--gold-500);
  color: var(--forest-900);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* Ylätunniste & Navigaatio */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(17, 26, 21, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  padding: 16px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest-900);
  font-weight: 900;
  font-size: 1.2rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-inverse);
  letter-spacing: -0.01em;
}

.logo-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-500);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-inverse-muted);
  position: relative;
  padding: 6px 0;
}

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

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-inverse);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px;
}

/* Yläpalkki / Disclaimer-ilmoitus */
.top-notice-bar {
  background: var(--forest-900);
  color: var(--text-inverse-muted);
  font-size: 0.78rem;
  padding: 8px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-notice-bar strong {
  color: var(--gold-500);
}

/* Hero-osio */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--forest-900) 0%, var(--forest-800) 50%, var(--forest-700) 100%);
  color: var(--text-inverse);
  padding: 80px 0 100px;
  overflow: hidden;
}

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

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

.hero-content h1 {
  color: var(--text-inverse);
  margin-top: 16px;
}

.hero-content h1 span {
  color: var(--gold-500);
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--text-inverse-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

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

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-inverse);
  font-weight: 600;
}

.hero-feature-icon {
  width: 24px;
  height: 24px;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-500);
  color: var(--gold-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  border: 2px solid var(--border-dark);
}

.hero-image-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-coach-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(17, 26, 21, 0.88);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
}

.hero-coach-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-inverse);
}

.hero-coach-meta {
  font-size: 0.85rem;
  color: var(--gold-500);
}

/* Osiot (Sections) */
.section {
  padding: 90px 0;
}

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

.section-dark h2, .section-dark h3 {
  color: var(--text-inverse);
}

.section-dark p {
  color: var(--text-inverse-muted);
}

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

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-header p {
  font-size: 1.15rem;
}

/* Tarinakortti (Isän ja pojan tarina) */
.story-highlight-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.story-quote-box {
  background: var(--bg-surface-alt);
  border-left: 4px solid var(--gold-500);
  padding: 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-primary);
}

/* 4 Pilaria / Ominaisuudet Ruudukko */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}

.pillar-icon {
  width: 54px;
  height: 54px;
  background: var(--gold-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-600);
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Interaktiivinen Elinvoima- ja Energiatesti */
.quiz-wrapper {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  max-width: 840px;
  margin: 0 auto;
}

.quiz-header {
  text-align: center;
  margin-bottom: 36px;
}

.quiz-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 20px;
}

.quiz-progress-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-500));
  transition: width 0.4s ease;
}

.quiz-step {
  display: none;
}

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

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

.quiz-question-title {
  font-size: 1.4rem;
  color: var(--text-inverse);
  margin-bottom: 24px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-dark-card);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-inverse);
  font-weight: 600;
}

.quiz-option:hover {
  border-color: var(--gold-500);
  background: rgba(212, 175, 55, 0.08);
}

.quiz-option.selected {
  border-color: var(--gold-500);
  background: rgba(212, 175, 55, 0.15);
}

.quiz-option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-dark);
  position: relative;
  flex-shrink: 0;
}

.quiz-option.selected .quiz-option-radio {
  border-color: var(--gold-500);
}

.quiz-option.selected .quiz-option-radio::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gold-500);
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Quiz Result UI */
.quiz-result-box {
  text-align: center;
  padding: 20px 0;
}

.score-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 6px solid var(--gold-500);
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark-card);
}

.score-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold-500);
  line-height: 1;
}

.score-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-inverse-muted);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.result-recommendation-list {
  text-align: left;
  background: var(--bg-dark-card);
  padding: 24px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  list-style: none;
}

.result-recommendation-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-inverse);
  font-size: 0.95rem;
}

.result-recommendation-list li:last-child {
  margin-bottom: 0;
}

.result-icon {
  color: var(--gold-500);
  font-weight: bold;
}

/* Sertifikaattiruudukko (Certificates Grid) */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: transform var(--transition-normal);
}

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

.cert-badge-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: var(--forest-900);
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  font-size: 1.5rem;
  font-weight: 900;
}

.cert-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.cert-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Artikkelikortit (Blog Cards) */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

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

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

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.article-card h3 a:hover {
  color: var(--forest-700);
}

.article-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--forest-700);
}

.article-read-more:hover {
  color: var(--gold-600);
}

/* UKK / Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

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

.faq-icon {
  font-size: 1.4rem;
  transition: transform var(--transition-fast);
  color: var(--gold-600);
}

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

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

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

/* Tuote & Liidilomake-sivu (tuote.html) */
.product-page-hero {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--forest-900) 0%, var(--bg-main) 100%);
}

.product-order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.product-showcase-box {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.product-image-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
}

.product-image-frame img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.product-specs-list {
  list-style: none;
  margin: 20px 0;
}

.product-specs-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.lead-form-box {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold-500);
  position: sticky;
  top: 100px;
}

.form-header {
  margin-bottom: 24px;
  text-align: center;
}

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

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

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: var(--font-sans);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-main);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--forest-700);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(29, 52, 40, 0.1);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  margin-bottom: 20px;
}

.form-checkbox-label input {
  margin-top: 3px;
}

.form-security-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Kiitossivu (kiitos.html) */
.thankyou-wrapper {
  max-width: 680px;
  margin: 60px auto;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--forest-700);
  color: var(--gold-500);
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.thankyou-steps {
  text-align: left;
  margin: 32px 0;
  background: var(--bg-surface-alt);
  padding: 24px;
  border-radius: var(--radius-md);
}

.thankyou-step-item {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.thankyou-step-item:last-child {
  margin-bottom: 0;
}

.thankyou-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--forest-700);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

/* Lakisivut & Artikkelisivut (Editorial Layout) */
.article-layout {
  padding: 60px 0 90px;
}

.article-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 30px;
}

.article-content {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #27342D;
}

.article-content h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--forest-900);
}

.article-content h3 {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 14px;
}

.article-content p {
  margin-bottom: 20px;
  color: #384A40;
}

.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 20px;
}

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

.article-callout {
  background: var(--bg-surface-alt);
  border-left: 4px solid var(--forest-700);
  padding: 24px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
}

.article-callout.gold {
  border-left-color: var(--gold-500);
  background: rgba(212, 175, 55, 0.08);
}

.author-bio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 60px;
}

.author-bio-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--gold-500);
}

/* Alatunniste (Footer & Disclaimers) */
.site-footer {
  background-color: var(--forest-900);
  color: var(--text-inverse-muted);
  padding: 70px 0 30px;
  border-top: 1px solid var(--border-dark);
}

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

.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-inverse-muted);
  margin: 16px 0;
}

.footer-col h4 {
  color: var(--text-inverse);
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

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

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-inverse-muted);
}

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

.footer-disclaimer-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 20px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #8C9E94;
  margin-bottom: 30px;
}

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

/* Evästepalkki (GDPR Cookie Banner) */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 580px;
  background: var(--forest-900);
  color: var(--text-inverse);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
  animation: slideUp 0.4s ease;
}

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

.cookie-content h4 {
  color: var(--gold-500);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.cookie-content p {
  font-size: 0.85rem;
  color: var(--text-inverse-muted);
  margin-bottom: 16px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Laskurit (Calculators) */
.calculator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  margin: 40px 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.calc-result-display {
  background: var(--forest-900);
  color: var(--text-inverse);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 20px;
  display: none;
}

.calc-result-display.show {
  display: block;
}

/* Responsiivisuus (Media Queries) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-image-card img {
    height: 420px;
  }

  .pillars-grid, .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-order-grid {
    grid-template-columns: 1fr;
  }

  .story-highlight-card {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--forest-900);
    flex-direction: column;
    padding: 30px 24px;
    border-bottom: 1px solid var(--border-dark);
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 16px;
    text-align: center;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .pillars-grid, .cert-grid, .article-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quiz-wrapper {
    padding: 28px 20px;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }
}
