/* ==========================================================================
   Önhordó betűtípusok – a saját szerverünkről, nem a Google-től.
   Így az oldal minden operációs rendszeren ugyanúgy néz ki, és nem megy
   kérés harmadik félhez.

   Jost (címsor) és Source Sans 3 (törzsszöveg) – SIL Open Font License 1.1.
   A fájlok a magyar oldalhoz szükséges karakterekre szűkítve készültek;
   újragenerálás: node scripts/install-fonts.js
   ========================================================================== */

@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 700;
  /* swap: a szöveg azonnal látszik rendszerbetűvel, majd átvált – így
     nincs üres, "villogó" pillanat a betöltés közben. */
  font-display: swap;
  src: url('/fonts/jost-italic-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  /* swap: a szöveg azonnal látszik rendszerbetűvel, majd átvált – így
     nincs üres, "villogó" pillanat a betöltés közben. */
  font-display: swap;
  src: url('/fonts/sourcesans3-400-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400 700;
  /* swap: a szöveg azonnal látszik rendszerbetűvel, majd átvált – így
     nincs üres, "villogó" pillanat a betöltés közben. */
  font-display: swap;
  src: url('/fonts/sourcesans3-italic-400-700.woff2') format('woff2');
}

/* ==========================================================================
   Gerincterápia – Martonvásár
   Dizájnirány: „Mozgásterápia" – biomechanikai mozgáspályák, aszimmetrikus
   kompozíció, energikus zsályazöld akcent.
   ========================================================================== */

:root {
  --bg: #F1F3EE;
  --raised: #FFFFFF;
  --ink: #202A24;
  --soft: #49564B;
  --accent: #5F7A26;
  --accent-ink: #FFFFFF;
  --accent-wash: #E7EDD9;
  --slate: #47585A;
  --line: #C9D0C2;
  --shadow: 0 14px 34px -20px rgba(32, 42, 36, .4);
  --radius: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12160F;
    --raised: #1A2018;
    --ink: #ECEFE6;
    --soft: #AFBAA6;
    --accent: #A9C25C;
    --accent-ink: #12160F;
    --accent-wash: #232C1A;
    --slate: #8FA08F;
    --line: #2E382C;
    --shadow: 0 14px 34px -18px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #12160F;
  --raised: #1A2018;
  --ink: #ECEFE6;
  --soft: #AFBAA6;
  --accent: #A9C25C;
  --accent-ink: #12160F;
  --accent-wash: #232C1A;
  --slate: #8FA08F;
  --line: #2E382C;
  --shadow: 0 14px 34px -18px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  /* Önhordó betű, rendszerbetűs tartalékkal – ha valamiért nem töltődne
     be, az oldal akkor is olvasható marad. */
  font-family: 'Source Sans 3', "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.display {
  font-family: 'Jost', "Century Gothic", "Trebuchet MS", system-ui, sans-serif;
  font-style: italic;
  font-weight: 700;
  /* A Jost keskenyebb, mint a Century Gothic, ezért egy hajszállal
     nagyobb betűköz kell, hogy ugyanolyan levegős legyen. */
  letter-spacing: -0.005em;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.18; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg);
  padding: 12px 20px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- Fejléc ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 0;
}
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-logo { display: block; width: 168px; height: auto; }
@media (max-width: 480px) { .brand-logo { width: 138px; } }

/* Világos módban a sötét, sötét módban a világos változat látszik.
   A sorrend számít: a kapcsoló data-theme értéke felülírja a rendszerét. */
.brand-logo-paper { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo-ink { display: none; }
  :root:not([data-theme="light"]) .brand-logo-paper { display: block; }
}
:root[data-theme="dark"] .brand-logo-ink { display: none; }
:root[data-theme="dark"] .brand-logo-paper { display: block; }
:root[data-theme="light"] .brand-logo-ink { display: block; }
:root[data-theme="light"] .brand-logo-paper { display: none; }

.site-nav { display: flex; gap: 24px; font-size: 14px; }
.site-nav a {
  text-decoration: none; color: var(--soft); padding: 6px 0;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); border-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--raised);
  color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--raised); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 24px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle {
    display: flex; width: 38px; height: 38px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--raised); color: var(--ink);
    cursor: pointer; align-items: center; justify-content: center;
  }
  .nav-toggle svg { width: 18px; height: 18px; }
}

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: none; border-radius: 999px; cursor: pointer;
  padding: 14px 28px; font-size: 15px; font-weight: 600;
  font-family: inherit; text-decoration: none;
  background: var(--accent); color: var(--accent-ink);
  transition: filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-quiet { background: var(--accent-wash); color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; font-size: 13.5px; color: var(--soft);
  text-decoration: none;
}
.chip svg { width: 15px; height: 15px; }
.chip strong { color: var(--ink); font-variant-numeric: tabular-nums; }

.status-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--soft); flex-shrink: 0; }
.status-dot.on { background: #4E9A5B; }

/* ---------- Hero ---------- */
.hero { padding: 68px 0 76px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.eyebrow {
  text-transform: uppercase; font-size: 11.5px; letter-spacing: .16em;
  font-weight: 700; color: var(--accent); margin-bottom: 16px;
}
.hero h1 { font-size: clamp(31px, 4.6vw, 52px); margin-bottom: 20px; }
.hero .lede { font-size: 17px; color: var(--soft); max-width: 44ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-motif { position: relative; }
.hero-motif svg { width: 100%; }
@media (max-width: 900px) {
  .hero { padding: 44px 0 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-motif { order: -1; max-width: 340px; }
}

/* ---------- Szekciók ---------- */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(23px, 3vw, 33px); font-weight: 700; margin-bottom: 14px; }
.section-head p { color: var(--soft); }

/* ---------- Rács-elemek ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--raised); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--soft); font-size: 14.5px; }
.card .step-num {
  font-family: ui-monospace, Menlo, monospace; font-size: 12px;
  color: var(--accent); font-weight: 700; letter-spacing: .1em; margin-bottom: 14px;
}

/* ---------- Panaszlista ---------- */
.treatment-groups { display: grid; gap: 34px; }
.treatment-group h3,
.treatment-group-title {
  font-size: 13px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--soft); margin-bottom: 14px; font-weight: 700;
}
.treatment-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.treatment-list a {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--raised); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 18px; font-size: 14px;
  text-decoration: none; transition: border-color .15s, transform .15s;
}
.treatment-list a:hover { border-color: var(--accent); transform: translateY(-1px); }
.treatment-list a::after { content: "→"; color: var(--accent); font-size: 13px; }

/* ---------- Időpontok ---------- */
.slot-days { display: grid; gap: 18px; }
.slot-day {
  background: var(--raised); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.slot-day-head {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.slot-day-head .date { font-weight: 700; font-size: 15.5px; }
.slot-day-head .day-name { color: var(--soft); font-size: 13.5px; }
.slot-times { display: flex; flex-wrap: wrap; gap: 9px; }
.slot {
  border: 1px solid var(--line); background: var(--bg);
  border-radius: 10px; padding: 11px 17px; font-size: 14.5px;
  font-family: inherit; color: var(--ink); cursor: pointer;
  font-variant-numeric: tabular-nums; transition: border-color .15s, background .15s;
}
.slot:hover { border-color: var(--accent); background: var(--accent-wash); }

.empty-state {
  background: var(--raised); border: 1px dashed var(--line);
  border-radius: var(--radius); padding: 28px; text-align: center; color: var(--soft);
}

/* ---------- Cikktartalom (admin szerkesztőből) ---------- */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(20px, 2.4vw, 27px); margin-top: 1.9em; font-weight: 700; }
.prose h3 { font-size: clamp(17px, 2vw, 21px); margin-top: 1.6em; font-weight: 700; }
.prose p, .prose li { color: var(--soft); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose img { border-radius: 12px; margin: 1.6em 0; }
.prose blockquote {
  border-left: 3px solid var(--accent); padding: 4px 0 4px 20px;
  margin-left: 0; font-style: italic; color: var(--soft);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.prose th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--soft); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 13px; color: var(--soft); margin-top: 8px; text-align: center; }

.prose .callout {
  border-radius: 12px; padding: 18px 20px; border: 1px solid var(--line);
  background: var(--raised);
}
.prose .callout-warn { border-left: 4px solid #B4801F; }
.prose .callout p { margin: 0; }

/* Videó – kattintásra töltődik, nem lassítja az oldalt */
.video-embed {
  position: relative; aspect-ratio: 16/9; border-radius: 12px;
  overflow: hidden; background: var(--raised); border: 1px solid var(--line);
  cursor: pointer; margin: 1.6em 0;
}
.video-embed img { width: 100%; height: 100%; object-fit: cover; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.video-embed .play {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; background: rgba(18, 22, 15, .35);
}
.video-embed .play span {
  width: 62px; height: 62px; border-radius: 999px; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.video-embed .play svg { width: 22px; height: 22px; fill: var(--accent-ink); }

/* ---------- Kenyérmorzsa ---------- */
.breadcrumb { font-size: 13px; color: var(--soft); padding: 22px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li::after { content: "/"; margin-left: 8px; opacity: .5; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Blog ---------- */
.post-list { display: grid; gap: 2px; }
.post-item {
  display: grid; grid-template-columns: 130px 1fr; gap: 22px;
  padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.post-item:hover h3, .post-item:hover h2 { color: var(--accent); }
.post-item time { font-size: 13px; color: var(--soft); font-variant-numeric: tabular-nums; }
.post-item h3, .post-item h2 { font-size: 18px; margin-bottom: 7px; transition: color .15s; font-weight: 700; }
.post-item p { font-size: 14px; color: var(--soft); }
@media (max-width: 700px) { .post-item { grid-template-columns: 1fr; gap: 8px; } }

.pagination { display: flex; gap: 10px; justify-content: center; margin-top: 40px; }

/* ---------- Kapcsolat ---------- */
.info-table { width: 100%; }
.info-row { display: flex; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.info-row dt {
  width: 118px; flex-shrink: 0; font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--soft); padding-top: 3px; margin: 0;
}
.info-row dd { margin: 0; font-size: 15.5px; }
.info-row dd.phone { font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }
.info-row dd a { text-decoration: none; }

/* ---------- Vélemények ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } }
.review { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.review .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; font-size: 14px; }
.review p { font-size: 14.5px; color: var(--soft); margin-bottom: 14px; }
.review cite { font-size: 13px; font-weight: 700; font-style: normal; }

/* ---------- GYIK ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--raised); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 15.5px;
  list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 20px; flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer { padding: 0 22px 20px; color: var(--soft); font-size: 14.5px; }

/* ---------- Lábléc ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 52px 0 120px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.footer-grid h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--soft); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; }
.footer-grid a { text-decoration: none; color: var(--soft); }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--soft);
}
.medical-disclaimer {
  font-size: 12.5px; color: var(--soft); background: var(--raised);
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 32px;
}

/* ---------- Lebegő hívás gomb ---------- */
.call-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  background: var(--ink); color: var(--bg); border: none;
  border-radius: 999px; padding: 15px 24px; font-size: 15px; font-weight: 700;
  font-family: inherit; cursor: pointer; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .5); text-decoration: none;
}
.call-fab svg { width: 17px; height: 17px; }
@media (max-width: 600px) {
  .call-fab {
    /* Nem teljes szélességű: jobb alul ül, hogy bal oldalt elférjen
       mellette a Google-értékelés jelvény. */
    left: auto;
    right: 12px;
    bottom: 12px;
    padding: 13px 18px;
    font-size: 14.5px;
  }
}

/* ---------- Párbeszédablakok ---------- */
dialog {
  border: 1px solid var(--line); border-radius: 18px; padding: 0;
  background: var(--raised); color: var(--ink); max-width: 430px; width: calc(100% - 32px);
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(10, 14, 10, .55); backdrop-filter: blur(2px); }
.dialog-body { padding: 30px; position: relative; }
.dialog-body h3 { font-size: 20px; margin-bottom: 8px; }
.dialog-body .desc { color: var(--soft); font-size: 14px; margin-bottom: 22px; }
.dialog-close {
  position: absolute; top: 14px; right: 14px; background: none; border: none;
  color: var(--soft); cursor: pointer; font-size: 20px; line-height: 1; padding: 4px 8px;
}
.dialog-actions { display: flex; gap: 10px; margin-top: 24px; }
.dialog-actions .btn { flex: 1; }

.field { margin-bottom: 15px; }
.field label { display: block; font-size: 12.5px; color: var(--soft); margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font-size: 15px; font-family: inherit;
}
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--soft); }
.field-check input { width: auto; margin-top: 3px; flex-shrink: 0; }
.form-error { color: #B4442B; font-size: 13.5px; margin-top: 12px; }

/* ---------- Értesítés ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(24px);
  background: var(--ink); color: var(--bg); padding: 15px 22px; border-radius: 12px;
  font-size: 14px; z-index: 90; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; max-width: min(520px, 92vw); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Süti sáv ---------- */
.cookie-bar {
  /* A `--alsosor-h` a jelvény és a hívás gomb sorának magassága.
     A JS méri, mert a gomb és a jelvény mérete a szövegtől függ. */
  position: fixed; left: 16px; right: 16px;
  bottom: calc(16px + var(--alsosor-h, 0px)); z-index: 80;
  background: var(--raised); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; box-shadow: var(--shadow);
  display: none; gap: 16px; align-items: center; flex-wrap: wrap;
  max-width: 620px; font-size: 13.5px; color: var(--soft);
}
.cookie-bar.show { display: flex; }
.cookie-bar p { flex: 1; min-width: 220px; }
.cookie-bar a { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Összefoglaló doboz a hosszú oldalak tetején ---------- */
.summary-box {
  background: var(--raised);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-bottom: 34px;
  max-width: 72ch;
}
.summary-box h2 {
  font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent); margin-bottom: 12px; font-weight: 700;
}
.summary-lead { font-size: 16.5px; line-height: 1.6; margin-bottom: 22px; }

.summary-facts {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px 26px; margin: 0 0 24px; padding: 20px 0 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 620px) { .summary-facts { grid-template-columns: 1fr; gap: 13px; } }
.summary-facts div { margin: 0; }
.summary-facts dt {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--soft); margin-bottom: 3px;
}
.summary-facts dd { margin: 0; font-size: 15px; font-weight: 600; }

.summary-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Ugrópontok ---------- */
.toc {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 34px;
  max-width: 72ch;
}
.toc h2 {
  font-size: 12px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--soft); margin-bottom: 14px; font-weight: 700;
}
.toc ol {
  margin: 0; padding: 0; list-style: none;
  columns: 2; column-gap: 30px;
}
@media (max-width: 620px) { .toc ol { columns: 1; } }
.toc li { margin-bottom: 8px; break-inside: avoid; font-size: 14.5px; }
.toc a { color: var(--soft); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* A rögzített fejléc ne takarja el a címsort ugráskor. */
.prose h2[id] { scroll-margin-top: 90px; }

/* ==========================================================================
   Konverziós zárás – ez viszi el az olvasót a foglalásig.
   ========================================================================== */
.convert {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 44px;
  max-width: 72ch;
}

.convert-bridge h2 {
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 700;
  margin-bottom: 14px;
}
.convert-bridge p { color: var(--soft); font-size: 16.5px; }
.convert-bridge strong { color: var(--ink); }

.convert-facts {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px; margin: 30px 0 0; padding: 24px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (max-width: 620px) { .convert-facts { grid-template-columns: 1fr; gap: 15px; } }
.convert-facts div { margin: 0; }
.convert-facts dt { font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.convert-facts dd { margin: 0; font-size: 14.5px; color: var(--soft); }

/* ---- Bizonyíték ---- */
.convert-proof { margin: 32px 0; }
.convert-rating {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; color: var(--soft); margin-bottom: 18px;
}
.convert-rating .stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.convert-rating strong { color: var(--ink); font-size: 17px; font-variant-numeric: tabular-nums; }

.convert-quotes { display: grid; gap: 14px; }
.convert-quotes figure {
  margin: 0; background: var(--raised); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 20px;
}
.convert-quotes blockquote {
  margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: var(--ink);
}
.convert-quotes blockquote::before { content: '„'; }
.convert-quotes blockquote::after { content: '”'; }
.convert-quotes figcaption { font-size: 13px; color: var(--soft); font-weight: 600; }

.convert-allreviews {
  display: inline-block; margin-top: 14px; font-size: 13.5px;
  color: var(--accent); text-underline-offset: 3px;
}

/* ---- Cselekvés ---- */
.convert-action {
  background: var(--accent-wash);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-top: 32px;
}
.convert-slot-label {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em;
  font-weight: 700; color: var(--accent); margin-bottom: 8px;
}
.convert-slot-when {
  font-size: clamp(19px, 2.4vw, 24px); font-weight: 700;
  margin-bottom: 20px; font-variant-numeric: tabular-nums;
}
.convert-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.convert-buttons .slot {
  /* A .slot alapstílusát felülírjuk: itt ez a fő cselekvési gomb. */
  background: var(--accent); color: var(--accent-ink);
  border: none; border-radius: 999px; padding: 14px 28px;
  font-size: 15px; font-weight: 600; display: inline-flex;
}
.convert-buttons .slot:hover { background: var(--accent); filter: brightness(1.08); }

.convert-call {
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  font-size: 14.5px; color: var(--soft); line-height: 1.65;
}
.convert-call a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Térkép (kattintásra töltődik) ---------- */
.map-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--raised);
  cursor: pointer;
}
@media (max-width: 620px) { .map-embed { aspect-ratio: 4 / 3; } }

.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.map-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; padding: 24px;
  /* Halvány rácsminta – utal rá, hogy itt térkép lesz, de nem kell hozzá kép. */
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px, 46px 46px;
  background-position: -1px -1px;
}
.map-placeholder svg { width: 38px; height: 38px; color: var(--accent); margin-bottom: 6px; }
.map-placeholder .map-title { font-weight: 700; font-size: 16px; }
.map-placeholder .map-hint { font-size: 14px; color: var(--accent); font-weight: 600; }
.map-placeholder .map-note { font-size: 12.5px; color: var(--soft); margin-top: 8px; }

.map-embed:hover .map-hint { text-decoration: underline; text-underline-offset: 3px; }
.map-embed:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Cikk kiemelt képe ---------- */
.featured-image {
  /* A szélességet a sablon adja, a kép saját felbontása szerint – így
     sosem nagyítjuk fel, és éles marad. */
  margin: 0 0 34px;
}
.featured-image picture,
.featured-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* ---------- Bemutatkozó fotó a főoldalon ---------- */
.intro-photo {
  float: right;
  width: min(420px, 42%);
  margin: 0 0 22px 28px;
}
.intro-photo picture,
.intro-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
@media (max-width: 620px) {
  /* Kis kijelzőn a körbefuttatás összenyomná a szöveget – legyen alatta. */
  .intro-photo { float: none; width: 100%; margin: 0 0 22px; }
}

.prose .note-muted {
  font-size: 14px;
  color: var(--soft);
  border-left: 3px solid var(--line);
  padding-left: 16px;
}

/* A körbefuttatott kép után a következő szakasz ne csússzon fel. */
.prose::after { content: ""; display: block; clear: both; }

/* ---------- Kattintásra felfedő e-mail cím ---------- */
.email-reveal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  font: inherit;
  font-size: 14px;
  color: var(--soft);
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.email-reveal-btn:hover { border-color: var(--accent); color: var(--ink); }
.email-reveal-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.email-reveal-address {
  /* A hosszú cím kis kijelzőn se lógjon ki. */
  word-break: break-all;
  text-underline-offset: 3px;
}

.email-reveal-fallback { font-size: 13.5px; color: var(--soft); }

/* ------------------------------------------------------------------ *
 *  GOOGLE ÉRTÉKELÉS JELVÉNY
 *
 *  Bal alul lebeg, minden oldalon. A rétegsorrend szándékos:
 *    hívás gomb 70, süti-sáv 80, értesítés 90 – a jelvény 65, tehát
 *    SOHA nem takar el semmit, ami fontosabb nála.
 *
 *  A süti-sáv teljes szélességben ül az oldal alján, ezért amíg látszik,
 *  a jelvényt feljebb toljuk (a magasságát a JS méri meg és adja át).
 * ------------------------------------------------------------------ */
.review-badge {
  position: fixed;
  left: 20px;
  bottom: 20px;
  /* Soha ne érjen a hívás gombig: a gomb szélességét a JS adja meg. */
  max-width: calc(100vw - 40px - var(--hivas-sz, 0px) - 14px);
  z-index: 65;
  display: flex;
  align-items: stretch;
  /* Ugyanaz a háttér, mint a süti-sávé: sötét módban a --paper túl közel
     van az oldal hátteréhez, és elveszne rajta a jelvény. */
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 28px -10px rgb(0 0 0 / 45%);
  transition: bottom .25s ease, opacity .2s ease, transform .2s ease;
}
.review-badge[hidden] { display: none; }

.review-badge-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px 9px 13px;
  text-decoration: none;
  color: var(--ink);
}
.review-badge-link:hover .review-badge-text strong { text-decoration: underline; }

.review-badge-stars { display: flex; gap: 1px; flex-shrink: 0; }
.review-badge-stars svg { fill: #F4B400; }

.review-badge-text {
  display: flex; flex-direction: column; line-height: 1.25;
  min-width: 0;
}
.review-badge-text strong,
.review-badge-count { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-badge-text strong { font-size: 13px; font-weight: 700; }
.review-badge-count { font-size: 12px; color: var(--soft); }

.review-badge-close {
  display: flex;
  align-items: flex-start;
  padding: 7px 8px 0 4px;
  background: none;
  border: 0;
  color: var(--soft);
  cursor: pointer;
  border-radius: 0 12px 12px 0;
}
.review-badge-close:hover { color: var(--ink); }

/* Mobilon szűkebb a hely: a jelvény összébb húzódik, hogy a hívás gomb
   mellett is elférjen, és ne takarja a tartalmat. */
@media (max-width: 560px) {
  .review-badge {
    left: 12px; bottom: 12px; border-radius: 10px;
    max-width: calc(100vw - 24px - var(--hivas-sz, 0px) - 10px);
  }
  .review-badge-link { gap: 7px; padding: 7px 2px 7px 10px; }
  .review-badge-stars svg { width: 12px; height: 12px; }
  .review-badge-text strong { font-size: 11.5px; }
  .review-badge-count { font-size: 10.5px; }
}

/* Nyomtatásban semmi keresnivalója. */
@media print { .review-badge { display: none; } }

/* Aki kevesebb mozgást kért a rendszerében, annak ne animáljunk. */
@media (prefers-reduced-motion: reduce) { .review-badge { transition: none; } }
