/* ==========================================================================
   ELONHAVU NORDIC BIO-LABS OY — LONHA VITALITY SUPPLEMENT
   Nordic Boreal Dark Editorial & High-Converting CPA Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Nordic Boreal Dark Theme Palette */
  --bg-primary: #091016;
  --bg-secondary: #0E1922;
  --bg-surface: #13212E;
  --bg-surface-elevated: #182938;
  --bg-glass: rgba(19, 33, 46, 0.78);
  
  /* Brand Accents (Matched to LONHA packaging & Finnish Pine) */
  --accent-copper: #D48C56;
  --accent-copper-light: #E8AC7A;
  --accent-copper-dark: #A66534;
  --accent-cobalt: #1E4276;
  --accent-emerald: #2A7B5C;
  --accent-emerald-light: #38A179;
  
  /* Typography Colors (WCAG AA/AAA Compliant on Dark) */
  --text-primary: #F3F7FA;
  --text-secondary: #B0C0CF;
  --text-muted: #788C9E;
  --text-dark: #091016;
  
  /* Borders & Hairlines */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-copper: rgba(212, 140, 86, 0.32);
  --border-focus: #E8AC7A;
  
  /* Status Colors */
  --status-error: #F87171;
  --status-error-bg: rgba(248, 113, 113, 0.12);
  --status-success: #34D399;
  --status-success-bg: rgba(52, 211, 153, 0.12);
  --status-warn: #FBBF24;
  
  /* Shape & Elevation */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-ambient: 0 20px 50px rgba(3, 8, 12, 0.65);
  --shadow-copper: 0 10px 30px rgba(212, 140, 86, 0.22);
  
  /* Typography Families */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/*View Transitions API support for smooth multi-page navigation*/
@view-transition {
  navigation: auto;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 12% 18%, rgba(30, 66, 118, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 88% 35%, rgba(212, 140, 86, 0.09) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(42, 123, 92, 0.10) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-out-expo), opacity 0.25s var(--ease-out-expo);
}

ul {
  list-style: none;
}

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

@media (min-width: 1024px) {
  .section {
    padding: 6.5rem 0;
  }
}

.section-alt {
  background-color: rgba(14, 25, 34, 0.75);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-copper-light);
  background: rgba(212, 140, 86, 0.1);
  border: 1px solid var(--border-copper);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 65ch;
  line-height: 1.65;
}

.copper-text {
  background: linear-gradient(135deg, #F3C69F 0%, #D48C56 60%, #B36A36 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   1. FIXED HEADER (Strict Single-Line Navigation, white-space: nowrap)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 74px;
  background: rgba(9, 16, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

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

.main-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }
}

.nav-link {
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--accent-copper);
  border-radius: 2px;
}

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

.header-hours-badge {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-secondary);
  background: rgba(42, 123, 92, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.28);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .header-hours-badge {
    display: inline-flex;
  }
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--status-success);
  box-shadow: 0 0 8px var(--status-success);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.2); }
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-copper);
  padding: 1rem 1.25rem 1.5rem;
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.mobile-nav-list .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   BUTTONS & CTAs (Strict Single-Line & High Contrast)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: transform 0.2s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo), background 0.25s ease;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn-primary {
  background: linear-gradient(135deg, #E5A46D 0%, #C87A42 100%);
  color: #081017;
  box-shadow: var(--shadow-copper);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #EEB27F 0%, #D48850 100%);
  box-shadow: 0 12px 35px rgba(212, 140, 86, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-copper);
}

.btn-secondary:hover {
  background: rgba(212, 140, 86, 0.14);
  border-color: var(--accent-copper-light);
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 1.9rem;
  font-size: 1.02rem;
}

/* ==========================================================================
   2. HERO SECTION (Split Editorial Layout, Fits Viewport)
   ========================================================================== */

.hero-section {
  padding: 2.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 4rem 0 5.5rem;
    min-height: calc(100dvh - 74px);
    display: flex;
    align-items: center;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 3.5rem;
  }
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  color: var(--text-secondary);
  margin-bottom: 1.65rem;
  max-width: 58ch;
}

.hero-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-bullets {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: rgba(19, 33, 46, 0.65);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-primary);
}

.hero-bullet-icon {
  color: var(--accent-copper-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Hero Visual Composition (Runner + Product Showcase Card) */
.hero-visual-wrap {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-copper);
  box-shadow: var(--shadow-ambient);
  aspect-ratio: 16 / 11;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.01);
  transition: transform 0.7s var(--ease-out-expo);
}

.hero-photo-frame:hover img {
  transform: scale(1.04);
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,16,22,0.05) 40%, rgba(9,16,22,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.hero-photo-caption {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 62%;
}

.hero-photo-caption strong {
  color: var(--text-primary);
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.hero-product-floating {
  position: relative;
  margin-top: 1rem;
  background: rgba(14, 25, 34, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-ambient);
}

@media (min-width: 640px) {
  .hero-product-floating {
    position: absolute;
    bottom: -1.5rem;
    right: -1rem;
    margin-top: 0;
    max-width: 310px;
  }
}

.hero-product-floating img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  flex-shrink: 0;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 18px rgba(212, 140, 86, 0.28));
  transition: transform 0.4s var(--ease-out-expo), filter 0.4s ease;
}

.hero-product-floating:hover img {
  transform: translateY(-4px) scale(1.05);
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 24px rgba(212, 140, 86, 0.45));
}

.hero-product-meta h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.hero-product-meta p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.hero-product-tag {
  display: inline-block;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-copper-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   STORY & EDITORIAL NARRATIVE SECTION (40+ Vitality & Forest Harmony)
   ========================================================================== */

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
  }
}

.story-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-ambient);
  position: relative;
}

.story-quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-copper-light);
  margin-bottom: 1rem;
}

.story-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.story-card p {
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
  font-size: 0.98rem;
}

.story-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.pillar-box {
  background: rgba(19, 33, 46, 0.55);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-copper);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.pillar-box:hover {
  background: var(--bg-surface);
  transform: translateX(4px);
}

.pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.pillar-header h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pillar-dosage {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-copper-light);
  background: rgba(212, 140, 86, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.pillar-box p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   3. MICRO-ENGAGEMENTS (Quiz, 20-20-20 Timer, Before/After Slider)
   ========================================================================== */

.interactive-suite-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .interactive-suite-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.widget-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-ambient);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .widget-card {
    padding: 2.25rem;
  }
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.widget-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-copper-light);
}

/* 3A. Quiz Styling */
.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-copper), var(--accent-emerald-light));
  width: 25%;
  transition: width 0.35s var(--ease-out-expo);
}

.quiz-question-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

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

.quiz-option-btn {
  width: 100%;
  text-align: left;
  background: rgba(9, 16, 22, 0.65);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.quiz-option-btn:hover {
  border-color: var(--accent-copper);
  background: rgba(212, 140, 86, 0.1);
  transform: translateX(3px);
}

.quiz-result-box {
  background: rgba(42, 123, 92, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.quiz-score-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--status-success);
  background: rgba(52, 211, 153, 0.14);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* 3B. Circle Progress Timer (20-20-20 Focus & Micro-Pause) */
.timer-display-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 1rem 0;
}

.timer-svg-container {
  position: relative;
  width: 176px;
  height: 176px;
  margin-bottom: 1.15rem;
}

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

.timer-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}

.timer-circle-progress {
  fill: none;
  stroke: var(--accent-copper);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.95s linear, stroke 0.3s ease;
}

.timer-readout {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.timer-seconds {
  font-family: var(--font-mono);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.timer-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.timer-phase-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  min-height: 2.8em;
  margin-bottom: 1rem;
}

.timer-controls {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

/* 3C. Before / After Interactive Comparison Slider */
.comparison-card {
  margin-top: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-ambient);
}

@media (min-width: 768px) {
  .comparison-card {
    padding: 2.25rem;
  }
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}

@media (min-width: 1024px) {
  .comparison-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.slider-stage {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-copper);
  user-select: none;
}

.slider-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slider-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fatigued / Overloaded visual simulation ("Ennen") */
.slider-before {
  filter: grayscale(68%) contrast(82%) brightness(68%) blur(1.2px);
}

/* Restored / Balanced ("Jälkeen") clipped by range value */
.slider-after {
  clip-path: inset(0 0 0 50%);
}

.slider-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--accent-copper-light);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.slider-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-copper-light);
  color: var(--accent-copper-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.65);
  pointer-events: none;
}

.slider-badge {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  pointer-events: none;
}

.slider-badge-before {
  left: 1rem;
  background: rgba(9, 16, 22, 0.85);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.slider-badge-after {
  right: 1rem;
  background: rgba(212, 140, 86, 0.92);
  color: #081017;
}

.comparison-range-control {
  margin-top: 1rem;
}

.comparison-range-control label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.range-input {
  width: 100%;
  accent-color: var(--accent-copper);
  cursor: ew-resize;
}

.comparison-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.metric-item {
  background: rgba(9, 16, 22, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}

.metric-item-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.metric-bar-track {
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-copper), var(--status-success));
  border-radius: 999px;
  transition: width 0.2s ease;
}

/* ==========================================================================
   4. CERTIFICATES & QUALITY STANDARDS (4 Interactive Cards + Modal)
   ========================================================================== */

.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

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

@media (min-width: 1024px) {
  .cert-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cert-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out-expo), border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-primary);
  font-family: var(--font-sans);
}

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

.cert-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(212, 140, 86, 0.12);
  border: 1px solid var(--border-copper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-copper-light);
  margin-bottom: 1.15rem;
}

.cert-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-copper-light);
  margin-bottom: 0.35rem;
}

.cert-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cert-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.cert-action-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-copper-light);
}

/* Native HTML5 Dialog / Modal for Certificates */
.cert-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4, 9, 14, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.cert-modal-backdrop.active {
  display: flex;
}

.cert-modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--accent-copper);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 2rem;
  box-shadow: var(--shadow-ambient);
  position: relative;
  animation: modalSlideIn 0.25s var(--ease-out-expo);
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cert-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-modal-close:hover {
  color: var(--text-primary);
  border-color: var(--accent-copper);
}

.cert-modal-meta {
  background: rgba(9, 16, 22, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin: 1.25rem 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: grid;
  gap: 0.45rem;
}

/* ==========================================================================
   5. OFFER & CONSULTATION SECTION (Dedicated Page & Gateway Banner)
   ========================================================================== */

.offer-gateway-banner {
  background: linear-gradient(135deg, #102030 0%, #16293B 55%, #1E322B 100%);
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-ambient);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .offer-gateway-banner {
    grid-template-columns: 0.35fr 0.65fr;
    padding: 3rem;
  }
}

.offer-product-frame {
  position: relative;
  background: radial-gradient(circle at 50% 45%, rgba(212, 140, 86, 0.22) 0%, rgba(30, 66, 118, 0.18) 48%, transparent 72%);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 310px;
  margin: 0 auto;
  isolation: isolate;
}

.offer-product-frame::before {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(212, 140, 86, 0.35);
  animation: slowSpinRing 28s linear infinite;
  z-index: -1;
  pointer-events: none;
}

.offer-product-frame::after {
  content: '';
  position: absolute;
  bottom: 8px;
  width: 68%;
  height: 18px;
  background: radial-gradient(ellipse at center, rgba(212, 140, 86, 0.42) 0%, transparent 75%);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}

@keyframes slowSpinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.offer-product-frame img {
  max-height: 265px;
  width: auto;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.78)) drop-shadow(0 0 26px rgba(212, 140, 86, 0.26));
  animation: productFloat 5.5s ease-in-out infinite;
}

@keyframes productFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-0.8deg); }
}

/* Dedicated Consultation Form Layout (tilaus.html) */
.consultation-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .consultation-layout {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
  }
}

.offer-showcase-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.offer-steps-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.offer-step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(9, 16, 22, 0.55);
  border: 1px solid var(--border-subtle);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(212, 140, 86, 0.18);
  border: 1px solid var(--accent-copper);
  color: var(--accent-copper-light);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Form Container & Strict Validation */
.lead-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-ambient);
}

@media (min-width: 768px) {
  .lead-form-card {
    padding: 2.5rem;
  }
}

.cc-schedule-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(42, 123, 92, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.86rem;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 1.35rem;
}

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

.form-label span.sub-label {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 0.35rem;
}

.form-input {
  width: 100%;
  background: #081017;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
  color: #64788B;
}

.form-input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(212, 140, 86, 0.2);
}

.form-input.input-error {
  border-color: var(--status-error);
  background: var(--status-error-bg);
}

.form-input.input-valid {
  border-color: var(--status-success);
}

.field-feedback {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.4;
  min-height: 1.25rem;
}

.field-feedback.error {
  color: var(--status-error);
  font-weight: 600;
}

.field-feedback.valid {
  color: var(--status-success);
}

.field-feedback.hint {
  color: var(--text-muted);
}

.trust-badges-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .trust-badges-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(9, 16, 22, 0.5);
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.trust-badge-item svg {
  color: var(--accent-copper-light);
  flex-shrink: 0;
}

/* ==========================================================================
   6. FAQ ACCORDION & GOOGLE MAP SECTION
   ========================================================================== */

.faq-list {
  display: grid;
  gap: 0.9rem;
  max-width: 880px;
  margin: 2rem auto 0;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--accent-copper);
}

.faq-question {
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-primary);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212, 140, 86, 0.12);
  border: 1px solid var(--border-copper);
  color: var(--accent-copper-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease;
}

.faq-icon svg {
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  background: rgba(212, 140, 86, 0.25);
  border-color: var(--accent-copper);
}

.faq-answer {
  padding: 0 1.5rem 1.35rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

/* Location & Google Map Card */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .location-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.location-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.address-details-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.address-row {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.address-row strong {
  color: var(--text-primary);
  display: block;
}

.map-frame-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-copper);
  min-height: 340px;
  background: var(--bg-secondary);
}

.map-frame-card iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

/* ==========================================================================
   7. FOOTER, LEGAL & COOKIE BANNER
   ========================================================================== */

.site-footer {
  background: #060B0F;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.85fr 0.85fr;
  }
}

.footer-heading {
  font-size: 0.88rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-copper-light);
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

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

.footer-links a:hover {
  color: var(--accent-copper-light);
}

.ads-disclaimer-box {
  background: rgba(19, 33, 46, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 620px;
  background: rgba(14, 25, 34, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  z-index: 1500;
  box-shadow: var(--shadow-ambient);
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ==========================================================================
   LEGAL & DOCUMENT PAGES (politics, publicoffer, warranty, certificate, etc.)
   ========================================================================== */

.doc-shell {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-ambient);
}

@media (min-width: 768px) {
  .doc-shell {
    padding: 3rem;
  }
}

.doc-shell h1 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.doc-shell h2 {
  font-size: 1.25rem;
  color: var(--accent-copper-light);
  margin: 1.85rem 0 0.75rem;
}

.doc-shell p, .doc-shell li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.doc-shell ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   PAGE TRANSITIONS, SCROLL REVEALS & INTERACTIVE AURORA GLOW
   ========================================================================== */

@keyframes pageEnterReveal {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.992);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

main {
  animation: pageEnterReveal 0.65s var(--ease-out-expo) forwards;
  will-change: transform, opacity, filter;
}

body.page-is-leaving main {
  opacity: 0;
  transform: translateY(-14px) scale(0.99);
  filter: blur(5px);
  transition: opacity 0.28s ease, transform 0.28s ease, filter 0.28s ease;
}

/* Top Copper Progress Bar on Tab Switch */
.page-transition-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 3000;
  background: linear-gradient(90deg, #E8AC7A 0%, #D48C56 50%, #34D399 100%);
  box-shadow: 0 0 16px rgba(212, 140, 86, 0.85);
  transition: width 0.32s var(--ease-out-expo), opacity 0.25s ease;
  pointer-events: none;
}

.page-transition-bar.active {
  width: 100%;
}

/* Scroll-Reveal Stagger Elements */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Interactive Spotlight Card Glow */
.story-card,
.widget-card,
.cert-card,
.lead-form-card,
.offer-showcase-panel,
.pillar-box {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.story-card::after,
.widget-card::after,
.cert-card::after,
.lead-form-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    480px circle at var(--mouse-x, 50%) var(--mouse-y, -200px),
    rgba(212, 140, 86, 0.11),
    transparent 45%
  );
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.story-card > *,
.widget-card > *,
.cert-card > *,
.lead-form-card > * {
  position: relative;
  z-index: 1;
}

/* Enhanced Navigation Tab Pill Transitions */
.nav-link {
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(212, 140, 86, 0.16), rgba(42, 123, 92, 0.12));
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out-expo);
  z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
  opacity: 1;
  transform: scale(1);
}

.coa-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.88rem;
}

.coa-table th, .coa-table td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.coa-table th {
  background: rgba(9, 16, 22, 0.75);
  color: var(--accent-copper-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}
