/* ==========================================================================
   BOHEM Restorative & Vitality — Dark Premium UI Stylesheet (Czech Republic)
   Theme: Deep Midnight Slate, Bohemia Teal & Amber Gold
   ========================================================================== */

:root {
  --bg-main: #080E1A;
  --bg-secondary: #0E1729;
  --bg-card: #131F36;
  --bg-card-hover: #192946;
  --bg-glass: rgba(14, 23, 41, 0.88);
  
  --text-main: #F3F6FA;
  --text-muted: #9BA9C2;
  --text-dim: #697894;
  
  --accent-gold: #E5A93C;
  --accent-gold-light: #F7C96E;
  --accent-gold-dark: #BA8018;
  
  --accent-teal: #12A8B8;
  --accent-teal-light: #35C9D8;
  --accent-teal-glow: rgba(18, 168, 184, 0.22);
  --accent-gold-glow: rgba(229, 169, 60, 0.25);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(229, 169, 60, 0.35);
  --border-teal: rgba(18, 168, 184, 0.35);
  
  --danger: #EF4444;
  --success: #10B981;
  --warning: #F59E0B;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  
  --shadow-card: 0 18px 40px -12px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 35px rgba(18, 168, 184, 0.2);
  --shadow-gold: 0 10px 28px -6px rgba(229, 169, 60, 0.35);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(18, 168, 184, 0.09) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(229, 169, 60, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(18, 168, 184, 0.06) 0%, transparent 50%);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-teal-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-gold-light);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   HEADER & NAVIGATION (Strict white-space: nowrap)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 8px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

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

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #FFFFFF 0%, var(--accent-gold-light) 60%, var(--accent-teal-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  white-space: nowrap;
  padding: 8px 13px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: var(--accent-gold-light);
  background: rgba(229, 169, 60, 0.1);
  border-color: rgba(229, 169, 60, 0.25);
}

.header-cta {
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #080E1A;
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.header-cta:hover {
  transform: translateY(-2px);
  color: #080E1A;
  filter: brightness(1.08);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #080E1A;
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: #080E1A;
  box-shadow: 0 14px 32px -4px rgba(229, 169, 60, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(18, 168, 184, 0.14);
  border: 1px solid var(--border-teal);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(18, 168, 184, 0.25);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-teal-light);
  background: rgba(18, 168, 184, 0.12);
  border: 1px solid rgba(18, 168, 184, 0.3);
  margin-bottom: 16px;
}

.section-badge.gold {
  color: var(--accent-gold-light);
  background: rgba(229, 169, 60, 0.12);
  border-color: rgba(229, 169, 60, 0.3);
}

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

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-main);
}

.section-title span {
  background: linear-gradient(90deg, var(--accent-gold-light), var(--accent-teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
}

section {
  padding: 72px 0;
  position: relative;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}

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

.hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: linear-gradient(90deg, var(--accent-gold-light) 0%, var(--accent-teal-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-bullets {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-main);
  background: rgba(19, 31, 54, 0.7);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.hero-bullets li svg {
  width: 22px;
  height: 22px;
  color: var(--accent-gold-light);
  flex-shrink: 0;
  margin-top: 2px;
}

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

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-stage {
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(18, 168, 184, 0.22) 0%, rgba(19, 31, 54, 0.9) 70%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  text-align: center;
  width: 100%;
}

.product-stage img {
  max-width: 320px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.55));
  border-radius: var(--radius-md);
  transition: transform 0.4s ease;
}

.product-stage:hover img {
  transform: scale(1.03);
}

.floating-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.pill-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(8, 14, 26, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--accent-gold-light);
}

/* ==========================================================================
   STORY / EDITORIAL PREVIEW & FULL PAGE
   ========================================================================== */
.story-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
}

.story-image-wrap {
  position: relative;
  min-height: 480px;
  background: #0a1220;
  overflow: hidden;
}

.story-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.story-card:hover .story-image-wrap img {
  transform: scale(1.03);
}

.story-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.05) 0%, rgba(8, 14, 26, 0.25) 50%, rgba(8, 14, 26, 0.88) 100%);
  pointer-events: none;
}

.story-caption-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(8, 14, 26, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 169, 60, 0.35);
  border-left: 4px solid var(--accent-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.story-caption-badge strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.story-caption-badge span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.story-content {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--accent-gold-light);
  margin: 18px 0;
  padding-left: 18px;
  border-left: 3px solid var(--accent-teal);
}

.story-text p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ==========================================================================
   MICRO-ENGAGEMENTS (Quiz, 20-20-20 Timer, Before/After Slider)
   ========================================================================== */
.interactive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.widget-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

/* QUIZ */
.quiz-progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 24px;
}

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

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

.quiz-question-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.quiz-options {
  display: grid;
  gap: 12px;
}

.quiz-option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.quiz-option-btn:hover {
  background: rgba(18, 168, 184, 0.12);
  border-color: var(--accent-teal);
  transform: translateX(4px);
}

.quiz-result-box {
  display: none;
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(18, 168, 184, 0.09);
  border: 1px solid var(--border-teal);
}

.quiz-score-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--accent-gold);
  color: #080E1A;
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

/* 20-20-20 INTERACTIVE BIO-TRAINER & BREATH SIMULATOR */
.timer-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.timer-mode-btn {
  padding: 10px 16px;
  border-radius: 50px;
  background: rgba(8, 14, 26, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.timer-mode-btn:hover {
  color: var(--text-main);
  border-color: var(--border-teal);
}

.timer-mode-btn.active {
  background: rgba(18, 168, 184, 0.16);
  border-color: var(--accent-teal-light);
  color: #FFFFFF;
  box-shadow: 0 0 18px rgba(18, 168, 184, 0.25);
}

.timer-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: center;
}

.timer-circle-wrap {
  position: relative;
  width: 230px;
  height: 230px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breath-aura {
  position: absolute;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 168, 184, 0.28) 0%, rgba(229, 169, 60, 0.08) 70%, transparent 100%);
  transition: transform 2.2s ease-in-out, opacity 1s ease;
  pointer-events: none;
  transform: scale(0.92);
  opacity: 0.65;
}

.breath-aura.inhale {
  transform: scale(1.26);
  opacity: 1;
}

.breath-aura.hold {
  transform: scale(1.18);
  opacity: 0.9;
}

.breath-aura.exhale {
  transform: scale(0.84);
  opacity: 0.55;
}

.timer-svg {
  transform: rotate(-90deg);
  width: 230px;
  height: 230px;
  position: relative;
  z-index: 2;
}

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

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

.timer-center-text {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.timer-seconds {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  line-height: 1;
}

.timer-unit {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 6px;
}

.timer-phase-pill {
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(18, 168, 184, 0.18);
  border: 1px solid rgba(18, 168, 184, 0.35);
  color: var(--accent-teal-light);
}

.trainer-phases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.phase-step-card {
  background: rgba(8, 14, 26, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.8rem;
  transition: var(--transition);
}

.phase-step-card strong {
  display: block;
  color: var(--text-main);
  font-size: 0.84rem;
  margin-bottom: 2px;
}

.phase-step-card span {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.phase-step-card.active {
  border-color: var(--accent-gold);
  background: rgba(229, 169, 60, 0.14);
  transform: translateY(-2px);
}

.phase-step-card.done {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.08);
}

.trainer-live-hud {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 14, 26, 0.82);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.hud-stat {
  display: flex;
  flex-direction: column;
}

.hud-stat-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.hud-stat-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-gold-light);
}

/* BEFORE / AFTER COMFORT SLIDER */
.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.slider-control-wrap {
  margin-top: 20px;
}

.comfort-range {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 10px;
  border-radius: 50px;
  background: linear-gradient(90deg, #3b4861 0%, var(--accent-teal) 50%, var(--accent-gold) 100%);
  outline: none;
  cursor: pointer;
}

.comfort-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 4px solid var(--accent-gold);
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
  cursor: pointer;
}

.metrics-bars {
  display: grid;
  gap: 16px;
}

.metric-item {
  background: rgba(8, 14, 26, 0.6);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.metric-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.metric-bar-bg {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-gold-light));
  border-radius: 50px;
  transition: width 0.25s ease;
}

/* ==========================================================================
   CERTIFICATES & STANDARDS (4 Interactive Cards + Modal)
   ========================================================================== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

.cert-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(229, 169, 60, 0.12);
  border: 1px solid rgba(229, 169, 60, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold-light);
  margin-bottom: 18px;
}

.cert-code {
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--accent-teal-light);
  background: rgba(18, 168, 184, 0.12);
  padding: 4px 10px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 10px;
}

.cert-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cert-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cert-action {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* MODAL */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 16, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-window {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-card);
  animation: modalFadeIn 0.25s ease;
}

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

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ==========================================================================
   OFFER & CONSULTATION FORM (Dedicated Offer Page + Consultation Box)
   ========================================================================== */
.offer-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.offer-info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.consultation-status-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.order-form-card {
  background: linear-gradient(160deg, #15233D 0%, #0D172A 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

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

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

.form-input {
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(8, 14, 26, 0.9);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1.05rem;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(229, 169, 60, 0.2);
}

.form-input.input-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

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

.field-feedback {
  font-size: 0.84rem;
  margin-top: 7px;
  min-height: 20px;
  font-weight: 500;
}

.field-feedback.error {
  color: #FCA5A5;
}

.field-feedback.valid {
  color: #6EE7B7;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}

.trust-badge-item {
  text-align: center;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.trust-badge-item strong {
  display: block;
  color: var(--text-main);
  font-size: 0.82rem;
  margin-bottom: 2px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

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

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

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(229, 169, 60, 0.12);
  color: var(--accent-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-content-inner {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.96rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 14px;
}

/* ==========================================================================
   GOOGLE MAP & FOOTER
   ========================================================================== */
.map-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.map-details {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-frame {
  min-height: 380px;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.site-footer {
  margin-top: auto;
  background: #050911;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 36px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.footer-title {
  color: var(--text-main);
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  line-height: 1.55;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 960px;
  margin: 0 auto;
  background: rgba(14, 23, 41, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 3000;
  box-shadow: var(--shadow-card);
}

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

/* ==========================================================================
   LEGAL & SUBPAGES ARTICLE LAYOUT
   ========================================================================== */
.page-hero-mini {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 0%, rgba(18, 168, 184, 0.14), transparent 70%);
}

.article-container {
  max-width: 940px;
  margin: 0 auto;
  padding: 48px 20px;
}

.content-sheet {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.content-sheet h2 {
  font-size: 1.5rem;
  color: var(--accent-gold-light);
  margin: 28px 0 14px;
}

.content-sheet h2:first-child {
  margin-top: 0;
}

.content-sheet p, .content-sheet li {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.content-sheet ul {
  padding-left: 22px;
  margin-bottom: 18px;
}

.coa-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.92rem;
}

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

.coa-table th {
  background: rgba(18, 168, 184, 0.12);
  color: var(--text-main);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE FIRST ADAPTATION)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .story-grid,
  .offer-wrapper,
  .comparison-container,
  .map-card {
    grid-template-columns: 1fr;
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .main-nav {
    order: 3;
    width: 100%;
    border-top: 1px solid var(--border-subtle);
    padding-top: 8px;
  }
  .timer-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .trainer-phases-grid {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .trust-badges-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .story-content,
  .widget-box,
  .order-form-card,
  .content-sheet {
    padding: 24px 20px;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}
