/* Illyés Autóház – stíluslap (generálva: redesign/assets/base.css + B koncepció), utána az aloldalak kiegészítései */
/* Közös alap: lapok (dialog), űrlap, toast, lightbox, mobil akciósáv.
   A színeket minden koncepció a saját változóival adja meg. */
:root {
  --bg: #fff; --fg: #15171c; --muted: #646b78; --line: #e4e6eb;
  --accent: #d7262e; --accent-fg: #fff; --surface: #fff; --surface-2: #f4f5f7;
  --radius: 14px; --shadow: 0 20px 50px -20px rgba(10, 12, 20, .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
p, li, small, b { overflow-wrap: break-word; }
@media (max-width: 400px) { .btn { white-space: normal; text-align: center; } }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Gombok */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.3em; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: currentColor; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font-weight: 700; }

/* Nyitvatartás-jelző */
[data-open-status] { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; }
[data-open-status]::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: #9aa0aa; }
[data-open-status].is-open::before { background: #1fbf5f; box-shadow: 0 0 0 0 rgba(31,191,95,.6); animation: pulse 2s infinite; }
[data-open-status].is-closed::before { background: #e5484d; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(31,191,95,0); } 100% { box-shadow: 0 0 0 0 rgba(31,191,95,0); } }

/* Lapok */
dialog.sheet { border: 0; padding: 0; background: transparent; max-width: 440px; width: calc(100% - 24px); color: var(--fg); }
dialog.sheet-wide { max-width: 620px; }
dialog::backdrop { background: rgba(8, 10, 16, .55); backdrop-filter: blur(4px); }
.sheet-in { position: relative; background: var(--surface); border-radius: 22px; padding: 26px 22px 22px; box-shadow: var(--shadow); }
.sheet h3 { margin: 0 0 4px; font-size: 1.35rem; }
.sheet-sub { margin: 0 0 16px; color: var(--muted); font-size: .92rem; }
.sheet-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  border: 0; background: var(--surface-2); cursor: pointer; }
.sheet-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; margin-top: 8px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--line); text-decoration: none; text-align: left; cursor: pointer; }
.sheet-row:hover { border-color: var(--accent); }
.sheet-row .ico { width: 24px; height: 24px; color: var(--accent); }
.sheet-row span { display: flex; flex-direction: column; }
.sheet-row small { color: var(--muted); }
@media (max-width: 640px) {
  dialog.sheet { margin: auto 0 0; width: 100%; max-width: none; }
  .sheet-in { border-radius: 22px 22px 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom)); max-height: 92vh; overflow: auto; }
  dialog.sheet[open] .sheet-in { animation: up .28s cubic-bezier(.2,.8,.2,1); }
}
@keyframes up { from { transform: translateY(40px); opacity: 0; } }

/* Űrlap */
.book-form { display: grid; gap: 12px; }
.book-form label { display: grid; gap: 5px; font-size: .85rem; font-weight: 600; }
.book-form input:not([type=checkbox]), .book-form select, .book-form textarea {
  font: inherit; font-weight: 400; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); width: 100%; }
.book-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book-form .chk { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.book-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.book-msg { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: .9rem; }
@media (max-width: 480px) { .book-form .row2 { grid-template-columns: 1fr; } }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); }
dialog.lightbox img { max-height: 84vh; border-radius: 12px; margin: auto; }
dialog.lightbox p { color: #fff; text-align: center; }
dialog.lightbox .sheet-x { background: rgba(255,255,255,.9); color: #111; z-index: 2; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: #111; color: #fff; padding: 10px 18px;
  border-radius: 999px; font-size: .9rem; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Mobil akciósáv (alul) */
.actionbar { display: none; }
@media (max-width: 860px) {
  .actionbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 50; left: 10px; right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom)); border-radius: 20px; padding: 6px; gap: 4px;
    background: rgba(20, 22, 28, .92); backdrop-filter: blur(12px); color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
  .actionbar a, .actionbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; border: 0; background: none;
    color: inherit; font-size: .72rem; font-weight: 600; text-decoration: none; border-radius: 14px; cursor: pointer; }
  .actionbar .ico { width: 22px; height: 22px; }
  .actionbar .primary { background: var(--accent); color: var(--accent-fg); }
  body { padding-bottom: 90px; }
}

/* Szolgáltatás-kereső találat */
.svc li.hit { background: color-mix(in srgb, var(--accent) 18%, transparent); border-radius: 4px; }

/* Felfedő animáció */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Kárvarázsló alap */
.claim-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.claim-col h4 { margin: 0 0 8px; }
.claim-links, .claim-bring { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.claim-links a { display: flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; }
.claim-links .ico { color: var(--accent); }
.claim-bring li::before { content: "✓ "; color: var(--accent); font-weight: 800; }
.claim-cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 860px) { .claim-out { grid-template-columns: 1fr; } }

/* Térkép helyőrző (csak kattintásra tölt be – GDPR-barát, gyorsabb) */
.map-load { position: relative; display: grid; place-items: center; width: 100%; min-height: 320px; border: 0; cursor: pointer; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, var(--surface-2) 0 14px, var(--bg) 14px 28px); color: var(--fg); font-weight: 700; text-align: center; padding: 20px; }
.map-load small { display: block; font-weight: 400; color: var(--muted); margin-top: 4px; }
iframe { width: 100%; min-height: 320px; border: 0; border-radius: var(--radius); }

/* Dokumentumlista */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 10px; }
.doc-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; text-decoration: none; border: 1px solid var(--line); background: var(--surface); height: 100%; }
.doc-list a:hover { border-color: var(--accent); }
.doc-ico { color: var(--accent); display: grid; }
.doc-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.doc-txt b { font-weight: 600; font-size: .93rem; }
.doc-txt small { color: var(--muted); font-size: .78rem; }
.doc-dl { color: var(--muted); display: grid; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.chips button { border: 1px solid var(--line); background: var(--surface); padding: 6px 14px; border-radius: 999px; cursor: pointer; font-size: .88rem; }
.chips button.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.search input { border: 0; background: none; padding: 12px 0; font: inherit; flex: 1; color: var(--fg); outline: none; min-width: 0; }

/* Nyitvatartás táblázat */
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today td { font-weight: 800; color: var(--accent); }

/* ===== B koncepció ===== */
:root {
  --bg: #f6f3ee; --fg: #1b1d22; --muted: #6b6f78; --line: #e6e1d8; --surface: #fff; --surface-2: #f1ede6;
  --accent: #d42a2a; --accent-fg: #fff; --radius: 22px; --ink: #1b1d22;
}
body { font-family: Manrope, system-ui, sans-serif; }
h1, h2, h3 { letter-spacing: -.03em; line-height: 1.06; font-weight: 800; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
section { padding: clamp(56px, 8vw, 100px) 0; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 8px 0 14px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; color: var(--accent); background: #fbe4e2; padding: 6px 12px; border-radius: 999px; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 58ch; }

/* Fejléc – lebegő kapszula */
.top { position: sticky; top: 12px; z-index: 40; }
.top .bar { display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.85); backdrop-filter: blur(14px);
  border: 1px solid var(--line); transition: box-shadow .3s; }
.top.scrolled .bar { box-shadow: 0 10px 30px -12px rgba(0,0,0,.2); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.menu { display: flex; gap: 2px; margin: 0 auto; }
.menu a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.menu a:hover { background: var(--surface-2); }
.top .btn { padding: .65em 1.1em; }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--surface-2); cursor: pointer; }
.burger span { display: block; width: 16px; height: 2px; background: var(--fg); margin: 3px auto; }
@media (max-width: 980px) {
  .menu { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: #fff; border-radius: 24px; padding: 10px; border: 1px solid var(--line);
    box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .2s; }
  .menu a { padding: 14px 16px; font-size: 1.05rem; }
  body.menu-open .menu { opacity: 1; pointer-events: auto; transform: none; }
  .burger { display: block; margin-left: auto; }
  .top .btn span { display: none; }
}

/* Hős – osztott */
.hero { padding-top: 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); margin: 18px 0 16px; }
.hero h1 span { color: var(--accent); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero-cta .btn-ghost { color: var(--fg); border-color: var(--line); background: #fff; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.trust b { color: var(--fg); }
.hero-art { position: relative; }
.hero-art .main { border-radius: 32px; aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.float { position: absolute; background: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-size: .88rem; }
.float .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #fbe4e2; color: var(--accent); }
.float b { display: block; font-size: 1rem; }
.f1 { left: -22px; bottom: 28px; } .f2 { right: -14px; top: 26px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .f1 { left: 10px; } .f2 { right: 10px; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(170px, auto); gap: 14px; }
.tile { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; position: relative; overflow: hidden; cursor: pointer; text-align: left; }
.tile .ico { width: 30px; height: 30px; color: var(--accent); }
.tile b { font-size: 1.15rem; margin-top: auto; }
.tile small { color: var(--muted); }
.tile:hover { border-color: var(--accent); }
.tile.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.tile.dark small { color: #a8adb7; }
.tile.red { background: var(--accent); color: #fff; border-color: var(--accent); }
.tile.red small { color: #ffd9d6; } .tile.red .ico { color: #fff; }
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; }
.tile.photo { padding: 0; }
.tile.photo img { width: 100%; height: 100%; object-fit: cover; }
.tile .big { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .tile.wide { grid-column: span 2; } }
@media (max-width: 560px) {
  .bento { gap: 10px; grid-auto-rows: minmax(140px, auto); }
  .tile { padding: 16px; min-width: 0; }
  .tile b { font-size: clamp(.95rem, 4.3vw, 1.1rem); hyphens: auto; overflow-wrap: anywhere; }
  .tile small { font-size: .8rem; overflow-wrap: anywhere; }
  .tile .big { font-size: 2rem; }
  .tile.mail { grid-column: span 2; }
  .float { padding: 10px 12px; font-size: .8rem; }
  .float b { font-size: .9rem; }
  .float .ico { width: 28px; height: 28px; padding: 5px; }
  .f1 { bottom: 14px; } .f2 { top: 14px; }
  .claim-form select { flex-basis: 100%; min-width: 0; }
  .seg { width: 100%; } .seg label { flex: 1; text-align: center; }
  .ccard a.num { font-size: 1.2rem; }
  .pcard .amt { font-size: 1.9rem; }
}

/* Szolgáltatások – harmonika-szerű kártyák */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 26px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.svc-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--accent); margin-bottom: 14px; }
.svc-ico .ico { width: 24px; height: 24px; }
.svc h3 { margin: 0 0 6px; font-size: 1.2rem; }
.svc p { margin: 0 0 12px; color: var(--muted); font-size: .92rem; }
.svc ul { margin: 0 0 16px; padding-left: 18px; font-size: .88rem; color: #444; columns: 1; }
.svc ul li { margin: 2px 0; }
.svc-book { margin-top: auto; align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; font-weight: 700; font-size: .88rem; }
.svc-book:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Ár-kártyák */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.pcard { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.pcard img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.pcard div { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .amt { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; }
.pcard .amt small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.pcard .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }

/* Kár – lépésjelző */
.claim { background: var(--ink); color: #fff; border-radius: 32px; padding: clamp(26px, 5vw, 56px); --surface: #23262d; --surface-2: #2c3038; --line: #3a3e47; --fg: #fff; --muted: #a8adb7; }
.claim h2 { color: #fff; }
.claim .lead { color: #a8adb7; }
.claim-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.claim-form select { flex: 1 1 260px; font: inherit; padding: 14px 16px; border-radius: 14px; border: 0; background: #fff; color: #111; font-weight: 600; }
.seg { display: inline-flex; background: #2c3038; border-radius: 14px; padding: 4px; }
.seg input { position: absolute; opacity: 0; } .seg label { cursor: pointer; }
.seg span { display: block; padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: .9rem; }
.seg input:checked + span { background: var(--accent); }
.claim-out { background: #23262d; padding: 22px; border-radius: 20px; }
.claim-links a { color: #fff; }

/* Rólunk */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.about .quote { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.about .quote::before { content: "„"; color: var(--accent); }
.about .quote::after { content: "”"; color: var(--accent); }
.about-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-pics img { border-radius: 20px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.about-pics img:first-child { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* Galéria – vízszintesen görgethető (mobilbarát) */
.strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-top: 22px; scrollbar-width: thin; }
.strip a { flex: 0 0 min(78vw, 380px); scroll-snap-align: start; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; }
.strip img { width: 100%; height: 100%; object-fit: cover; }

/* Kapcsolat */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.ccard { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 22px; }
.ccard h3 { margin: 0 0 10px; font-size: 1.1rem; display: flex; gap: 8px; align-items: center; }
.ccard h3 .ico { color: var(--accent); }
.ccard a.num { display: block; font-size: 1.35rem; font-weight: 800; text-decoration: none; letter-spacing: -.02em; padding: 4px 0; }
.ccard .btn { margin-top: 12px; width: 100%; }
.contact .map { grid-column: span 3; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact .map { grid-column: auto; } }

footer { padding: 40px 0 50px; text-align: center; color: var(--muted); font-size: .88rem; }
.actionbar { background: rgba(255,255,255,.92); color: var(--fg); border: 1px solid var(--line); }


/* ===== PHP-oldal kiegészítései (aloldalak, lábléc) ===== */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
.pt0 { padding-top: 0; }
.muted { color: var(--muted); }
.menu a[aria-current="page"] { background: var(--fg); color: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.sec-head .btn-ghost, .prose-card .btn-ghost, .ccard .btn-ghost { color: var(--fg); border-color: var(--line); background: #fff; }
.tile-row { flex-direction: row; align-items: center; gap: 14px; }
.tile-row span { display: flex; flex-direction: column; }
a.svc-book { text-decoration: none; }
.pcard .muted { font-size: .9rem; }

/* Aloldal fejléc */
.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.6rem); margin: 14px 0 12px; max-width: 22ch; }
.page-head .search { max-width: 460px; margin-top: 18px; }
.page-head .hero-cta { margin-bottom: 0; }

/* Szöveges kártyák */
.prose-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }
.prose-card h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 0; }
.prose-card h3 { font-size: 1.15rem; margin: 20px 0 8px; }
.prose-card p { color: #3d4049; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.prose-card .two-col { align-items: center; gap: 28px; }
img.rounded { border-radius: var(--radius); width: 100%; height: auto; }
img.contain { background: #fff; border: 1px solid var(--line); padding: 16px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.articles { display: grid; gap: 16px; max-width: 860px; }
.articles .prose-card { scroll-margin-top: 90px; }
.toc { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.toc a { text-decoration: none; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .88rem; }
.toc a:hover { border-color: var(--accent); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding: 2px 0 2px 44px; min-height: 32px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); color: var(--fg) !important; }
.note .ico { color: var(--accent); margin-top: 2px; }
.note.warn { background: #fdecea; }
.kicker-dark { background: #3a2224; color: #ff8a84; }
#varazslo { scroll-margin-top: 90px; }

/* Galéria oldal */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.gallery a { border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.05); }

/* Kapcsolat */
.status-line { margin: 0 0 8px; }
.mail-link { display: inline-block; margin-top: 8px; font-weight: 600; overflow-wrap: anywhere; }
.ccard .btn + .btn { margin-top: 8px; }

/* Lábléc */
.foot { background: var(--ink); color: #c5c8d0; margin-top: clamp(40px, 6vw, 80px); padding: 48px 0 0; text-align: left; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot .brand { color: #fff; margin-bottom: 10px; }
.foot h4 { color: #fff; margin: 4px 0 10px; font-size: 1rem; }
.foot a { display: block; text-decoration: none; padding: 3px 0; overflow-wrap: anywhere; }
.foot a:hover { color: #fff; }
.foot .foot-tel { font-weight: 700; color: #fff; }
.foot .linkish { color: #ff8a84; }
.foot-copy { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #2c3038; margin-top: 32px; padding: 18px 0 24px; font-size: .82rem; color: #8d919b; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Keskeny kijelzők: a rácselemek ne nőjenek a leghosszabb szónál szélesebbre */
.two-col > *, .articles > *, .contact > *, .svc-grid > *, .prices > *, .bento > * { min-width: 0; }
.articles { grid-template-columns: minmax(0, 1fr); }
.prose-card h2, .page-head h1 { overflow-wrap: anywhere; }
.hero { overflow-x: clip; }
@media (max-width: 380px) {
  .prose-card { padding: 18px 16px; }
  .page-head h1 { font-size: 1.85rem; }
}
.btn { max-width: 100%; }

/* Adatkezelési tájékoztató */
.legal { max-width: 900px; }
.legal p { line-height: 1.7; }
.legal .summary { background: #fff7f6; border-color: #f3d3cf; }
.facts { width: 100%; border-collapse: collapse; margin: 8px 0 12px; }
.facts th, .facts td { text-align: left; padding: 10px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.facts th { width: 38%; padding-right: 14px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.facts td { overflow-wrap: anywhere; }
@media (max-width: 520px) { .facts th, .facts td { display: block; width: 100%; padding: 2px 0; border: 0; } .facts td { padding-bottom: 10px; border-bottom: 1px dashed var(--line); } }
.defs { margin: 0; display: grid; gap: 14px; }
.defs dt { font-weight: 800; }
.defs dd { margin: 2px 0 0; color: #3d4049; line-height: 1.65; }
.defs h4 { margin: 14px 0 8px; font-size: .9rem; color: var(--muted); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .82rem; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.facts-grid > div { background: var(--surface-2); border-radius: 14px; padding: 14px; min-width: 0; }
.facts-grid p { margin: 6px 0 0; font-size: .92rem; }
@media (max-width: 760px) { .facts-grid { grid-template-columns: 1fr; } }
.legal a { overflow-wrap: anywhere; }
.signature { margin-top: 24px; }
.legal .prose-card { scroll-margin-top: 90px; }

/* Nyomtatás: csak a szöveg */
@media print {
  .top, .actionbar, .foot, .toc, .hero-cta, .skip, dialog, .toast { display: none !important; }
  body { background: #fff; padding: 0; }
  .prose-card { border: 0; padding: 0; break-inside: avoid-page; }
  .page-head { padding: 0 0 12px; }
  a { color: inherit; text-decoration: none; }
}
