:root {
  --bg-deep:     #061226;
  --bg-dark:     #0a1830;
  --bg-card:     #0f2240;
  --border:      rgba(255,255,255,0.08);
  --border-hover:rgba(20,184,166,0.3);
  --text:        #ffffff;
  --text-muted:  #94a3b8;
  --text-dim:    #64748b;
  --accent:      #14b8a6;
  --accent-2:    #10b981;
  --accent-blue: #3b82f6;
  --gradient:    linear-gradient(135deg, #14b8a6 0%, #10b981 50%, #3b82f6 100%);
  --gradient-text: linear-gradient(135deg, #5eead4 0%, #14b8a6 50%, #10b981 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse at top left, rgba(20,184,166,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(59,130,246,0.08) 0%, transparent 50%);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 48px 48px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(6,18,38,0.8);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo img { width: 40px; height: 40px; border-radius: 8px; }
.logo-text { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.logo-sub { display: block; font-size: 11px; color: var(--text-muted); font-weight: 400; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px; border-radius: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: all 0.2s; border: 0; cursor: pointer;
  font-family: inherit; white-space: nowrap;
}
.btn-primary {
  background: var(--gradient); color: white;
  box-shadow: 0 4px 24px rgba(20,184,166,0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(20,184,166,0.4); color: white; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.15); color: var(--text); }

.nav-mobile-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; font-size: 22px; }

/* HERO */
.hero { padding: 80px 0 120px; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: rgba(20,184,166,0.1);
  border: 1px solid rgba(20,184,166,0.25); border-radius: 999px;
  font-size: 13px; font-weight: 500; color: #5eead4;
  margin-bottom: 24px; letter-spacing: 0.02em;
}
.badge-dot {
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05; letter-spacing: -0.03em;
  font-weight: 800; margin-bottom: 20px;
  max-width: 900px; margin-left: auto; margin-right: auto;
}
.accent-text, .hero h1 .accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 680px; margin: 0 auto 40px; line-height: 1.5;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }

/* STATS */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: 800px; margin: 0 auto; padding: 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border); border-radius: 16px;
}
.stat { text-align: center; }
.stat-num {
  font-size: clamp(24px, 3vw, 36px); font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; letter-spacing: -0.02em;
}
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* SECTIONS */
.section { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .badge { margin-bottom: 16px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px); line-height: 1.1;
  letter-spacing: -0.02em; font-weight: 800; margin-bottom: 16px;
}
.section-head p { color: var(--text-muted); max-width: 640px; margin: 0 auto; font-size: 17px; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; transition: all 0.3s;
  position: relative; overflow: hidden; text-decoration: none;
  color: var(--text); display: block;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,184,166,0.08), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { border-color: var(--border-hover); transform: translateY(-2px); color: var(--text); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(20,184,166,0.15), rgba(59,130,246,0.15));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 24px; position: relative; z-index: 1;
}
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; position: relative; z-index: 1; letter-spacing: -0.01em; }
.service-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; position: relative; z-index: 1; }

/* WHY US */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.why-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.why-card .num {
  font-size: 42px; font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 16px; display: block;
}
.why-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.why-card p { color: var(--text-muted); font-size: 14px; }

/* TESTIMONIALS */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.testimonial { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.testimonial-quote { color: var(--text); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient); display: flex;
  align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: 16px;
}
.testimonial-name { font-size: 14px; font-weight: 600; }
.testimonial-role { font-size: 13px; color: var(--text-muted); }

/* CTA BLOCK */
.cta-block {
  background: linear-gradient(135deg, rgba(20,184,166,0.1), rgba(59,130,246,0.1));
  border: 1px solid rgba(20,184,166,0.2); border-radius: 24px;
  padding: 64px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(20,184,166,0.15), transparent 70%);
  pointer-events: none;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.1; }
.cta-block p { color: var(--text-muted); font-size: 17px; max-width: 540px; margin: 0 auto 32px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info p { color: var(--text-muted); margin-bottom: 24px; font-size: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px; color: var(--text);
  text-decoration: none; font-size: 15px;
}
.contact-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(20,184,166,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: inherit; font-size: 15px;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: 0; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 100px; }

.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #86efac; }

/* PAGE CONTENT */
.page-hero { padding: 60px 0; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.1; }
.page-hero p { color: var(--text-muted); font-size: 18px; max-width: 680px; margin: 0 auto; }

.prose { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.75; }
.prose h2 { font-size: 28px; font-weight: 700; margin: 40px 0 16px; letter-spacing: -0.01em; }
.prose h3 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.prose p { color: var(--text-muted); margin-bottom: 16px; }
.prose ul, .prose ol { color: var(--text-muted); margin: 16px 0 16px 24px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--text); }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 16px; margin: 16px 0;
  font-style: italic; color: var(--text-muted);
}
.prose img { max-width: 100%; height: auto; border-radius: 10px; margin: 20px 0; }
.prose iframe { max-width: 100%; border-radius: 10px; margin: 20px 0; }

/* BLOG LIST */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; text-decoration: none;
  color: var(--text); transition: all 0.3s;
  display: flex; flex-direction: column;
}
.blog-card:hover { border-color: var(--border-hover); transform: translateY(-2px); color: var(--text); }
.blog-card-cover {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, rgba(20,184,166,0.2), rgba(59,130,246,0.2));
  background-size: cover; background-position: center;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { font-size: 12px; color: var(--text-dim); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; line-height: 1.3; }
.blog-card p { color: var(--text-muted); font-size: 14px; flex: 1; }
.blog-card-footer { margin-top: 16px; color: var(--accent); font-size: 14px; font-weight: 500; }

/* FOOTER */
.footer { padding: 60px 0 32px; border-top: 1px solid var(--border); margin-top: 100px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 320px; margin-top: 16px; }
.footer h5 { font-size: 14px; font-weight: 600; margin-bottom: 16px; color: var(--text); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; color: var(--text-dim); font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-dark); border-bottom: 1px solid var(--border);
    padding: 20px; gap: 16px;
  }
  .header .btn { padding: 10px 18px; font-size: 14px; }
  .section { padding: 70px 0; }
  .hero { padding: 60px 0 80px; }
  .cta-block { padding: 48px 24px; }
}

/* =====================================================================
   SZOLGÁLTATÁS ALOLDAL — EGYEDI DESIGN ELEMEK
   ===================================================================== */

/* Folyamat-lépések vízszintes listával */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 32px 0;
  counter-reset: step;
  list-style: none !important;
  padding: 0 !important;
}
.process-steps li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px 20px;
  position: relative;
  counter-increment: step;
}
.process-steps li::before {
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 20px;
  width: 32px;
  height: 32px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.process-steps li strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 700;
}
.process-steps li span {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Ikonos lista pipákkal / ikonokkal */
.check-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 24px 0 !important;
}
.check-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-muted);
  align-items: flex-start;
}
.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(20,184,166,0.15);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}
.check-list li strong {
  color: var(--text);
}

/* Info-kártyák rács (pl. statisztikák, számok) */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.info-card {
  background: linear-gradient(135deg, rgba(20,184,166,0.08), rgba(59,130,246,0.08));
  border: 1px solid rgba(20,184,166,0.2);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}
.info-card .big {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.info-card .label {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
}

/* FAQ akkordeon */
.faq { margin: 32px 0; }
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq details p {
  padding: 16px 20px;
  color: var(--text-muted);
  margin: 0 !important;
  line-height: 1.7;
}

/* Kiemelt idézet / pro tipp */
.pro-tip {
  background: linear-gradient(135deg, rgba(20,184,166,0.08), transparent);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 10px 10px 0;
}
.pro-tip strong {
  color: #5eead4;
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.pro-tip p {
  margin: 0 !important;
  color: var(--text) !important;
  font-size: 16px;
  line-height: 1.6;
}

/* Összehasonlító táblázat */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 28px 0;
  font-size: 15px;
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: rgba(20,184,166,0.08);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}
.compare-table td { color: var(--text-muted); }
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }
.compare-table td:first-child { font-weight: 500; color: var(--text); }

/* Sávdiagram - progress bar (pl. megtérülés) */
.bar-chart { margin: 28px 0; }
.bar-chart .bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.bar-chart .bar-label {
  min-width: 140px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.bar-chart .bar-track {
  flex: 1;
  height: 28px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.bar-chart .bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  transition: width 0.6s ease;
}

/* Szolgáltatás hero badge */
.hero-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(20,184,166,0.15);
  border-radius: 6px;
  color: #5eead4;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .bar-chart .bar-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .bar-chart .bar-label { min-width: 0; }
  .bar-chart .bar-track { width: 100%; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}

/* ============================================================
   LIGHT THEME — pure white
   A theme-toggle gomb inline stílusú a public_layout.php-ben,
   itt csak a téma szabályokat tartjuk.
   ============================================================ */
html[data-theme="light"] {
  --bg-deep:      #FFFFFF;
  --bg-dark:      #FAFAFA;
  --bg-card:      #FFFFFF;
  --border:       rgba(0,0,0,0.08);
  --border-hover: rgba(13,148,136,0.35);
  --text:         #0A0A0B;
  --text-muted:   #52525B;
  --text-dim:     #8F8F94;
  --accent:       #0D9488;
  --accent-2:     #059669;
  --accent-blue:  #2563EB;
  --gradient:     linear-gradient(135deg, #0D9488 0%, #059669 50%, #2563EB 100%);
  --gradient-text: linear-gradient(135deg, #0D9488 0%, #059669 50%, #2563EB 100%);
}

html[data-theme="light"] body {
  background: #FFFFFF;
  color: var(--text);
}
html[data-theme="light"] body::before {
  background:
    radial-gradient(ellipse at top left, rgba(13,148,136,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(37,99,235,0.05) 0%, transparent 50%);
}
html[data-theme="light"] body::after {
  background-image:
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
}
html[data-theme="light"] .header {
  background: rgba(255,255,255,0.9);
  border-bottom-color: rgba(0,0,0,0.06);
}
html[data-theme="light"] .badge {
  background: rgba(13,148,136,0.1);
  color: #0D9488;
}
html[data-theme="light"] .service-card,
html[data-theme="light"] .why-card,
html[data-theme="light"] .testimonial,
html[data-theme="light"] .contact-form {
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
}
html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .why-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group textarea {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.1);
  color: var(--text);
}
html[data-theme="light"] .btn-primary { color: #FFFFFF; }
html[data-theme="light"] .footer {
  background: #FAFAFA;
  border-top-color: rgba(0,0,0,0.06);
}
html[data-theme="light"] .accent-text {
  color: #0D9488;
}
/* =====================================================================
   THEME TOGGLE GOMB
   ===================================================================== */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
  font-family: inherit;
}
.theme-toggle:hover {
  border-color: #14b8a6;
  color: #14b8a6;
  background: rgba(20,184,166,0.08);
}
html[data-theme="light"] .theme-toggle {
  border-color: rgba(0,0,0,0.12);
  color: #0A0A0B;
}
html[data-theme="light"] .theme-toggle:hover {
  border-color: #0D9488;
  color: #0D9488;
  background: rgba(13,148,136,0.08);
}

/* Admin kisebb változat */
.theme-toggle-sm {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 16px;
}

html[data-theme="light"] .service-content [style*="background: var(--bg-card)"],
html[data-theme="light"] .service-content [style*="background:var(--bg-card)"] {
  background: #FFFFFF !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
html[data-theme="light"] .service-content [style*="border: 1px solid var(--border)"] {
  border-color: rgba(0,0,0,0.08) !important;
}

body, .header, .service-card, .why-card, .testimonial,
.contact-form, .footer, .btn, .badge {
  transition: background-color 0.25s ease, color 0.25s ease,
              border-color 0.25s ease, box-shadow 0.25s ease;
}

/* =====================================================================
   SPACING NORMALIZÁLÁS
   ===================================================================== */

/* Service oldalakon a DB-ből jövő szekciók közti térköz:
   50px egymás között, szellős, de nem túl szellős */
.service-content > section.section {
  padding: 50px 0 !important;
}
.service-content > section.section:first-child {
  padding-top: 40px !important;
}
.service-content > section.section:last-child {
  padding-bottom: 60px !important;
}

/* Régi (nem szekcionált) tartalmakra: ha az első gyerek nem section,
   akkor se legyen túl nagy üres terület a hero után */
.service-content > *:first-child:not(section) {
  margin-top: 24px !important;
}
.service-content > h2:first-child,
.service-content > h3:first-child {
  margin-top: 32px !important;
}

/* Hero tight lezárás */
.hero { padding: 80px 0 60px !important; }

/* Breadcrumb */
nav[aria-label="Breadcrumb"] { margin-top: 0; }

/* Section-head margin */
.section-head { margin-bottom: 48px; }

/* Főoldal: stats után kisebb üres tér a szolgáltatások szekcióig */
.hero + .section { padding-top: 60px !important; }

/* Kapcsolat szekció (a publicFoot által beillesztett) ne legyen dupla padding felette */
#kapcsolat.section { padding-top: 60px !important; padding-bottom: 80px !important; }

/* Általános szekció térköz csökkentés — 100px helyett 70px, szellős de nem üres */
.section { padding: 70px 0; }

/* =====================================================================
   MOBIL OPTIMALIZÁLÁS — 720px alatt
   ===================================================================== */

@media (max-width: 720px) {
  .section { padding: 60px 0 !important; }
  .service-content > section.section { padding: 50px 0 !important; }
  .service-content > section.section:first-child { padding-top: 40px !important; }

  /* Hero tighter */
  .hero { padding: 40px 0 30px !important; }
  .hero h1 { font-size: clamp(32px, 7vw, 48px) !important; }
  .hero p.hero-sub { font-size: 15px; }

  /* Section-head balra */
  .section-head { text-align: left; margin-bottom: 32px; }
  .section-head h2 { font-size: clamp(26px, 6vw, 36px); line-height: 1.15; }
  .section-head p { font-size: 15px; margin: 16px 0 0; max-width: 100%; }

  /* Grid-ek 1 oszlopra */
  .services-grid,
  .why-grid,
  .testimonials { grid-template-columns: 1fr !important; gap: 14px !important; }

  /* Inline 2-oszlopos gridek (pl. ami működik / amit kerülj) egymás alá */
  .service-content .services-grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }

  /* Cards padding csökken */
  .service-card, .why-card, .testimonial { padding: 24px 20px; }

  /* FAQ details padding csökken */
  details[style*="padding: 20px 24px"] summary {
    padding: 16px 18px !important;
    font-size: 15px !important;
  }
  details[style*="padding: 0 24px 20px"] div {
    padding: 0 18px 16px !important;
    font-size: 14px !important;
  }

  /* Táblázatok mobil - horizontálisan görgethető */
  .service-content [style*="overflow: hidden"] {
    overflow-x: auto !important;
  }
  .service-content table {
    min-width: 560px;
    font-size: 13px !important;
  }
  .service-content table th,
  .service-content table td {
    padding: 10px 12px !important;
  }

  /* Hero CTA gombok teljes szélesség */
  .hero-ctas { flex-direction: column; gap: 10px; width: 100%; }
  .hero-ctas .btn { width: 100%; text-align: center; justify-content: center; }

  /* Breadcrumb kisebb */
  nav[aria-label="Breadcrumb"] ol { font-size: 12px !important; gap: 6px !important; }
  nav[aria-label="Breadcrumb"] { padding: 12px 0 !important; }

  /* Stats - compact */
  .stats { gap: 16px; padding: 24px 16px; }
  .stat-num { font-size: clamp(22px, 5vw, 30px) !important; }
  .stat-label { font-size: 12px !important; }

  /* Container padding kevesebb */
  .container { padding: 0 16px; }

  /* Process-step inline content sorban */
  .service-content .process-steps { grid-template-columns: 1fr; }

  /* 5 kudarc blokkok, bento content - belső gap csökken */
  .service-content [style*="gap: 16px"] { gap: 12px !important; }
  .service-content [style*="padding: 24px"] { padding: 20px !important; }

  /* Pro tipp callout padding */
  .service-content [style*="padding: 32px 40px"] { padding: 24px 20px !important; }

  /* CTA block */
  .cta-block { padding: 40px 20px !important; }
  .cta-block h2 { font-size: clamp(22px, 5vw, 32px); }
  .cta-block p { font-size: 15px; }

  /* Contact form beágyazott */
  #kapcsolat .contact-form { padding: 20px; }
  #kapcsolat .section-head h2 { text-align: center; }
}

/* Közepes méret - 1024px alatt */
@media (max-width: 1024px) and (min-width: 721px) {
  .service-content .services-grid[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
  }
  .service-content table { font-size: 13px; }
}

/* =====================================================================
   LIGHT MODE — kontraszt javítás inline stílusokhoz
   Sötét módra írt inline szöveg színek (mint-zöld, lime-zöld) light
   módban nem olvashatók fehér háttéren. Ezek itt átállítódnak a
   sötétebb accent-re, ami WCAG AA kontrasztot ad.
   ===================================================================== */

html[data-theme="light"] [style*="color: #5eead4"],
html[data-theme="light"] [style*="color:#5eead4"],
html[data-theme="light"] [style*="color: #86efac"],
html[data-theme="light"] [style*="color:#86efac"],
html[data-theme="light"] [style*="color: #6ee7b7"],
html[data-theme="light"] [style*="color:#6ee7b7"],
html[data-theme="light"] [style*="color: #34d399"],
html[data-theme="light"] [style*="color:#34d399"],
html[data-theme="light"] [style*="color: #4ade80"],
html[data-theme="light"] [style*="color:#4ade80"],
html[data-theme="light"] [style*="color: #a7f3d0"],
html[data-theme="light"] [style*="color:#a7f3d0"] {
  color: #0D9488 !important;
}

/* Fehér szövegek amik sötét háttéren voltak, light módban feketére */
html[data-theme="light"] [style*="color: #fff"]:not([style*="background"]),
html[data-theme="light"] [style*="color:#fff"]:not([style*="background"]),
html[data-theme="light"] [style*="color: white"]:not([style*="background"]) {
  color: #0A0A0B !important;
}

/* Táblázatok — fejléc háttér light módban legyen szürke (sötét helyett) */
html[data-theme="light"] table thead,
html[data-theme="light"] table thead th,
html[data-theme="light"] [style*="background: rgba(20,184,166"],
html[data-theme="light"] [style*="background:rgba(20,184,166"] {
  background: rgba(13,148,136,0.08) !important;
}

/* Táblázat sötét cellák (ahol background: rgba(0,0,0, X)) light módra átszín */
html[data-theme="light"] [style*="background: rgba(0,0,0,0.2)"],
html[data-theme="light"] [style*="background:rgba(0,0,0,0.2)"],
html[data-theme="light"] [style*="background: rgba(0,0,0,0.3)"],
html[data-theme="light"] [style*="background:rgba(0,0,0,0.3)"],
html[data-theme="light"] [style*="background: rgba(0,0,0,0.15)"],
html[data-theme="light"] [style*="background:rgba(0,0,0,0.15)"] {
  background: #F5F5F7 !important;
}

/* Dim szürke szövegek light mode: sötétebb szürke, hogy olvasható legyen */
html[data-theme="light"] [style*="color: #a1a1aa"],
html[data-theme="light"] [style*="color:#a1a1aa"],
html[data-theme="light"] [style*="color: #d4d4d8"],
html[data-theme="light"] [style*="color:#d4d4d8"],
html[data-theme="light"] [style*="color: #e4e4e7"],
html[data-theme="light"] [style*="color:#e4e4e7"] {
  color: #52525B !important;
}

/* =====================================================================
   LIGHT MODE — Pro tipp callout + halvány teal boxok láthatóbbak
   ===================================================================== */

/* .pro-tip class (régi tartalmak: weboldal, AI marketing, videó, közösségi média) */
html[data-theme="light"] .pro-tip {
  background: linear-gradient(135deg, rgba(13,148,136,0.08), rgba(13,148,136,0.02)) !important;
  border-left: 3px solid #0D9488 !important;
}
html[data-theme="light"] .pro-tip strong,
html[data-theme="light"] .pro-tip p strong {
  color: #0D9488 !important;
}
html[data-theme="light"] .pro-tip p {
  color: #0A0A0B !important;
}

/* Inline style callout boxok (új tartalmak: Google Ads, TikTok, SEO) —
   háttér rgba(20,184,166,0.08) típusú alig látható light mode-ban */
html[data-theme="light"] [style*="background: linear-gradient(135deg, rgba(20,184,166"],
html[data-theme="light"] [style*="background:linear-gradient(135deg,rgba(20,184,166"],
html[data-theme="light"] [style*="background: rgba(20,184,166,0.08)"],
html[data-theme="light"] [style*="background:rgba(20,184,166,0.08)"],
html[data-theme="light"] [style*="background: rgba(20,184,166,0.1)"],
html[data-theme="light"] [style*="background:rgba(20,184,166,0.1)"] {
  background: linear-gradient(135deg, rgba(13,148,136,0.12), rgba(13,148,136,0.04)) !important;
  border-color: rgba(13,148,136,0.3) !important;
}

/* A PRO TIPP fejléc inline-ban ("PRO TIPP", "EREDMÉNY" uppercase címke) */
html[data-theme="light"] [style*="color: #5eead4"][style*="text-transform: uppercase"],
html[data-theme="light"] [style*="color:#5eead4"][style*="text-transform:uppercase"],
html[data-theme="light"] [style*="color: #5eead4"][style*="font-weight: 700"],
html[data-theme="light"] [style*="color: #5eead4"][style*="font-weight:700"] {
  color: #0D9488 !important;
}

/* Esettanulmány "eredmény" callout (Facebook oldalon) */
html[data-theme="light"] [style*="background:rgba(20,184,166,0.08)"][style*="border-left"],
html[data-theme="light"] [style*="background: rgba(20,184,166,0.08)"][style*="border-left"] {
  background: rgba(13,148,136,0.1) !important;
  border-left-color: #0D9488 !important;
}

/* =====================================================================
   LIGHT MODE — CTA BLOKK erősítés
   Sötét módra tervezett halvány teal gradient light-ban "eltűnik" fehéren.
   Markánsabb border + box-shadow + picit telítettebb gradient light-ban.
   ===================================================================== */
html[data-theme="light"] .cta-block {
  background: linear-gradient(135deg, rgba(13,148,136,0.08), rgba(37,99,235,0.08)) !important;
  border: 1px solid rgba(13,148,136,0.25) !important;
  box-shadow: 0 4px 24px rgba(13,148,136,0.08);
}
html[data-theme="light"] .cta-block::before {
  background: radial-gradient(ellipse at center, rgba(13,148,136,0.12), transparent 70%) !important;
}
html[data-theme="light"] .cta-block p {
  color: #3F3F46 !important;
}

/* =====================================================================
   SZEKCIÓ SZÉLESSÉG PRESET-ek
   ---------------------------------------------------------------------
   A .section elemekhez adható módosító class-ok, hogy szekciónként
   testre szabható legyen a belső container szélessége.

   Használat:
     <section class="section">             … default (1200px)
     <section class="section w-narrow">    … szűk (760px)
     <section class="section w-normal">    … normál (1200px, explicit)
     <section class="section w-wide">      … széles (1440px)
     <section class="section w-full">      … teljes szélesség (képernyő szél)
   ===================================================================== */

.section.w-narrow > .container,
.section.w-narrow .container {
  max-width: 760px;
}

.section.w-normal > .container,
.section.w-normal .container {
  max-width: 1200px;
}

.section.w-wide > .container,
.section.w-wide .container {
  max-width: 1440px;
}

/* .w-full = teljes viewport szélesség, padding is kikerül */
.section.w-full > .container,
.section.w-full .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Service-content szekciók is használhatják a class-okat
   (ha az admin HTML-be írod, a rendszer automatikusan átveszi) */
.service-content section.w-narrow > .container,
.service-content section.w-normal > .container,
.service-content section.w-wide > .container,
.service-content section.w-full > .container {
  max-width: inherit;
}

/* =====================================================================
   CHECK-LIST VARIÁNSOK — pozitív pipa (alap) és negatív ✗ piros
   ---------------------------------------------------------------------
   Használat:
     <ul class="check-list">          pozitív (zöld ✓)
     <ul class="check-list check-list--negative">  negatív (piros ✗)
   ===================================================================== */
.check-list.check-list--negative li::before {
  content: '✗';
  background: rgba(239,68,68,0.15);
  color: #ef4444;
}
