/* ==========================================================================
   NŐI EGYENSÚLY - FŐ STÍLUSLAP (MAIN.CSS)
   Színvilág: Magyar zászló harmónia (Mélyzöld, Tiszta Fehér, Meleg Rubin)
   Google Ads & GDPR kompatibilis felület
   ========================================================================== */

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

:root {
  /* Színpaletta - Magyar Nemzeti Színek Harmóniája */
  --green-primary: #1E5631;
  --green-dark: #0F381F;
  --green-deep: #082413;
  --green-medium: #2D6A4F;
  --green-light: #52B788;
  --green-soft: #EBF5EE;
  --green-tint: #F2F8F4;

  --red-accent: #C83232;
  --red-hover: #A52222;
  --red-light: #FF6B6B;
  --red-soft: #FDF2F2;
  --red-tint: #FFF8F8;

  --white: #FFFFFF;
  --bg-main: #FAFCFA;
  --bg-alt: #F4F8F5;
  --bg-card: #FFFFFF;
  
  --text-main: #1C2826;
  --text-body: #374151;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  
  --border-light: #E5EBE6;
  --border-focus: #2D6A4F;

  --gold-accent: #D4AF37;
  --gold-soft: #FCF8E3;

  /* Tipográfia */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Árnyékok & Hatások */
  --shadow-xs: 0 1px 2px rgba(15, 56, 31, 0.05);
  --shadow-sm: 0 4px 12px rgba(15, 56, 31, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 56, 31, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 56, 31, 0.12);
  --shadow-red: 0 8px 20px rgba(200, 50, 50, 0.22);
  --shadow-green: 0 8px 20px rgba(30, 86, 49, 0.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1200px;
}

/* Alapbeállítások & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Tipográfia Osztályok */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

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

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

/* Szalag / Flag Banner Díszítés */
.flag-accent-bar {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--red-accent) 0%, var(--red-accent) 33.3%, var(--white) 33.3%, var(--white) 66.6%, var(--green-primary) 66.6%, var(--green-primary) 100%);
}

/* Gombok */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--red-accent);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 50, 50, 0.32);
}

.btn-secondary {
  background-color: var(--green-primary);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn-secondary:hover {
  background-color: var(--green-dark);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--green-soft);
  color: var(--green-dark);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

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

.btn-block {
  width: 100%;
}

/* Címke / Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-green {
  background-color: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid rgba(45, 106, 79, 0.2);
}

.badge-red {
  background-color: var(--red-soft);
  color: var(--red-accent);
  border: 1px solid rgba(200, 50, 50, 0.2);
}

.badge-gold {
  background-color: var(--gold-soft);
  color: #926C05;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   FEJLÉC & NAVIGÁCIÓ
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-medium) 100%);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-xs);
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

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

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

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

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

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

/* ==========================================================================
   HERO SZEKCIÓK
   ========================================================================== */
.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  background: linear-gradient(170deg, var(--white) 0%, var(--green-tint) 100%);
  overflow: hidden;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  margin-bottom: 1.25rem;
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.stat-item h3 {
  font-size: 1.8rem;
  color: var(--green-primary);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--red-accent);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
}

.floating-badge.badge-bottom-left {
  bottom: -20px;
  left: -20px;
}

.floating-badge.badge-top-right {
  top: 20px;
  right: -20px;
  border-left-color: var(--green-primary);
}

.floating-badge-icon {
  font-size: 1.8rem;
}

.floating-badge-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  color: var(--text-main);
}

.floating-badge-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ÁLTALÁNOS SZEKCIÓK
   ========================================================================== */
.section {
  padding: 5rem 0;
}

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

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

.section-bg-green {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-primary) 100%);
  color: var(--white);
}

.section-bg-green h1,
.section-bg-green h2,
.section-bg-green h3,
.section-bg-green h4 {
  color: var(--white);
}

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

.section-header .badge {
  margin-bottom: 0.85rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-bg-green .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   TÖRTÉNET / STORY KÁRTYA
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.story-image-wrap {
  position: relative;
}

.story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.story-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.story-content h3 {
  color: var(--green-primary);
  margin-bottom: 1.25rem;
}

.story-quote {
  padding: 1.25rem 1.5rem;
  background-color: var(--green-soft);
  border-left: 4px solid var(--green-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  margin: 1.5rem 0;
  font-size: 1.05rem;
  color: var(--green-dark);
}

/* ==========================================================================
   PILLÉREK & SZOLGÁLTATÁSOK KÁRTYÁI
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

.feature-card {
  background: var(--bg-card);
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(45, 106, 79, 0.3);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background-color: var(--green-soft);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.4rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background-color: var(--green-primary);
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-list {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-body);
}

.feature-list li .check-icon {
  color: var(--green-medium);
  font-weight: bold;
}

/* ==========================================================================
   INTERAKTÍV KVÍZ SZEKCIÓ
   ========================================================================== */
.quiz-container {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  max-width: 820px;
  margin: 0 auto;
}

.quiz-progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--bg-alt);
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-primary), var(--green-light));
  width: 25%;
  transition: width 0.4s ease;
}

.quiz-step-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.quiz-question-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

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

.quiz-option {
  display: flex;
  align-items: center;
  padding: 1.1rem 1.4rem;
  background-color: var(--bg-main);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  font-size: 1rem;
}

.quiz-option:hover {
  border-color: var(--green-light);
  background-color: var(--green-soft);
}

.quiz-option.selected {
  border-color: var(--green-primary);
  background-color: var(--green-soft);
  color: var(--green-dark);
  font-weight: 600;
}

.quiz-option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quiz-option.selected .quiz-option-radio {
  border-color: var(--green-primary);
  background-color: var(--green-primary);
}

.quiz-option.selected .quiz-option-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--white);
  border-radius: 50%;
}

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

.quiz-result-card {
  text-align: center;
  padding: 2rem 1rem;
}

.quiz-score-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  color: var(--white);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-green);
}

.quiz-score-num {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.quiz-score-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   INTERAKTÍV KALKULÁTOR
   ========================================================================== */
.calc-wrapper {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
}

.calc-control-group {
  margin-bottom: 1.8rem;
}

.calc-label-wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--text-main);
}

.calc-value-display {
  color: var(--green-primary);
  font-weight: 700;
}

.calc-range {
  width: 100%;
  height: 8px;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-primary);
  cursor: pointer;
  box-shadow: var(--shadow-green);
  transition: transform 0.15s ease;
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-select-btn-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.calc-select-btn {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  cursor: pointer;
  text-align: center;
  font-weight: 500;
  font-size: 0.92rem;
  transition: var(--transition);
}

.calc-select-btn.active {
  border-color: var(--green-primary);
  background-color: var(--green-soft);
  color: var(--green-dark);
  font-weight: 600;
}

.calc-result-box {
  background: linear-gradient(145deg, var(--green-deep), var(--green-primary));
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-green);
}

.calc-result-box h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.calc-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.calc-stat-row:last-child {
  border-bottom: none;
}

.calc-stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.calc-stat-val {
  font-size: 1.3rem;
  font-weight: 700;
  color: #80ED99;
}

/* ==========================================================================
   TANÚSÍTVÁNYOK & DIPLOMÁK
   ========================================================================== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cert-card {
  background: var(--white);
  border: 2px solid #E8EFE9;
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.cert-seal {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, #FFE066, #D4AF37);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
  color: var(--green-dark);
  font-size: 1.8rem;
}

.cert-card h4 {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.cert-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cert-issuer {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.8rem;
  background-color: var(--green-soft);
  color: var(--green-primary);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   VÉLEMÉNYEK & TAPASZTALATOK
   ========================================================================== */
.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

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

/* ==========================================================================
   CIKKEK & BLOG ELŐNÉZETEK
   ========================================================================== */
.article-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.article-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.article-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-img-wrap img {
  transform: scale(1.05);
}

.article-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--green-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-xs);
}

.article-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.article-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.article-content h3 a:hover {
  color: var(--green-primary);
}

.article-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.article-link {
  color: var(--green-primary);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.article-link:hover {
  color: var(--red-accent);
}

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

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

.faq-item.active {
  border-color: var(--green-light);
  box-shadow: var(--shadow-sm);
}

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

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

.faq-icon {
  font-size: 1.3rem;
  color: var(--green-primary);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.6rem;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
  transition: max-height 0.45s ease-in-out;
}

/* ==========================================================================
   LEAD FORM / JELENTKEZÉSI OLDAL (CSAK NÉV ÉS TELEFON)
   ========================================================================== */
.consultation-wrap {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}

.form-card {
  background-color: var(--white);
  padding: 2.8rem 2.4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
}

.form-card-header {
  margin-bottom: 2rem;
  text-align: left;
}

.form-card-header h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

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

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

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1.1rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.1rem 0.95rem 2.8rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--text-main);
  background-color: var(--bg-main);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--green-primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.12);
}

.form-control.error {
  border-color: var(--red-accent);
  background-color: var(--red-tint);
}

.form-error-msg {
  display: none;
  font-size: 0.8rem;
  color: var(--red-accent);
  margin-top: 0.4rem;
  font-weight: 500;
}

.form-checkbox-group {
  margin-bottom: 1.8rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--green-primary);
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  cursor: pointer;
}

.form-checkbox-label a {
  color: var(--green-primary);
  text-decoration: underline;
}

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

/* ==========================================================================
   KÖSZÖNŐ OLDAL (THANK YOU PAGE)
   ========================================================================== */
.thank-you-box {
  max-width: 680px;
  margin: 3rem auto;
  background-color: var(--white);
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--border-light);
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.8rem;
  box-shadow: var(--shadow-green);
}

.timeline-steps {
  margin: 2.5rem 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.timeline-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--green-soft);
  color: var(--green-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline-text h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.timeline-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   LÁBLÉC (FOOTER) & GOOGLE ADS COMPLIANCE
   ========================================================================== */
.site-footer {
  background-color: var(--green-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 4.5rem 0 2rem;
  border-top: 4px solid var(--red-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

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

.footer-disclaimer-box {
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

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

.footer-legal-inline {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-inline a:hover {
  color: var(--white);
}

/* ==========================================================================
   GDPR SÜTI (COOKIE) SÁV & MODAL
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
  padding: 1.25rem 0;
  z-index: 9999;
  border-top: 3px solid var(--green-primary);
  display: none;
  animation: slideUp 0.4s ease-out forwards;
}

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

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

.cookie-text {
  font-size: 0.88rem;
  color: var(--text-body);
}

.cookie-text a {
  color: var(--green-primary);
  text-decoration: underline;
  font-weight: 600;
}

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

/* ==========================================================================
   CIKK RÉSZLETES NÉZET (BLOG POST / ARTICLE PAGE)
   ========================================================================== */
.article-full-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  padding: 3.5rem 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.article-full-content {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-body);
}

.article-full-content h2 {
  margin: 2.2rem 0 1rem;
  font-size: 1.65rem;
  color: var(--green-dark);
}

.article-full-content h3 {
  margin: 1.8rem 0 0.8rem;
  font-size: 1.3rem;
  color: var(--text-main);
}

.article-full-content ul, .article-full-content ol {
  margin: 1.2rem 0 1.8rem 1.5rem;
}

.article-full-content ul {
  list-style: disc;
}

.article-full-content ol {
  list-style: decimal;
}

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

.article-highlight-box {
  background-color: var(--green-soft);
  border-left: 4px solid var(--green-primary);
  padding: 1.5rem 1.8rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

.article-highlight-box h4 {
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   RESZPONZÍV TÖRÉSPONTOK (RESPONSIVE MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .story-grid, .consultation-wrap, .calc-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.2rem;
    border-bottom: 2px solid var(--green-primary);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
  .grid-3, .grid-2, .cert-grid, .grid-4 {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .quiz-container, .calc-wrapper, .article-full-wrap, .form-card {
    padding: 1.8rem 1.25rem;
  }
}
