/* ============================================================
   valas.hu — Main Stylesheet
   Palette: teal #163F47 · bronze #B87333 · cream #FAF7F1
   Typography: Canela (headings) · Inter (body)
   ============================================================ */



/* ---- 1. CSS Variables ---- */
:root {
  /* Brand colors */
  --teal:          #162e38;
  --teal-dark:     #0a1b24;
  --teal-mid:      #163F47;
  --teal-light:    rgba(22, 46, 56, 0.06);
  --teal-border:   rgba(22, 46, 56, 0.13);
  --bronze:        #B87333;
  --bronze-link:   #9E621C;
  --bronze-bright: #e8a85e;
  --bronze-mid:    #C07A28;
  --bronze-dark:   #A7652E;
  --bronze-light:  rgba(184, 115, 51, 0.10);

  /* Backgrounds */
  --cream-light:   #FDFCFA;
  --cream:         #FAF7F1;
  --cream-mid:     #F3EDE4;
  --cream-dark:    #EAE2D8;
  --cream-darkest: #D8CEBC;
  --white:         #FFFFFF;

  /* Text */
  --text:          #1E1E1E;
  --text-soft:     #4A4A4A;
  --text-muted:    #7A7470;
  --on-teal:       rgba(250, 247, 241, 0.88);
  --on-teal-muted: rgba(250, 247, 241, 0.55);

  /* Typography */
  --f-heading: 'Spectral', Georgia, 'Times New Roman', serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w:     1140px;
  --max-w-sm:  780px;
  --pad-x:     1.5rem;
  --section-y: 5rem;
  --gap:       2rem;


  /* Background images */
  --teal-bg:   url('../../images/teal-texture.webp');
  --nav-bg:    url('../../images/nav-texture.webp');

  /* Effects */
  --r:         6px;
  --r-lg:      12px;
  --shadow-sm: 0 2px 8px rgba(22, 63, 71, 0.07);
  --shadow:    0 4px 20px rgba(22, 63, 71, 0.09);
  --shadow-lg: 0 8px 40px rgba(22, 63, 71, 0.13);
  --ease:      0.2s ease;
}

/* ---- 2. Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-soft);
  background-color: var(--cream);
}

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

a {
  color: var(--bronze-link);
  text-decoration: none;
  transition: color var(--ease), background var(--ease);
}
a:not(.btn):not(.link-cta):not(.nav-logo):not(.topic-card):not(.press-item):hover { color: var(--bronze-dark); background: rgba(184,115,51,0.1); border-radius: 2px; box-shadow: 3px 0 0 0 rgba(184,115,51,0.1), -3px 0 0 0 rgba(184,115,51,0.1); }

ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.35rem; }

/* ---- 3. Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--f-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--teal);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.h1-br { display: none; }
@media (min-width: 640px) { .h1-br { display: block; } }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 500; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-family: var(--f-heading); font-weight: 400; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--text); }

blockquote {
  position: relative;
  font-family: var(--f-body);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-soft);
  padding-left: 1rem;
  margin: 1.5rem 0 0.25rem 1.5rem;
  line-height: 1.7;
}
blockquote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.38rem;
  bottom: 0.38rem;
  width: 3px;
  background: var(--bronze);
}

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze-mid);
  margin-bottom: 0.65rem;
}
.label-light {
  color: var(--bronze);
  position: relative;
  padding: 1px 4em 0 1em;
  border-left: 5px solid var(--bronze);
  isolation: isolate;
}
.label-center {
  padding: 1px 2em;
  border-left: 5px solid var(--bronze);
  border-right: 5px solid var(--bronze);
  text-align: center;
}
.label-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(184,115,51,0.12);
  background-image: none;
  opacity: 1;
  z-index: -1;
}


/* ---- 4. Layout ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.container--sm {
  max-width: var(--max-w-sm);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section { padding: var(--section-y) 0; scroll-margin-top: 58px; }

/* Section themes */
.s-teal        { background-color: #162e38; background-image: var(--teal-bg); background-size: cover; background-position: center; background-repeat: no-repeat; }
.s-teal-deep   { background: #0F2D33; }
.s-teal-light  { background: #EDF3F4; }
.s-cream-light { background: var(--cream-light); }
.s-cream-mid   { background: var(--cream-mid); }
.s-cream-dark  { background: var(--cream-dark); }
.s-white       { background: var(--white); }

.s-teal h2, .s-teal h3, .s-teal h4, .s-teal strong { color: var(--cream); }
.s-teal p, .s-teal li { color: var(--on-teal); }
#hero .label {
  color: var(--bronze-bright);
}
.s-teal .label { color: var(--bronze-bright); }
.s-teal .bio-tag { color: var(--cream); background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.s-teal a:not(.btn):not(.link-cta),
.s-teal-deep a:not(.btn):not(.link-cta) { color: rgba(232,168,94,0.85); }
.s-teal a:not(.btn):not(.link-cta):not(.nav-logo):not(.topic-card):not(.press-item):hover,
.s-teal-deep a:not(.btn):not(.link-cta):not(.nav-logo):not(.topic-card):not(.press-item):hover,
.s-teal .link-cta:hover,
.s-teal-deep .link-cta:hover { color: var(--cream); background: rgba(255,255,255,0.12); border-radius: 2px; box-shadow: 3px 0 0 0 rgba(255,255,255,0.12), -3px 0 0 0 rgba(255,255,255,0.12); }
.s-teal a strong { color: inherit; }
.s-teal-deep h2, .s-teal-deep p { color: var(--on-teal); }

/* ---- 5. Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--r);
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease);
  white-space: nowrap;
  line-height: 1;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.btn-group--left { justify-content: flex-start; }
#miert-ugyveddel .btn-outline { background: var(--teal); color: var(--cream); border-color: var(--teal); }
#miert-ugyveddel .btn-outline:hover { background: var(--teal-mid); border-color: var(--teal-mid); color: var(--cream); transform: translateY(-1px); }

.btn-primary {
  background: var(--bronze);
  color: var(--white);
  border-color: var(--bronze);
}
.btn-primary:hover {
  background: var(--bronze-dark);
  border-color: var(--bronze-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--cream);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250,247,241,0.45);
}
.btn-outline-light:hover {
  background: rgba(250,247,241,0.10);
  border-color: var(--cream);
  color: var(--cream);
  text-decoration: none;
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ---- 6. Navigation ---- */
#main-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  transition: transform 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  --nav-h: clamp(58px, calc(42px + 2.2vw), 72px);
  height: var(--nav-h);
  background-color: var(--teal);
  background-image: var(--nav-bg);
  background-size: auto 100%;
  background-position: left center;
  overflow: visible;
  box-shadow: 0 4px 24px rgba(0,0,0,0.55);
}

#main-nav::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: linear-gradient(to bottom, rgba(22,63,71,0.22), transparent);
  -webkit-mask-image: linear-gradient(to right,
    black 0%,
    black 12%,
    transparent 36%,
    transparent 64%,
    black 85%,
    black 100%
  );
  mask-image: linear-gradient(to right,
    black 0%,
    black 12%,
    transparent 36%,
    transparent 64%,
    black 85%,
    black 100%
  );
  pointer-events: none;
}

/* Logo: flex column so subtitle centers under main text naturally.
   margin-left positions logo so content left edge cuts it at ~5/8.
   Formula: content_left_edge − (5/8 × ~200px logo width) ≈ content_edge − 125px */
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: max(1.5rem, calc((100% - var(--max-w)) / 2 + var(--pad-x) - 125px));
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-main {
  font-family: var(--f-heading);
  font-size: clamp(1.51rem, 1.27rem + 0.97vw, 2.15rem);
  font-weight: 400;
  color: #FBE5C2;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: color var(--ease);
}
.nav-logo:hover .nav-logo-main { color: #ffffff; }
.nav-logo-sub {
  font-family: var(--f-body);
  font-size: clamp(0.56rem, 0.47rem + 0.36vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bronze-bright);
  line-height: 1;
  margin-top: 1px;
  transition: color var(--ease);
}
.nav-logo:hover .nav-logo-sub { color: #E8C48A; }

/* nav-inner: fits to its own content, right edge aligned with content container */
.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  margin-left: auto;
  margin-right: max(var(--pad-x), calc((100% - var(--max-w)) / 2 + var(--pad-x)));
}

.nav-inner > nav {
  display: flex;
  align-items: center;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  padding: 0;
  margin-top: 5px;
}
.nav-menu a {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--on-teal);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  transition: color var(--ease), background var(--ease), opacity var(--ease);
}
#main-nav .nav-menu a:hover {
  color: var(--cream);
  opacity: 1;
  background: rgba(255,255,255,0.12);
  box-shadow: none;
}
.nav-menu a.active {
  color: var(--cream);
  background: rgba(255,255,255,0.12);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  margin-left: 1.5rem;
}

.nav-right .btn {
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  position: relative;
  top: 1px;
}
.nav-call-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--bronze);
  color: var(--white);
  flex-shrink: 0;
}
.nav-call-mobile svg { width: 20px; height: 20px; }
.nav-call-mobile:hover { background: var(--bronze-dark); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--cream);
  flex-direction: column;
  gap: 5px;
}
.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ---- 7. Hero ---- */
#hero {
  position: relative;
  padding: 5rem 0 5rem;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  background-color: var(--cream);
  border-bottom: 1px solid var(--teal-border);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  z-index: 0;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.85;
  background: linear-gradient(
    to right,
    rgba(250, 247, 241, 0.93) 0%,
    rgba(250, 247, 241, 0.94) 46%,
    rgba(250, 247, 241, 0.82) 65%,
    rgba(250, 247, 241, 0.50) 82%,
    rgba(250, 247, 241, 0.18) 95%,
    rgba(250, 247, 241, 0.08) 100%
  );
}

#hero .container {
  position: relative;
  z-index: 2;
  margin-left: max(var(--pad-x), calc((100vw - var(--max-w)) / 2));
  margin-right: 0;
}

#hero .kred {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 2.5rem;
  display: block;
}
.kred-mobile { display: none; }
.kred-desktop { display: inline; }

#hero h1 {
  color: var(--teal);
  margin-bottom: 1.75rem;
  max-width: 900px;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
}

.hero-lead {
  font-family: var(--f-body);
  font-style: italic;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--text-soft);
  line-height: 1.82;
  max-width: 900px;
  margin-bottom: 1.5rem;
}

.hero-credential {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.hero-actions .btn-outline {
  background: var(--teal);
  color: var(--cream);
  border-color: var(--teal);
}
.hero-actions .btn-outline:hover {
  background: var(--teal-mid);
  color: var(--cream);
  border-color: var(--teal-mid);
  transform: translateY(-1px);
}

/* ---- 8. Section Intro ---- */
.section-intro {
  max-width: 700px;
  margin-bottom: 2.5rem;
}
.section-intro h2 { margin-bottom: 0.75rem; }
#hogyan-valjak-el .section-intro h2 { margin-bottom: 2rem; }
.section-intro p { color: var(--text-soft); line-height: 1.65; }

.pricing-lead {
  max-width: 70%;
  margin-bottom: 1.25rem;
  color: var(--text-soft);
}

#dijak { padding: 5rem 0; }
#dijak .section-intro { margin-bottom: 1.5rem; }
#dijak .section-intro h2 { margin-bottom: 1.5rem; }
.pricing-prose p { margin-bottom: 0.6rem; }
.pricing-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  background: var(--cream-mid);
  border: 1px solid var(--cream-darkest);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.pricing-row > .fa-solid {
  font-size: 1.8rem;
  color: var(--bronze);
  opacity: 0.75;
  flex-shrink: 0;
  margin-top: 0.1rem;
  width: 2.2rem;
  text-align: center;
}
.pricing-row p { margin: 0; }
.pricing-row strong {
  display: block;
  font-family: var(--f-heading);
  font-size: 1.2rem;
  color: var(--teal);
  margin-bottom: 0.2rem;
}
#dijak .split { grid-template-columns: 5fr 6fr; align-items: stretch; }
#dijak .split > div { display: flex; flex-direction: column; }
#dijak .split > div .pricing-card { flex: 1; }
#dijak .pricing-prose { display: flex; flex-direction: column; gap: 1rem; }
#dijak .pricing-prose .pricing-row { flex: 1; margin-bottom: 0; }
/* ---- 9. Two-column Split ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}
.split > * { min-width: 0; }
.split--3-2  { grid-template-columns: 7fr 4fr; }
#nem-olyan-veszes .split { align-items: end; }
#nem-olyan-veszes .split > div:last-child { transform: translateY(-6px); }
#hogyan-valjak-el { padding-bottom: 3rem; }
#hogyan-valjak-el .section-intro { margin-bottom: 0; }
#hogyan-valjak-el-cards { padding-top: 3rem; }
#hogyan-valjak-el .split { align-items: stretch; }
#hogyan-valjak-el .full-emphasis { text-align: left; margin-left: 0; margin-right: 0; margin-top: calc(var(--gap) * 1.75); margin-bottom: 0; border-left: 4px solid var(--bronze); border-top: none; border-right: none; border-bottom: none; width: 80%; }
.intro-split { display: grid; grid-template-columns: 11fr 9fr; gap: var(--gap); margin-top: 1rem; align-items: start; }
.intro-list-box { background: var(--cream-dark); border-left: 4px solid var(--bronze); border-radius: var(--r-lg); padding: 1rem 1rem 1rem 1.25rem; }
.intro-list-box h3 { margin-bottom: 1.4rem; font-weight: 500; }
.intro-list { list-style: none; margin-top: 0.5rem; margin-bottom: 0; padding-left: 0; counter-reset: intro-steps; color: var(--text-soft); line-height: 1.65; }
.intro-list li { counter-increment: intro-steps; padding-left: 2.6rem; position: relative; margin-bottom: 0.4rem; font-size: 0.9rem; }
.intro-list li::before { content: counter(intro-steps); position: absolute; left: 0; top: calc((1.65rem - 1.3rem) / 2); width: 1.3rem; height: 1.3rem; background: var(--bronze); opacity: 0.7; color: #fff; border-radius: 50%; font-size: 0.65rem; font-weight: 700; font-family: var(--f-body); text-align: center; line-height: 1.3rem; }
.note-important {
  width: 90%;
  padding-top: 0.1rem;
  border-left: 4px solid var(--bronze);
  padding-left: 1.25rem;
}
.note-important::before {
  content: "Fontos tudni";
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.6rem;
}
#hogyan-valjak-el .card { padding-top: 2rem; }
#hogyan-valjak-el .card h3, #hogyan-valjak-el-cards .card h3 { margin-bottom: 1.75rem; color: var(--bronze); font-weight: 500; }
#hogyan-valjak-el .card h3 .fa-solid, #hogyan-valjak-el-cards .card h3 .fa-solid { font-size: 1.8rem; color: var(--bronze); opacity: 0.9; vertical-align: middle; margin-right: 0.4rem; position: relative; top: -2px; }
.valas-lepései-card { max-width: 680px; margin: 0 auto; }
#valas-lepései .section-intro { margin-bottom: 2rem; }
#mit-kell-rendezni .section-intro h2 { margin-bottom: 1.5rem; }
#gyerekek .section-intro h2 { margin-bottom: 1.5rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step-item { background: var(--white); border: 1px solid var(--cream-mid); border-radius: var(--r-lg); padding: 3rem 1.75rem 1.5rem; position: relative; box-shadow: var(--shadow-sm); }
.step-item--plus { padding: 3rem 1.75rem 2rem; margin-top: 3rem; }
.step-item--plus::before { content: ''; position: absolute; top: -1.5rem; left: 0; right: 0; height: 1px; background: var(--cream-mid); }
.step-icon { font-size: 1.8rem; color: var(--bronze); opacity: 0.85; }
#valas-lepései .step-icon { position: absolute; top: 1.5rem; right: 1.5rem; }
.step-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze); }
#valas-lepései .step-label { position: absolute; top: 1.75rem; left: 1.75rem; }
.step-item h3 { font-size: 1.05rem; font-family: var(--f-body); font-weight: 600; margin-bottom: 0.75rem; color: var(--teal); padding-bottom: 0.75rem; border-bottom: 1px solid var(--cream-mid); }
.step-item p { font-size: 0.9rem; color: var(--text-soft); line-height: 1.65; margin: 0; }
#hogyan-valjak-el .card--accent ol { list-style: none; padding-left: 0; counter-reset: steps; margin-bottom: 1rem; }
#hogyan-valjak-el .card--accent ol li { counter-increment: steps; font-size: 0.85rem; padding-left: 2.4rem; position: relative; margin-bottom: 0.55rem; line-height: 1.5; }
#hogyan-valjak-el .card--accent ol li:last-child::before { content: "+1"; }
#hogyan-valjak-el .card--accent ol li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.3rem;
  height: 1.3rem;
  background: var(--bronze);
  color: #fff;
  opacity: 0.8;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--f-body);
  text-align: center;
  line-height: 1.3rem;
}
#nem-olyan-veszes .card .btn { display: block; width: fit-content; margin-left: auto; font-size: 0.92rem; }
.split--2-3  { grid-template-columns: 4fr 7fr; }
.split--bio  { grid-template-columns: 360px 1fr; gap: 3rem; align-items: center; }

/* ---- 10. Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.25rem 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(22,63,71,0.07);
  height: 100%;
}
.card h3 { color: var(--teal); margin-bottom: 1.25rem; }
#vagyon .card h3 { font-weight: 400; text-align: left; margin-top: 0.5rem; padding-left: 2.7rem; }
#vagyon .split { align-items: center; }
#vagyon .card ul li { font-size: 0.9rem; }
#vagyon .card ul li:nth-child(1)::before { content: "\f015"; } /* fa-house */
#vagyon .card ul li:nth-child(2)::before { content: "\f19c"; } /* fa-landmark */
#vagyon .card ul li:nth-child(3)::before { content: "\f1b9"; } /* fa-car */
#vagyon .card ul li:nth-child(4)::before { content: "\f073"; } /* fa-calendar-days */
#vagyon .card ul li:nth-child(5)::before { content: "\f53a"; } /* fa-money-bill-wave */
#vagyon .card-actions { justify-content: flex-start; margin-top: 2rem; padding-left: 2.7rem; margin-bottom: 0.3rem; }
#vagyon .card-actions .btn { font-size: 0.82rem; padding: 0.6rem 1.25rem; }
#vagyon .card-actions .btn-outline { background: var(--teal); color: var(--cream); border-color: var(--teal); }
#vagyon .card-actions .btn-outline:hover { background: var(--teal-mid); border-color: var(--teal-mid); transform: translateY(-1px); }
.card p { font-size: 0.925rem; }

.card--teal {
  background: var(--teal);
  border-color: transparent;
}
.card--teal h3 { color: var(--cream); }
.card--teal p  { color: var(--on-teal); }

.card--glass { background: rgba(255,255,255,0.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.15); }
.card--glass h3 { color: var(--cream); }
.card--glass p  { color: var(--on-teal); }
.card--accent { border-left: 4px solid var(--bronze); }

.card-divider {
  border: none;
  border-top: 1px solid var(--teal-border);
  margin: 1.5rem 0;
}

.card-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

/* Full-width emphasis block */
.full-emphasis {
  background: var(--cream);
  border: 1px solid rgba(184,115,51,0.20);
  border-radius: var(--r);
  padding: 1.75rem 1.75rem;
  margin-top: var(--gap);
  font-family: var(--f-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  text-align: center;
}

.pricing-card.full-emphasis {
  font-family: var(--f-body);
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.4;
  background: var(--cream-dark);
  border-color: var(--cream-darkest);
  margin-top: 0;
  padding: 1.75rem 2.75rem;
  text-align: left;
}
.pricing-card.full-emphasis h3 {
  font-size: 1.3rem;
  color: var(--teal);
}

/* ---- 11. Decision list (S6 mit kell rendezni) ---- */
.dl-footnote {
  color: var(--text-soft);
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

.decision-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.decision-list li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--teal-border);
  border-radius: var(--r);
  padding: 1.1rem;
}

.dl-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bronze);
  color: var(--white);
  font-family: var(--f-heading);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dl-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.dl-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.35rem;
}
.dl-text a {
  font-size: 0.75rem;
  color: var(--bronze);
  font-weight: 500;
  text-decoration: none;
}
.dl-text a:hover { background: rgba(184,115,51,0.1); border-radius: 2px; padding: 0 2px; }

/* Alert/Warning Box */
.alert-box {
  border: 1px solid rgba(184,115,51,0.30);
  background: rgba(184,115,51,0.06);
  border-radius: var(--r);
  padding: 1.1rem 1.4rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.alert-icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.2rem; }
.alert-box p { font-size: 0.875rem; margin: 0; color: var(--text); }
.alert-box a { font-weight: 600; }

/* ---- 12. Gender blocks (S7) ---- */
.gender-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.gender-block {
  background: var(--white);
  border: 1px solid var(--teal-border);
  border-top: 3px solid var(--teal);
  border-radius: var(--r);
  padding: 1.25rem 1.25rem 1.25rem;
}
.gender-block h4 {
  font-family: var(--f-heading);
  font-size: 1rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.gender-block p { font-size: 0.875rem; color: var(--text-soft); }

/* ---- 13. Steps / Process ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step { text-align: center; }

.step-num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bronze);
  color: var(--white);
  font-family: var(--f-heading);
  font-size: 2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 1rem;
}
.step p { font-size: 0.875rem; color: var(--on-teal); }

.step-closing {
  text-align: center;
  margin-top: 3rem;
  font-family: var(--f-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--on-teal);
}

/* ---- 14. Topic card grid (S15) ---- */
#szakteruletek .section-intro { margin-bottom: 3.5rem; }
#vagyon .section-intro { margin-bottom: 1.5rem; }
#vagyon .split > div:last-child { align-self: end; transform: translateY(-6px); }
#babavaro .section-intro { margin-bottom: 1.5rem; }
#nem-olyan-veszes .section-intro { margin-bottom: 1.5rem; }
#miert-ugyveddel .section-intro { margin-bottom: 1.5rem; }
#miert-ugyveddel .split { grid-template-columns: 11fr 9fr; }
#miert-ugyveddel .split > div:last-child { align-self: end; transform: translateY(-6px); overflow: hidden; }
#egyutt-eles .split > div:last-child { align-self: center; }
#szakteruletek .section-intro h2 { margin-bottom: 1.5rem; }
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 0.875rem;
}

.topic-card {
  background: var(--cream-light);
  border: 1px solid var(--cream-darkest);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 4px rgba(22,63,71,0.04);
  transform: translateZ(0);
  padding: 1.2rem 1.2rem 0.3rem;
  text-decoration: none;
  outline: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--ease), transform var(--ease), background var(--ease), border-color var(--ease);
}
.topic-card:hover, .topic-card:focus {
  background: var(--cream-mid);
  border-color: #A8B4B4;
  box-shadow: var(--shadow);
  transform: translateY(-2px) translateZ(0);
  text-decoration: none;
  outline: none;
}
.topic-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bronze);
  margin-bottom: 0.75rem;
}
.topic-card p {
  font-size: 0.78rem;
  color: var(--text-soft);
  border-top: 1px solid var(--cream-dark);
  padding-top: 0.65rem;
  margin: 0 0 0.1rem;
}
.topic-card .arrow {
  font-size: 0.72rem;
  color: var(--bronze);
  font-weight: 500;
  margin-top: auto;
  align-self: flex-end;
}

/* ---- 15. FAQ ---- */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-list { max-width: 100%; margin: 0; }

details {
  border-bottom: 1px solid var(--teal-border);
  transition: background 0.18s;
}
details:first-child { border-top: 1px solid var(--teal-border); }
details[open] > summary { color: var(--teal-dark); background: rgba(234,226,216,1); }
summary:hover { background: rgba(234,226,216,0.6); color: var(--teal-dark); }
summary:hover .faq-icon { color: var(--bronze-dark); }

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
  cursor: pointer;
  font-family: var(--f-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
  list-style: none;
  user-select: none;
}
summary::-webkit-details-marker { display: none; }

.faq-icon {
  font-size: 0.85rem;
  color: var(--bronze);
  flex-shrink: 0;
  transition: transform 0.22s;
  line-height: 1;
}
details[open] .faq-icon { transform: rotate(180deg); }

.faq-answer {
  padding: 0.75rem 2rem 1.5rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.85;
}

/* ---- 16. Bio section ---- */
.bio-header { margin-bottom: 2.5rem; }
.bio-img-col {
  padding-top: 0;
}
.bio-photo {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  display: block;
  object-fit: cover;
}
.bio-photo--zoom { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 32 32'%3E%3Ccircle cx='13' cy='13' r='9' fill='none' stroke='%23163F47' stroke-width='6'/%3E%3Cline x1='19.5' y1='19.5' x2='27' y2='27' stroke='%23163F47' stroke-width='6' stroke-linecap='round'/%3E%3Cline x1='13' y1='9' x2='13' y2='17' stroke='%23163F47' stroke-width='5.5' stroke-linecap='round'/%3E%3Cline x1='9' y1='13' x2='17' y2='13' stroke='%23163F47' stroke-width='5.5' stroke-linecap='round'/%3E%3Ccircle cx='13' cy='13' r='9' fill='none' stroke='%23FAF7F1' stroke-width='3.1'/%3E%3Cline x1='19.5' y1='19.5' x2='27' y2='27' stroke='%23FAF7F1' stroke-width='3.1' stroke-linecap='round'/%3E%3Cline x1='13' y1='9' x2='13' y2='17' stroke='%23FAF7F1' stroke-width='2.7' stroke-linecap='round'/%3E%3Cline x1='9' y1='13' x2='17' y2='13' stroke='%23FAF7F1' stroke-width='2.7' stroke-linecap='round'/%3E%3C/svg%3E") 10 10, zoom-in; }

/* Lightbox */
.bio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.bio-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.bio-lightbox-img {
  height: 92vh;
  max-height: 92vh;
  width: auto;
  max-width: 60vw;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  display: block;
}
.bio-lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--bronze);
  color: #fff;
  border: none;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2001;
  transition: background var(--ease);
}
.bio-lightbox-close:hover { background: var(--bronze-dark); }

.bio-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 1.5rem;
}
.bio-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
}

/* ---- Bio tabs ---- */
.bio-tabs { margin-top: 0; }
.bio-cta-links { display: flex; gap: 1.75rem; flex-wrap: wrap; align-items: center; }
.bio-tab-panel .link-cta { color: var(--cream); background: rgba(255,255,255,0.08); border-radius: 2px; box-shadow: 3px 0 0 0 rgba(255,255,255,0.08), -3px 0 0 0 rgba(255,255,255,0.08); }
.bio-cta-links .link-cta:last-child { opacity: 0.65; }
.bio-tab-panel .link-cta:hover { color: var(--cream); background: rgba(255,255,255,0.2); box-shadow: 3px 0 0 0 rgba(255,255,255,0.2), -3px 0 0 0 rgba(255,255,255,0.2); opacity: 1; }
.bio-tab-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2.75rem;
}
.bio-tab-btn {
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.bio-tab-btn:hover {
  background: var(--teal-border);
}
.bio-tab-btn.active {
  background: var(--teal);
  color: var(--cream);
  border-color: var(--teal);
}
.bio-tab-panels { display: grid; }
.bio-tab-panel { grid-area: 1/1; visibility: hidden; opacity: 0; pointer-events: none; }
.bio-tab-panel.active { visibility: visible; opacity: 1; pointer-events: auto; }
.bio-tab-panel h3 {
  font-family: var(--f-body);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--bronze-bright);
  margin: 0 0 1rem;
}

.s-teal .bio-tab-btn {
  color: var(--cream);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.s-teal .bio-tab-btn:hover {
  background: rgba(255,255,255,0.18);
}
.s-teal .bio-tab-btn.active {
  background: var(--bronze);
  color: var(--cream);
  border-color: var(--bronze);
}

/* ---- 17. Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 1.5rem;
}
.pricing-card {
  background: var(--cream);
  border: 1px solid var(--teal-border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.pricing-card--featured {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--on-teal);
}
.pricing-card__header {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.pricing-card h3 {
  font-family: var(--f-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: var(--teal);
}
.pricing-card--featured h3 { color: var(--bronze-bright); }
.pricing-tag {
  font-size: 0.7rem;
  color: var(--text-soft);
  font-weight: 400;
}
.pricing-card--featured .pricing-tag { color: var(--on-teal); opacity: 0.75; }
.pricing-amount {
  font-family: var(--f-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--bronze);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.pricing-card--featured .pricing-amount { color: var(--cream); }
.pricing-amount-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.pricing-unit {
  font-size: 0.95rem;
  color: var(--teal);
}
.pricing-card--featured .pricing-unit { color: var(--on-teal); opacity: 0.8; }
.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
  border-top: 1px solid var(--cream-darkest);
  padding-top: 1rem;
}
.pricing-card--featured .pricing-list { border-color: rgba(255,255,255,0.2); color: var(--on-teal); }
.pricing-list li {
  padding: 0.5rem 0 0.5rem 1.4rem;
  position: relative;
}
.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bronze-mid);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
}
.pricing-card--featured .pricing-list li::before { color: var(--bronze-bright); }
@media (max-width: 720px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---- 18. Press ---- */
#sajto h2 { margin-bottom: 1.5rem; }
.press-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin: 1.5rem 0 2rem;
}
.press-item {
  display: flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--teal-border);
  border-radius: var(--r);
  opacity: 0.82;
  transition: opacity var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.press-item img {
  display: block;
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}
.press-item:hover img { opacity: 1; }
.press-item:hover {
  opacity: 1;
  background: var(--cream);
  border-color: var(--teal-border);
  box-shadow: 0 2px 8px rgba(22,63,71,0.10);
  transform: translateY(-2px);
}

/* ---- 19. Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 6fr 7fr;
  gap: 0.5rem;
  align-items: stretch;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.contact-list li:last-child { margin-top: -0.4rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.contact-item-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--bronze);
  margin-top: -2px;
}
.contact-item:first-child { align-items: center; }
.contact-item:first-child .contact-item-icon,
.contact-item:first-child .contact-item-icon svg { width: 22px; height: 22px; }
.contact-item-icon svg { width: 24px; height: 24px; }
.contact-item-body {
  color: var(--on-teal);
  font-size: 0.95rem;
  line-height: 1.4;
}
.contact-item-phone {
  font-family: var(--f-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  display: block;
  line-height: 1.2;
  transition: color var(--ease);
}
.contact-item-phone:hover { color: var(--bronze); }
.contact-item-link {
  color: var(--cream);
  text-decoration: none;
  transition: color var(--ease);
}
.contact-item-link:hover { color: var(--cream); }
.contact-item-label {
  color: var(--bronze-bright);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact-addr-block {
  display: inline-block;
  line-height: 1.3;
}
.contact-addr-sub {
  color: rgba(250, 247, 241, 0.60);
  font-size: 0.9rem;
}
.contact-item-note {
  color: rgba(250, 247, 241, 0.38);
  font-size: 0.82rem;
}

/* ---- 19. Footer ---- */
footer {
  background: var(--teal-dark);
  padding: 1rem 0 1.5rem;
  color: rgba(250,247,241,0.35);
  font-size: 0.78rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.footer-legal {
  color: rgba(250,247,241,0.35);
  font-size: 0.72rem;
  line-height: 1.6;
  margin: 0;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.footer-legal a { color: rgba(250,247,241,0.45); }
.footer-br { display: none; }
@media (min-width: 1080px) { .footer-br { display: block; } }
.footer-links {
  color: rgba(250,247,241,0.75);
  font-size: 0.78rem;
  margin: 0;
  line-height: 1;
}
.footer-copy {
  color: rgba(250,247,241,0.35);
  font-size: 0.78rem;
  margin: 0;
  line-height: 1;
}
footer a { color: rgba(250,247,241,0.75); text-decoration: none; }
footer a:not(.btn):not(.link-cta):not(.nav-logo):not(.topic-card):not(.press-item):hover { color: var(--cream); background: rgba(255,255,255,0.12); border-radius: 2px; box-shadow: 3px 0 0 0 rgba(255,255,255,0.12), -3px 0 0 0 rgba(255,255,255,0.12); }

/* ---- 20. Utilities ---- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1.75rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bronze);
  text-decoration: none;
}
.link-cta:hover { color: var(--bronze-dark); background: rgba(184,115,51,0.1); border-radius: 2px; box-shadow: 3px 0 0 0 rgba(184,115,51,0.1), -3px 0 0 0 rgba(184,115,51,0.1); }

/* ---- 21. Back to top ---- */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 2rem;
  padding: 0.55rem 1.1rem;
  background: rgba(250, 247, 241, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(22, 63, 71, 0.22);
  border-radius: var(--r);
  color: rgba(22, 63, 71, 0.65);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s, background 0.2s, color 0.2s;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
#main-nav.nav-hidden { transform: translateY(-100%); }
@media (min-width: 759px) {
  #main-nav.nav-hidden { transform: none; }
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover {
  background: rgba(250, 247, 241, 0.45);
  color: var(--teal);
}

/* ---- 22. Responsive ---- */

/* Hero: H1 wraps with commas, narrow content (< 1840px) */
@media (max-width: 1840px) {
  #hero h1 { white-space: normal; font-size: clamp(1.8rem, 5vw, 2.4rem); }
  .kred-mobile { display: inline; }
  .kred-desktop { display: none; }
  .pipe { display: none; }
  .h1-seg { display: block; }
  .h1-seg:not(:last-child)::after { content: ','; }
  .hero-lead { max-width: 600px; }
  #hero .container { max-width: 680px; }
}

/* Tablet: hamburger nav, single-column layouts (< 1080px) */
@media (min-width: 900px) and (max-width: 1290px) {
  .footer-right { padding-right: calc(2rem + 56px); }
}

@media (max-width: 1080px) {
  :root { --section-y: 3.5rem; }

  /* Nav: show hamburger, collapse menu into dropdown */
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 58px; left: 0; right: 0;
    background: var(--teal);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    gap: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 0.75rem 1.5rem; border-radius: 0; }

  /* Layouts: single column */
  .split, .split--3-2, .split--2-3, .split--bio { grid-template-columns: 1fr; }
  .split--bio { gap: 2rem; }
  .bio-img-col { max-width: 260px; padding-top: 0; }
  .gender-split { grid-template-columns: 1fr; }
  #dijak .split { grid-template-columns: 1fr; }
  .pricing-lead { max-width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 3rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .intro-split { grid-template-columns: 1fr; }
  #miert-ugyveddel .split { grid-template-columns: 1fr; }
  #miert-ugyveddel .card { padding-left: 1.25rem; padding-right: 1.25rem; }
  #egyutt-eles .card { padding-left: 1.25rem; padding-right: 1.25rem; }
  #babavaro .card { padding-left: 1.25rem; padding-right: 1.25rem; }
  .press-item img { height: 22px; }
  #dijak .pricing-card { padding-left: 1.25rem; padding-right: 1.25rem; }
  summary { padding-left: 1rem; padding-right: 1rem; }
  .faq-answer { padding-left: 1rem; padding-right: 1rem; }
  .press-items { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; }
  .press-item { justify-content: center; width: 100%; }
  #nem-olyan-veszes .card { padding-left: 1.25rem; padding-right: 1.25rem; }
  .step { text-align: center; }
  .step-label { margin: 0 auto 0.75rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  #kapcsolat .contact-grid > div:last-child { justify-content: flex-start; }
}

/* Nav: swap phone number text for icon (< 500px) */
@media (max-width: 500px) {
  .nav-call-desktop { display: none; }
  .nav-call-mobile { display: flex; }
}

/* Hero: swap to mobile background below 760px */
@media (max-width: 758px) {
  #back-to-top { right: 1rem; bottom: calc(1.5rem + 15px); }
  #kapcsolat .card--glass { padding: 0.85rem 1.25rem 1rem 1.25rem !important; }
}

@media (max-width: 760px) {
  .hero-img { display: none; }
  #hero {
    background-image: url('../../images/hero-bkgd-mobile.webp');
    background-size: cover;
    background-position: center top;
  }
  #hero::before {
    background: rgba(250, 247, 241, 0.88);
    opacity: 1;
  }
}

/* Mobile: stacked hero, reduced spacing (< 900px) */
@media (max-width: 900px) {
  :root { --section-y: 2.5rem; --pad-x: 1rem; }

  /* Hero padding */
  #hero { padding: 2rem 0 2.5rem; }
  .hero-actions { flex-wrap: wrap; }

  /* Content */
  .decision-list { grid-template-columns: 1fr; }
  .decision-list li { align-items: center; }
  .topic-grid { grid-template-columns: 1fr 1fr; }
  #hogyan-valjak-el .card { padding-left: 1.25rem; padding-right: 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-right { align-items: center; }
  .contact-item-phone { font-size: 1.25rem; }
}

/* Small mobile (< 420px) */
@media (max-width: 420px) {
  .topic-grid { grid-template-columns: 1fr; }
}

/* Hide phone button entirely below 355px */
@media (max-width: 355px) {
  .nav-call-desktop,
  .nav-call-mobile { display: none; }
}

/* ---- 20. Extracted from inline styles ---- */


/* Quote attribution */
.quote-attr {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  padding-left: 2.7rem;
}
.quote-attr--right {
  padding-left: 0;
  text-align: right;
}

/* Card lists */
.card ol { padding-left: 1.2rem; margin-bottom: 1rem; }
.card ul { list-style: none; padding-left: 0; margin-bottom: 1.25rem; }
.card ul li { padding-left: 2.7rem; position: relative; margin-bottom: 0; line-height: 1.45; border-bottom: 1px solid var(--teal-border); padding-bottom: 0.75rem; padding-top: 0.75rem; }
.card ul li:first-child { padding-top: 0; }
.card ul li:last-child { border-bottom: none; padding-bottom: 0; }
.card ul li::before {
  content: "";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1.4rem;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--bronze);
  opacity: 0.75;
}
.card ul li:first-child::before { top: 0.65rem; }
.card-link-p { font-size: 0.875rem; }
.card-footnote, .card .card-footnote { font-size: 0.85rem; color: var(--text-muted); line-height: 1.45; }

/* ---- 23. Error page (404) ---- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 3rem 1.5rem;
  text-align: center;
}
.error-page__inner {
  max-width: 480px;
}
.error-page__inner h1 {
  white-space: nowrap;
}
.error-page__logo {
  display: inline-block;
  margin-bottom: 6rem;
  text-decoration: none;
}
.error-page__logo .nav-logo-main {
  display: block;
  font-family: var(--f-heading);
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.02em;
}
.error-page__logo .nav-logo-sub {
  display: block;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-top: 0.3rem;
}
.error-page__inner h1 + p {
  margin-top: 1rem;
}
.error-page__inner p + p {
  margin-top: 2.5rem;
}
.error-page__inner .btn {
  display: inline-block;
  width: auto;
}

/* Section intro variants */
.section-intro--full { max-width: 100%; }
.section-intro--mb-2 { margin-bottom: 2rem; }
.section-intro-p { max-width: 580px; margin: 0.5rem auto 0; }
.section-intro-p--wide { max-width: 80%; }

/* Section body text */
.section-lede { max-width: 560px; margin-bottom: 1.25rem; line-height: 1.65; }
.s-teal-body { max-width: 780px; margin: 1rem auto 2rem; }

/* FAQ read-more links */
.faq-read-more { font-size: 0.875rem; }

/* Contact section */
.contact-meta { font-size: 0.875rem; color: var(--on-teal-muted); }
.contact-card-lead { font-family: var(--f-heading); font-size: 1.25rem; font-weight: 500; line-height: 1.45; margin-bottom: 1rem; }
#kapcsolat .contact-card-lead { color: var(--bronze-bright) !important; }
.contact-note { color: var(--on-teal-muted); font-size: 0.875rem; margin-bottom: 0.75rem; }
.contact-note:last-child { margin-bottom: 0; }
#kapcsolat .contact-note { font-size: 0.9rem; }
.s-teal blockquote { color: var(--on-teal); }

#kapcsolat .contact-grid > div:last-child { display: flex; flex-direction: column; justify-content: flex-end; }
#kapcsolat .card--glass { height: auto; padding: 0.85rem 1rem 1rem 2.75rem; font-size: 0.9rem; line-height: 1.6; transform: translateY(-9px); }

/* ---- 24. Legal pages (impresszum, adatvédelem, jogi nyilatkozat) ---- */
.impresszum-section {
  background: var(--cream);
  padding: 2.5rem 0 4rem;
}
.impresszum-section--alt {
  background: var(--cream-dark);
  padding-top: 2.5rem;
}
.impresszum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  align-items: stretch;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.legal-h1 {
  margin-bottom: 0.75rem;
}
.impresszum-intro {
  font-family: var(--f-body);
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}
.impresszum-card {
  display: flex;
  flex-direction: column;
  background: var(--cream-mid);
  border: 1px solid var(--teal-border);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 758px) {
  .impresszum-card { padding: 1.25rem 1.5rem; }
}
.legal-section {
  margin-bottom: 2.5rem;
}
.legal-section--gap {
  margin-top: 2rem;
}
.legal-section h2 {
  font-family: var(--f-heading);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.legal-dl {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0 0;
  line-height: 1.55;
}
.legal-dl dt {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bronze);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--teal-border);
}
.legal-dl dt:last-of-type {
  border-bottom: none;
}
.legal-dl dd {
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--teal-border);
}
.legal-dl dd:last-of-type {
  border-bottom: none;
}
.legal-dl dd svg {
  flex-shrink: 0;
  opacity: 0.5;
}
.legal-dl dd a {
  color: var(--teal);
  text-decoration: none;
}
.legal-dl dd a:hover {
  color: var(--bronze);
}
.legal-divider {
  border: none;
  border-top: 1px solid var(--teal-border);
  margin: 2rem 0;
}

/* Legal page — intro header */
.legal-intro-section {
  background: var(--cream);
  padding: 3rem 0 2rem;
}

/* Legal page — section dl wider dt column */
.legal-page-section .legal-dl {
  grid-template-columns: 9rem 1fr;
}
@media (max-width: 758px) {
  .legal-dl,
  .legal-page-section .legal-dl { grid-template-columns: 1fr; gap: 0; }
  .legal-dl dt {
    margin-top: 0.75rem;
    padding-bottom: 0.1rem;
    border-bottom: none;
  }
  .legal-dl dd { padding-top: 0.1rem; }
  .legal-dl dt:first-child { margin-top: 0; }
}

/* Sans-serif h3 exceptions */
#konzultacio h3,
.legal-page-section h3,
.adatvedelem-page h3 { font-family: var(--f-body); }

/* Legal page — h3 sub-headings within sections */
.legal-page-section h3 {
  font-weight: 600;
  color: var(--teal);
  margin: 2rem 0 0.75rem;
}
.legal-page-section h3:first-child { margin-top: 0; }

/* Legal right label — for enumerated rights lists (smaller than h3) */
.legal-right-label {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal);
  margin: 1.25rem 0 0.2rem;
  padding-left: 1.1rem;
  position: relative;
}
.legal-right-label::before {
  content: '•';
  color: var(--bronze);
  position: absolute;
  left: 0;
}
.legal-right-label + p {
  padding-left: 1.1rem;
}

/* Legal list */
.legal-list {
  padding-left: 1.25rem;
  margin: 0.75rem 0;
  line-height: 1.7;
  font-size: 0.9rem;
  color: var(--text);
}
.legal-list li { margin-bottom: 0.3rem; }
.legal-list a { color: var(--teal); text-decoration: none; }
.legal-list a:hover { color: var(--bronze); }

