/* ═══════════════════════════════════════════════════════════
   mester.info.hu — Főoldal stíluslap
   assets/css/style.css
   ═══════════════════════════════════════════════════════════ */

/* ── RESET & VÁLTOZÓK ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:     #0d1b2e;
  --paper:   #f2ede4;
  --paper2:  #e8e1d6;
  --accent:  #E8590A;
  --accent2: #1B4F8A;
  --mid:     #6b7a8d;
  --light:   #b8c4d0;
  --white:   #ffffff;
  --radius:    16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── MAIN ────────────────────────────────────────────────────── */
main {
  display: block;
  min-height: calc(100vh - 64px);
}

/* ── NAVIGÁCIÓ ────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--light);
  padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em;
  color: var(--ink); text-decoration: none;
  display: flex; align-items: baseline; gap: .05em;
}
.nav-logo .logo-main { color: var(--ink); }
.nav-logo .logo-tld  { font-size: .7em; font-weight: 600; color: var(--accent); letter-spacing: 0; }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--mid);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }

/* Bejelentkezve: felhasználói menü */
.nav-user {
  display: flex; align-items: center; gap: .75rem;
  font-size: .875rem; color: var(--mid);
}
.nav-user-name {
  font-weight: 500; color: var(--ink);
}
.nav-user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent2); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: .75rem; font-weight: 700;
  flex-shrink: 0;
}
.nav-dashboard-link {
  font-size: .875rem; font-weight: 500; color: var(--accent2);
  text-decoration: none; transition: color .2s;
}
.nav-dashboard-link:hover { color: var(--accent); }
.nav-logout-link {
  font-size: .8rem; color: var(--mid); text-decoration: none; transition: color .2s;
}
.nav-logout-link:hover { color: var(--ink); }

.nav-cta {
  background: var(--accent2); color: var(--white) !important;
  padding: .45rem 1.25rem; border-radius: 99px;
  font-size: .875rem !important; transition: background .2s !important;
}
.nav-cta:hover { background: var(--accent) !important; }

/* ── HAMBURGER ────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.nav-toggle span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--ink); transition: all .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 88vh; padding: 6rem 5vw 4rem;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 4rem; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 500px at 70% 40%, #1B4F8A12 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 20% 80%, #E8590A0a 0%, transparent 60%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--accent2); color: #a8c8f0;
  font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 99px;
  margin-bottom: 1.5rem;
  animation: fadeUp .6s ease both;
}
.hero-eyebrow::before { content: '●'; font-size: .5rem; animation: pulse 2s infinite; }

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -.03em;
  animation: fadeUp .6s .1s ease both;
}
.hero h1 em {
  font-style: normal; color: var(--accent); position: relative;
}
.hero h1 em::after {
  content: ''; position: absolute; left: 0; bottom: -.08em;
  width: 100%; height: .06em; background: var(--accent); border-radius: 99px;
}

.hero-sub {
  margin-top: 1.5rem; font-size: 1.1rem; color: var(--mid);
  max-width: 520px; line-height: 1.7; font-weight: 300;
  animation: fadeUp .6s .2s ease both;
}

/* Keresődoboz */
.hero-search {
  margin-top: 2.5rem; background: var(--white);
  border: 1.5px solid var(--light); border-radius: var(--radius);
  padding: .5rem; display: flex; gap: .5rem; align-items: stretch;
  max-width: 560px; box-shadow: 0 4px 32px rgba(0,0,0,.07);
  animation: fadeUp .6s .3s ease both;
}
.hero-search input {
  flex: 1; border: none; outline: none;
  font-family: 'DM Sans', sans-serif; font-size: .95rem;
  padding: .6rem 1rem; background: transparent; color: var(--ink);
}
.hero-search input::placeholder { color: var(--light); }
.hero-search select {
  border: none; outline: none; background: var(--paper);
  font-family: 'DM Sans', sans-serif; font-size: .875rem; color: var(--mid);
  padding: .5rem .8rem; border-radius: var(--radius-sm); cursor: pointer;
}
.hero-search button {
  background: var(--accent); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  padding: .6rem 1.5rem; font-family: 'DM Sans', sans-serif;
  font-size: .9rem; font-weight: 500; cursor: pointer;
  transition: background .2s, transform .1s; white-space: nowrap;
}
.hero-search button:hover  { background: #c94d08; }
.hero-search button:active { transform: scale(.98); }

.hero-tags {
  margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem;
  animation: fadeUp .6s .4s ease both;
}
.hero-tag {
  font-size: .8rem; color: var(--mid); padding: .3rem .85rem;
  border: 1px solid var(--light); border-radius: 99px;
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.hero-tag:hover { border-color: var(--accent); color: var(--accent); }

/* Hero jobb oldali kártya */
.hero-card-wrap { position: relative; animation: fadeUp .6s .2s ease both; }
.hero-card {
  background: var(--white); border-radius: 20px;
  border: 1px solid var(--light); overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,.1);
}
.hero-card-header {
  background: var(--accent2); padding: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.hero-card-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: #2563a8; display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700;
  color: #a8c8f0; flex-shrink: 0;
}
.hero-card-name  { font-weight: 600; color: var(--white); font-size: .95rem; }
.hero-card-job   { font-size: .8rem; color: #a8c8f0; margin-top: .15rem; }
.hero-card-stars { color: #f5c842; font-size: .85rem; letter-spacing: .05em; }
.hero-card-body  { padding: 1.25rem 1.5rem; }
.hero-card-row {
  display: flex; align-items: center; gap: .6rem; padding: .55rem 0;
  border-bottom: 1px solid var(--paper2); font-size: .875rem; color: var(--mid);
}
.hero-card-row:last-child { border-bottom: none; }
.hero-card-row strong { color: var(--ink); font-weight: 500; margin-left: auto; }
.hero-card-icon {
  width: 28px; height: 28px; border-radius: 8px; background: var(--paper2);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; flex-shrink: 0;
}
.hero-card-btn {
  display: block; width: 100%; margin-top: 1rem;
  background: var(--accent); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  padding: .8rem; font-family: 'DM Sans', sans-serif;
  font-size: .9rem; font-weight: 500; cursor: pointer;
  text-align: center; transition: background .2s; text-decoration: none;
}
.hero-card-btn:hover { background: #c94d08; }
.hero-float-badge {
  position: absolute; top: -16px; right: -16px;
  background: var(--accent2); color: var(--white);
  border-radius: 99px; padding: .5rem 1rem;
  font-size: .78rem; font-weight: 600;
  box-shadow: 0 4px 16px rgba(27,79,138,.35); white-space: nowrap;
}

/* ── STATISZTIKÁK ─────────────────────────────────────────── */
.stats {
  background: var(--accent2); padding: 3rem 5vw;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.stat { text-align: center; padding: 1rem; }
.stat-num {
  font-family: 'Syne', sans-serif; font-size: 2.5rem;
  font-weight: 800; color: var(--white); line-height: 1;
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: .825rem; color: #a8c8f0; margin-top: .4rem; font-weight: 300; }

/* ── SZEKCIÓ KÖZÖS ────────────────────────────────────────── */
.section { padding: 5rem 5vw; }
.section-label {
  font-size: .75rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent2); margin-bottom: .75rem;
}
.section-title {
  font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.15; max-width: 600px;
}
.section-sub {
  margin-top: .75rem; font-size: 1rem; color: var(--mid);
  font-weight: 300; max-width: 520px; line-height: 1.7;
}

/* ── HOGYAN MŰKÖDIK ───────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.step {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--light); padding: 2rem;
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.09); }
.step-num {
  font-family: 'Syne', sans-serif; font-size: 5rem;
  font-weight: 800; color: var(--paper2);
  position: absolute; top: -.5rem; right: 1rem;
  line-height: 1; pointer-events: none; user-select: none;
}
.step-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
}
.step-icon.orange { background: #fdeede; }
.step-icon.green  { background: #ddeaf8; }
.step-icon.blue   { background: #e5eeff; }
.step h3 { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.step p  { font-size: .9rem; color: var(--mid); line-height: 1.65; font-weight: 300; }

/* ── KATEGÓRIÁK ───────────────────────────────────────────── */
.cats-section { background: var(--paper2); padding: 5rem 5vw; }
.cats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem; margin-top: 2.5rem;
}
.cat-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--light); padding: 1.5rem 1rem;
  text-align: center; cursor: pointer; text-decoration: none;
  transition: all .22s; display: block; position: relative; overflow: hidden;
}
.cat-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--accent2); opacity: 0; transition: opacity .22s;
}
.cat-card:hover { border-color: var(--accent2); transform: translateY(-2px); }
.cat-card:hover::before { opacity: .04; }
.cat-card:hover .cat-icon { background: #ddeaf8; }
.cat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--paper2); margin: 0 auto .9rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; transition: background .22s;
}
.cat-name  { font-size: .875rem; font-weight: 600; color: var(--ink); }
.cat-count { font-size: .75rem; color: var(--mid); margin-top: .2rem; font-weight: 300; }

/* ── KIEMELT SZAKEMBEREK ──────────────────────────────────── */
.experts-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem; margin-top: 2.5rem;
}
.expert-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--light); overflow: hidden;
  transition: transform .25s, box-shadow .25s; cursor: pointer;
}
.expert-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.1); }
.expert-card-top { padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.expert-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 700;
}
.av1 { background: #fdeede; color: var(--accent); }
.av2 { background: #ddeaf8; color: var(--accent2); }
.av3 { background: #e5eeff; color: #1a3a7a; }
.expert-name     { font-weight: 600; font-size: .95rem; }
.expert-job      { font-size: .8rem; color: var(--mid); margin-top: .15rem; }
.expert-location { font-size: .78rem; color: var(--light); margin-top: .2rem; }
.expert-rating   { display: flex; align-items: center; gap: .3rem; margin-top: .4rem; }
.expert-stars    { color: #f5c842; font-size: .8rem; }
.expert-rnum     { font-size: .78rem; color: var(--mid); }
.expert-tags     { padding: 0 1.5rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.expert-tag {
  font-size: .73rem; padding: .2rem .65rem;
  border-radius: 99px; background: var(--paper2); color: var(--mid);
}
.expert-card-footer {
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--paper2); margin-top: 1rem;
}
.expert-price { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; }
.expert-price span { font-size: .75rem; font-weight: 400; color: var(--mid); }
.expert-btn {
  background: var(--accent2); color: var(--white);
  border: none; border-radius: 99px; padding: .45rem 1.1rem;
  font-family: 'DM Sans', sans-serif; font-size: .82rem; font-weight: 500;
  cursor: pointer; transition: background .2s;
}
.expert-btn:hover { background: var(--accent); }
.btn-all-experts {
  display: inline-block; padding: .8rem 2.5rem;
  border-radius: 99px; border: 1.5px solid var(--light);
  font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 500;
  color: var(--ink); text-decoration: none; transition: all .2s;
}
.btn-all-experts:hover { border-color: var(--accent); color: var(--accent); }

/* ── TAGSÁG / ÁRAK ────────────────────────────────────────── */
.pricing-section { background: var(--accent2); padding: 5rem 5vw; }
.pricing-section .section-label { color: #a8c8f0; }
.pricing-section .section-title { color: var(--white); }
.pricing-section .section-sub   { color: #c5d8ee; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; margin-top: 3rem;
}
.pricing-card {
  background: #163f72; border-radius: var(--radius);
  border: 1px solid #2557a0; padding: 2rem; transition: transform .25s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured { background: var(--accent); border-color: var(--accent); position: relative; }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #f5c842; color: #1a1400;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .3rem .9rem; border-radius: 99px; white-space: nowrap;
}
.pricing-name {
  font-family: 'Syne', sans-serif; font-size: .85rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--light); margin-bottom: .75rem;
}
.pricing-card.featured .pricing-name { color: rgba(255,255,255,.75); }
.pricing-price {
  font-family: 'Syne', sans-serif; font-size: 2.8rem;
  font-weight: 800; color: var(--white); line-height: 1;
}
.pricing-price sub { font-size: 1rem; font-weight: 400; vertical-align: baseline; color: var(--light); }
.pricing-per { font-size: .8rem; color: var(--light); margin-top: .3rem; font-weight: 300; }
.pricing-card.featured .pricing-per { color: rgba(255,255,255,.7); }
.pricing-divider { border: none; border-top: 1px solid #2557a0; margin: 1.5rem 0; }
.pricing-card.featured .pricing-divider { border-color: rgba(255,255,255,.25); }
.pricing-feature {
  display: flex; align-items: center; gap: .6rem;
  font-size: .875rem; color: #c5d8ee; margin-bottom: .6rem;
}
.pricing-card.featured .pricing-feature { color: rgba(255,255,255,.85); }
.pricing-check { color: #a8c8f0; font-size: .85rem; }
.pricing-card.featured .pricing-check { color: rgba(255,255,255,.9); }
.pricing-cta {
  display: block; width: 100%; margin-top: 1.5rem;
  padding: .85rem; border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-size: .9rem; font-weight: 500;
  text-align: center; cursor: pointer; text-decoration: none;
  transition: all .2s; border: 1.5px solid #2557a0;
  background: transparent; color: var(--white);
}
.pricing-cta:hover { background: #2557a0; border-color: #3068b8; }
.pricing-card.featured .pricing-cta { background: var(--white); color: var(--accent); border-color: var(--white); }
.pricing-card.featured .pricing-cta:hover { background: #ffe8de; }

/* ── ÉRTÉKELÉSEK ──────────────────────────────────────────── */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; margin-top: 3rem;
}
.review-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--light); padding: 1.75rem;
}
.review-stars  { color: #f5c842; font-size: .9rem; margin-bottom: 1rem; }
.review-text   { font-size: .9rem; color: var(--ink); line-height: 1.7; font-weight: 300; font-style: italic; margin-bottom: 1.25rem; }
.review-author { display: flex; align-items: center; gap: .75rem; }
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper2); display: flex; align-items: center;
  justify-content: center; font-size: .75rem; font-weight: 600; color: var(--mid);
}
.review-name { font-size: .85rem; font-weight: 600; }
.review-job  { font-size: .75rem; color: var(--mid); }

/* ── CTA SÁV ──────────────────────────────────────────────── */
.cta-section {
  background: var(--accent); padding: 5rem 5vw;
  display: grid; grid-template-columns: 1fr auto;
  gap: 3rem; align-items: center;
}
.cta-section h2 {
  font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; color: var(--white); line-height: 1.2; letter-spacing: -.02em;
}
.cta-section p { font-size: 1rem; color: rgba(255,255,255,.8); margin-top: .75rem; font-weight: 300; }
.cta-btns { display: flex; gap: 1rem; flex-direction: column; }
.cta-btn-main {
  background: var(--white); color: var(--accent);
  padding: .85rem 2rem; border-radius: 99px;
  font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 600;
  text-decoration: none; white-space: nowrap; text-align: center; transition: background .2s;
}
.cta-btn-main:hover { background: var(--paper); }
.cta-btn-sec {
  background: transparent; color: var(--white);
  padding: .85rem 2rem; border-radius: 99px;
  border: 1.5px solid rgba(255,255,255,.5);
  font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 500;
  text-decoration: none; white-space: nowrap; text-align: center;
  transition: border-color .2s, background .2s;
}
.cta-btn-sec:hover { border-color: rgba(255,255,255,.9); background: rgba(255,255,255,.1); }

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--ink); padding: 3rem 5vw 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand .nav-logo { display: block; margin-bottom: .75rem; }
.footer-desc { font-size: .85rem; color: var(--mid); font-weight: 300; line-height: 1.7; max-width: 240px; }
.footer-col h4 {
  font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--light); margin-bottom: 1rem;
}
.footer-col a {
  display: block; font-size: .875rem; color: var(--mid);
  text-decoration: none; margin-bottom: .5rem; transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  background: var(--ink); padding: 1.25rem 5vw;
  border-top: 1px solid #1e3250;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy  { font-size: .8rem; color: var(--mid); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .8rem; color: var(--mid); text-decoration: none; }
.footer-legal a:hover { color: var(--white); }

/* ── ANIMÁCIÓK ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ── TABLET: max 900px ────────────────────────────────────── */
@media (max-width: 900px) {
  nav { position: relative; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--light);
    flex-direction: column; gap: 0; padding: .5rem 0; z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .85rem 5vw; font-size: 1rem; border-bottom: 1px solid var(--paper2); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { margin: .75rem 5vw !important; border-radius: var(--radius-sm) !important; text-align: center; padding: .75rem !important; }

  .hero { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 5vw; }
  .hero-card-wrap { display: none; }
  .hero-search { flex-wrap: wrap; }
  .hero-search input  { flex: 1 1 100%; }
  .hero-search select { flex: 1 1 45%; }
  .hero-search button { flex: 1 1 45%; }

  .stats { grid-template-columns: repeat(2, 1fr); padding: 2rem 5vw; }
  .stat-num { font-size: 2rem; }
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .pricing-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pricing-card.featured { order: -1; }
  .reviews-grid { grid-template-columns: 1fr; gap: 1rem; }
  .cta-section { grid-template-columns: 1fr; gap: 2rem; padding: 3.5rem 5vw; }
  .cta-btns { flex-direction: row; flex-wrap: wrap; }
  .cta-btn-main, .cta-btn-sec { flex: 1 1 200px; }
  footer { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2.5rem 5vw; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}

/* ── MOBIL: max 600px ─────────────────────────────────────── */
@media (max-width: 600px) {
  .section, .cats-section, .pricing-section { padding: 3rem 5vw; }
  .hero { padding: 2.5rem 5vw 2rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-sub { font-size: 1rem; }
  .hero-search { flex-direction: column; }
  .hero-search input, .hero-search select, .hero-search button { width: 100%; flex: 1 1 100%; }
  .hero-tags { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; }
  .hero-tags::-webkit-scrollbar { display: none; }
  .hero-tag { flex-shrink: 0; }
  .stats { padding: 1.5rem 5vw; }
  .stat-num { font-size: 1.75rem; }
  .stat-label { font-size: .75rem; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .cats-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .cat-icon { width: 42px; height: 42px; font-size: 1.2rem; }
  .cat-name { font-size: .8rem; }
  .experts-grid { grid-template-columns: 1fr; }
  .step { padding: 1.5rem; }
  .step-num { font-size: 3.5rem; }
  .pricing-card { padding: 1.5rem; }
  .pricing-price { font-size: 2.2rem; }
  .cta-section { padding: 2.5rem 5vw; }
  .cta-btns { flex-direction: column; }
  .cta-btn-main, .cta-btn-sec { flex: 1 1 100%; text-align: center; }
  footer { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── HIRDETŐSÁV ───────────────────────────────────────────── */
.ad-banner-section {
  background: var(--paper2); padding: 1.5rem 5vw;
  border-top: 1px solid var(--light);
}
.ad-banner-label {
  font-size: .7rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--light);
  margin-bottom: .75rem;
}
.ad-banner-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .75rem;
}
.ad-card {
  background: var(--white); border-radius: var(--radius-sm);
  border: 1px solid var(--light); padding: .85rem 1rem;
  display: flex; align-items: center; gap: .85rem;
  transition: box-shadow .2s;
}
.ad-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.ad-icon { font-size: 1.4rem; flex-shrink: 0; }
.ad-content { flex: 1; min-width: 0; }
.ad-title { font-size: .875rem; font-weight: 600; color: var(--ink); }
.ad-sub   { font-size: .775rem; color: var(--mid); margin-top: .1rem; }
.ad-btn   {
  font-size: .775rem; color: var(--accent2); text-decoration: none;
  white-space: nowrap; font-weight: 500;
}
.ad-btn:hover { text-decoration: underline; }

/* ── ZIP AUTOCOMPLETE DROPDOWN ────────────────────────────── */
.zip-dropdown {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
  background: var(--white); border: 1.5px solid var(--accent2);
  border-top: none; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  max-height: 220px; overflow-y: auto; display: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.zip-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem 1rem; cursor: pointer; transition: background .15s;
}
.zip-item:hover { background: var(--paper); }
.zip-code { font-family: monospace; font-size: .85rem; color: var(--accent2); font-weight: 600; min-width: 42px; }
.zip-city { font-size: .875rem; color: var(--ink); }

/* ── EXPERT PROFIL FOTÓ ───────────────────────────────────── */
.expert-avatar-img {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--light);
}

/* ── NAV AKTÍV LINK ───────────────────────────────────────── */
.nav-links a.active { color: var(--accent2); font-weight: 600; }

/* ── FLASH ÜZENET ─────────────────────────────────────────── */
.flash-msg {
  position: fixed; top: 80px; right: 1.5rem; z-index: 200;
  padding: .85rem 1.25rem; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 500;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  transition: opacity .5s;
}
.flash-ok  { background: #edf7f1; color: #1a7a4a; border: 1px solid #a8d9bc; }
.flash-err { background: #fdf0ef; color: #c0392b; border: 1px solid #f5c6c1; }

@media (max-width: 600px) {
  .ad-banner-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   AUTH OLDALAK — login, register, verify
   ═══════════════════════════════════════════════════════════ */

/* Kétoszlopos auth layout */
.auth-page-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 64px);
  align-items: stretch;
}

/* Bal panel */
.auth-left {
  background: var(--accent2); padding: 4rem 8%;
  display: flex; flex-direction: column; justify-content: center;
  overflow-y: auto;
}
.auth-left-eyebrow {
  font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: #a8c8f0; margin-bottom: 1.25rem;
}
.auth-left-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  font-weight: 800; color: var(--white); line-height: 1.1;
  letter-spacing: -.02em; margin-bottom: 1rem;
}
.auth-left-title em { font-style: normal; color: var(--accent); }
.auth-left-sub {
  font-size: .95rem; color: #c5d8ee; font-weight: 300;
  line-height: 1.7; margin-bottom: 2rem;
}
.auth-benefits { display: flex; flex-direction: column; gap: .85rem; }
.auth-benefit {
  display: flex; align-items: flex-start; gap: .85rem;
  font-size: .875rem; color: #c5d8ee; line-height: 1.5;
}
.auth-benefit-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.auth-benefit strong { color: var(--white); display: block; margin-bottom: .1rem; }

/* Dekoratív kártyák (login) */
.auth-deco-cards { display: flex; flex-direction: column; gap: .75rem; }
.auth-deco-card {
  background: rgba(255,255,255,.1); border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  padding: .9rem 1.1rem;
  display: flex; align-items: center; gap: .85rem;
}
.auth-deco-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.auth-deco-text { font-size: .85rem; color: var(--white); }
.auth-deco-sub  { font-size: .75rem; color: #a8c8f0; margin-top: .1rem; }

/* Jobb panel — form */
.auth-right {
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 8%; overflow-y: auto;
}
.auth-form-box { width: 100%; max-width: 440px; }
.auth-form-title {
  font-family: 'Syne', sans-serif; font-size: 1.75rem;
  font-weight: 800; letter-spacing: -.02em; margin-bottom: .4rem;
}
.auth-form-sub { font-size: .9rem; color: var(--mid); margin-bottom: 1.75rem; }
.auth-form-sub a { color: var(--accent2); text-decoration: none; font-weight: 500; }
.auth-form-sub a:hover { text-decoration: underline; }

/* Középre igazított auth (verify, success) */
.auth-center-wrap {
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - 180px); padding: 3rem 1rem;
}
.auth-card {
  background: var(--white); border-radius: 20px;
  border: 1px solid var(--light); padding: 3rem 2.5rem;
  max-width: 480px; width: 100%; text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,.07);
}
.auth-result-icon {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; margin: 0 auto 1.5rem;
}
.auth-result-ok  { background: #edf7f1; }
.auth-result-err { background: #fdf0ef; }
.auth-result-title {
  font-family: 'Syne', sans-serif; font-size: 1.7rem;
  font-weight: 800; margin-bottom: .75rem; letter-spacing: -.02em;
}
.auth-result-sub { font-size: .95rem; color: var(--mid); line-height: 1.7; }

/* Form elemek */
.form-group  { margin-bottom: .85rem; display: flex; flex-direction: column; gap: .35rem; }
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form-section-label {
  display: block; font-size: .7rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent2); margin: 1.25rem 0 .6rem;
}
label { font-size: .8rem; font-weight: 500; color: var(--mid); }
.req  { color: var(--accent); margin-left: .2rem; }

input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], input[type="number"], select, textarea {
  width: 100%; padding: .72rem 1rem;
  border: 1.5px solid var(--light); border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-size: .9rem;
  color: var(--ink); background: var(--white); outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(27,79,138,.12);
}
input.has-error { border-color: #c0392b; }
input.has-error:focus { box-shadow: 0 0 0 3px rgba(192,57,43,.12); }

.pw-wrap     { position: relative; }
.pw-toggle   {
  position: absolute; right: .75rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--mid); font-size: .85rem; padding: .25rem; transition: color .2s;
}
.pw-strength      { height: 3px; border-radius: 99px; margin-top: .4rem; background: var(--paper2); overflow: hidden; }
.pw-strength-bar  { height: 100%; border-radius: 99px; width: 0; transition: width .3s, background .3s; }
.pw-hint          { font-size: .75rem; color: var(--mid); margin-top: .3rem; }

.form-meta        { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; font-size: .85rem; }
.remember-wrap    { display: flex; align-items: center; gap: .5rem; cursor: pointer; color: var(--mid); }
.remember-wrap input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent2); }
.forgot-link      { color: var(--accent2); text-decoration: none; }
.forgot-link:hover { text-decoration: underline; }

.checkbox-wrap    {
  display: flex; align-items: flex-start; gap: .65rem;
  padding: .75rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--light); background: var(--white);
  cursor: pointer; margin-bottom: .75rem;
}
.checkbox-wrap input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; accent-color: var(--accent2); margin-top: .1rem; }
.checkbox-label   { font-size: .85rem; color: var(--mid); line-height: 1.5; }
.checkbox-label a { color: var(--accent2); text-decoration: none; }
.checkbox-label a:hover { text-decoration: underline; }

.btn-submit {
  width: 100%; padding: .9rem; border: none;
  border-radius: var(--radius-sm); background: var(--accent2);
  color: var(--white); font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: background .2s, transform .1s; margin-top: .25rem;
}
.btn-submit:hover  { background: #154080; }
.btn-submit:active { transform: scale(.99); }

/* Szerepkör választó */
.role-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 1.5rem; }
.role-tab  {
  border: 1.5px solid var(--light); border-radius: var(--radius-sm);
  padding: .9rem; cursor: pointer; transition: all .2s;
  display: flex; align-items: center; gap: .75rem; background: var(--white);
}
.role-tab:hover         { border-color: var(--accent2); }
.role-tab.active        { border-color: var(--accent2); border-width: 2px; background: #eaf1fb; }
.role-tab-icon          { font-size: 1.2rem; flex-shrink: 0; }
.role-tab-title         { font-size: .9rem; font-weight: 600; color: var(--ink); }
.role-tab-sub           { font-size: .775rem; color: var(--mid); margin-top: .1rem; }

/* Szakember szekció */
.expert-section         { display: none; background: #eaf1fb; border-radius: var(--radius-sm); border: 1.5px solid #b0cceb; padding: 1rem; margin-bottom: .75rem; }
.expert-section.visible { display: block; }
.expert-section-title   { font-size: .8rem; font-weight: 600; color: var(--accent2); margin-bottom: .75rem; }

/* Alert dobozok */
.alert        { padding: .9rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1.1rem; font-size: .875rem; line-height: 1.5; }
.alert-error  { background: #fdf0ef; border: 1px solid #f5c6c1; color: #c0392b; }
.alert-warning{ background: #fff8e1; border: 1px solid #ffe082; color: #7a5a00; }
.alert-warning a { color: #7a5a00; font-weight: 600; }

/* Egyéb linkek */
.auth-divider { display: flex; align-items: center; gap: .75rem; margin: 1.25rem 0; color: var(--light); font-size: .8rem; }
.auth-divider::before, .auth-divider::after { content:''; flex:1; height:1px; background: var(--light); }
.auth-alt-link { text-align: center; font-size: .875rem; color: var(--mid); }
.auth-alt-link a { color: var(--accent2); font-weight: 500; text-decoration: none; }
.auth-alt-link a:hover { text-decoration: underline; }

/* Dev doboz */
.dev-box { background: #fff3cd; border: 1px solid #ffc107; border-radius: var(--radius-sm); padding: .85rem 1rem; font-size: .8rem; }

/* Responsive auth */
@media (max-width: 800px) {
  .auth-page-wrap  { grid-template-columns: 1fr; }
  .auth-left       { display: none; }
  .auth-right      { padding: 2.5rem 6%; align-items: flex-start; }
  .auth-center-wrap{ padding: 2rem 1rem; }
  .auth-card       { padding: 2rem 1.5rem; }
}
@media (max-width: 480px) {
  .form-row  { grid-template-columns: 1fr; }
  .role-tabs { grid-template-columns: 1fr; }
}
