/* Mobil-first "app" héj — design_handoff_mobil_apps (Foto/Pilla Mobil App).
   A márka-tokenek (színek, betűk) a sites/<key>/theme.css-ből jönnek;
   itt csak a közös szerkezet és komponensek. Mobil: alsó tab-sáv, 480px-es
   középre igazított tartalom; ≥900px: felső sticky pill-nav, 900px tartalom. */
:root {
  --font-body: 'Work Sans', sans-serif;
  --font-display: 'Work Sans', sans-serif;
  --bg-page: oklch(0.965 0.008 60);
  --bg: oklch(0.975 0.006 60);
  --surface: oklch(0.94 0.015 60);
  --line: oklch(0.87 0.012 60);
  --line-soft: oklch(0.85 0.015 60);
  --dark: oklch(0.32 0.02 60);
  --accent: oklch(0.55 0.11 70);
  --accent-strong: oklch(0.5 0.11 70);
  --accent-soft: oklch(0.78 0.1 80);
  --text: oklch(0.22 0.012 60);
  --text-2: oklch(0.4 0.02 60);
  --text-3: oklch(0.45 0.02 60);
  --muted: oklch(0.5 0.02 60);
  --tab-off: oklch(0.6 0.015 60);
  --day-off: oklch(0.75 0.01 60);
  --tabbar-bg: rgba(250,248,246,0.96);
  --lightbox-bg: rgba(18,14,10,0.92);
  --hero-scrim: rgba(20,14,12,0.42);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg-page); font-family: var(--font-body); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; }
img { display: block; }
.hidden { display: none !important; }
[hidden] { display: none !important; }
.display { font-family: var(--font-display); }

.app-root { margin: 0 auto; min-height: 100vh; background: var(--bg); }
.app-content { max-width: 480px; margin: 0 auto; position: relative; padding-bottom: 40px; box-shadow: 0 0 40px rgba(0,0,0,0.06); min-height: calc(100vh - 56px); background: var(--bg); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* --- felső nav (desktop) --- */
/* a menüsávok enyhén áttetszőek (magas fedettség) + elmosott háttérrel, hogy a
   hero/tartalom finoman átsejlik alattuk */
.app-topnav { display: none; padding: 16px clamp(24px,5vw,56px); background: color-mix(in oklch, var(--dark) 70%, transparent); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); color: #fff; position: sticky; top: 0; z-index: 50; transition: background .35s ease, box-shadow .35s ease; }
.app-topnav .brand { font-family: var(--font-display); font-size: 21px; font-weight: 600; white-space: nowrap; }
.app-topnav .brand span { color: var(--accent-soft); }
.app-topnav .brand-sub { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; opacity: .7; margin-top: 2px; text-align: center; }
.app-topnav .nav-btns { display: flex; align-items: center; gap: 4px; }
.app-topnav .nav-btns a { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: transparent; border: none; color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.app-topnav .nav-btns a.active { background: rgba(255,255,255,0.18); }
.app-topnav .nav-btns a svg { width: 20px; height: 20px; }
.app-topnav .switch { font-size: 12px; opacity: .75; border: 1px dashed rgba(255,255,255,0.5); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.app-topnav.stacked { flex-direction: column; align-items: center; gap: 14px; padding: 22px clamp(24px,5vw,56px) 16px; }
.app-topnav.stacked .brand { font-size: 26px; letter-spacing: .5px; }
.app-topnav.stacked .switch { position: static; }
.app-topnav:not(.stacked) { align-items: center; justify-content: space-between; gap: 24px; }

/* --- mobil fejléc: márka + hamburger, lenyíló menüvel --- */
.app-mobilebar { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 16px; background: color-mix(in oklch, var(--dark) 70%, transparent); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); color: #fff; transition: background .35s ease, box-shadow .35s ease; }
/* A hero fölött (lap tetején, kezdőlapon) a nav teljesen áttetsző, csak egy
   vékony fehér kerettel — a hero a nav ALÁ csúszik (negatív margó); kigörgetve
   visszakapja a színét. A .nav-clear osztályt az app.js kapcsolja. */
.nav-clear .app-mobilebar, .nav-clear .app-topnav { background: rgba(20,14,12,0.10); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
/* vékony fehér keret a sáv belsejében + a márkanév középen, amíg a hero fölött van */
.nav-clear .app-mobilebar::before { content: ""; position: absolute; inset: 8px 12px; border: 1.5px solid rgba(255,255,255,0.85); border-radius: 14px; pointer-events: none; }
.nav-clear .app-mobilebar, .nav-clear .app-topnav { text-shadow: 0 1px 8px rgba(0,0,0,0.55); }
.nav-clear .app-mobilebar .hamburger span { box-shadow: 0 1px 4px rgba(0,0,0,0.5); }
/* desktopon a nav mindig tömör, a hero alatta kezdődik (nincs áttetsző állapot) */
@media (min-width: 900px) {
  .nav-clear .app-topnav, .app-topnav { background: var(--dark); backdrop-filter: none; -webkit-backdrop-filter: none; text-shadow: none; }
  .has-hero .hero-pin { margin-top: 0; }
}
.app-mobilebar .brand { z-index: 1; }
.has-hero .hero-pin { margin-top: calc(-1 * var(--nav-h, 56px)); }
.app-mobilebar.open { background: color-mix(in oklch, var(--dark) 92%, transparent) !important; box-shadow: none !important; }
.app-mobilebar .brand { font-family: var(--font-display); font-size: 20px; font-weight: 600; white-space: nowrap; position: absolute; left: 50%; transform: translateX(-50%); }
.app-mobilebar .brand span { color: var(--accent-soft); }
.app-mobilebar .right { display: flex; align-items: center; gap: 4px; }
.app-mobilebar .acct { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: #fff; border-radius: 50%; }
.app-mobilebar .acct svg { width: 22px; height: 22px; }
.hamburger { width: 40px; height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: none; padding: 0; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.app-mobilebar.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.app-mobilebar.open .hamburger span:nth-child(2) { opacity: 0; }
.app-mobilebar.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.app-menu { position: fixed; left: 0; right: 0; top: 56px; z-index: 99; background: color-mix(in oklch, var(--dark) 92%, transparent); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); color: #fff; padding: 8px 12px 18px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: 0 16px 32px rgba(0,0,0,0.25); }
.app-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.app-menu a { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 12px; color: rgba(255,255,255,0.9); font-size: 15px; font-weight: 600; }
.app-menu a svg { width: 20px; height: 20px; opacity: .85; }
.app-menu a.active { background: rgba(255,255,255,0.14); color: #fff; }
.app-menu .sep { height: 1px; background: rgba(255,255,255,0.15); margin: 8px 12px; }
.app-menu .switch a { font-size: 13px; opacity: .8; }
.menu-backdrop { position: fixed; inset: 0; top: 56px; z-index: 98; background: rgba(0,0,0,0.35); display: none; }
.menu-backdrop.open { display: block; }
.app-topnav .acct-link { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #fff; border: 1.5px solid rgba(255,255,255,0.45); border-radius: 999px; padding: 8px 14px; white-space: nowrap; }
.app-topnav .acct-link svg { width: 18px; height: 18px; }
.app-topnav .right { display: flex; align-items: center; gap: 10px; }
.app-topnav.stacked .right { position: absolute; right: clamp(24px,5vw,56px); top: 24px; }

@media (min-width: 900px) {
  .app-topnav { display: flex; }
  .app-mobilebar, .app-menu, .menu-backdrop { display: none !important; }
  /* desktopon a tartalom legfeljebb 1080px széles, középre igazítva; a
     masonry is ezen belül marad (mobilon full-bleed) */
  .app-content { max-width: 1080px; padding-bottom: 60px; box-shadow: none; }
  .masonry { width: 100%; margin-left: 0; }
  .gallery-preview { grid-template-columns: repeat(6, 1fr); }
  .gallery-full { grid-template-columns: repeat(3, 1fr); }
  .service-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

/* --- közös blokkok --- */
.block { padding: 26px 20px 6px; }
.block-tight { padding: 24px 20px 8px; }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.eyebrow.wide { letter-spacing: 2.5px; margin-bottom: 8px; }
.h-xl { font-family: var(--font-display); font-size: 32px; line-height: 1.1; font-weight: 600; }
.h-l { font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.h-m { font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.h-s { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.lead { font-size: 14.5px; line-height: 1.6; color: var(--text-2); margin: 10px 0 16px; }
.sub { font-size: 13.5px; color: var(--text-3); line-height: 1.5; margin-top: 8px; }
.row-between { display: flex; align-items: baseline; justify-content: space-between; }
.link-more { font-size: 13px; font-weight: 700; color: var(--dark); cursor: pointer; }
.btn-primary { width: 100%; padding: 16px; border: none; border-radius: 14px; background: var(--dark); color: #fff; font-size: 15px; font-weight: 700; display: block; text-align: center; }
.btn-primary[disabled] { opacity: .5; cursor: not-allowed; }
.btn-outline { padding: 14px 26px; border-radius: 12px; border: 1.5px solid var(--dark); background: transparent; color: var(--dark); font-weight: 700; font-size: 14px; display: inline-block; }
.card { background: var(--surface); border-radius: 14px; padding: 18px; }
.card .label { font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.card .val { font-size: 14.5px; }
.card .val a { color: var(--dark); font-weight: 600; }
.stack { display: flex; flex-direction: column; gap: 14px; padding: 8px 20px; }

/* --- kezdőlap: masonry (foto) / hero (pilla) --- */
.masonry { column-count: 4; column-gap: 4px; padding: 0; width: 100vw; margin-left: calc(50% - 50vw); }
.masonry img { width: 100%; display: block; margin-bottom: 4px; break-inside: avoid; object-fit: cover; }
.masonry img.tall { height: 280px; }
.masonry img.short { height: 190px; }
@media (min-width: 900px) { .masonry img.tall { height: 380px; } .masonry img.short { height: 260px; } }
.hero { position: relative; }
.hero img { width: 100%; height: 420px; object-fit: cover; display: block; }
/* enyhe, semleges-meleg sötétítés csak a hero alján (a cím olvashatóságához) — a
   képkockák színét nem lilítja el */
.hero .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,12,0.42) 0%, rgba(20,14,12,0) 20%, rgba(20,14,12,0) 55%, var(--hero-scrim) 100%); }
.hero .text { position: absolute; left: 24px; right: 24px; bottom: 28px; }
.hero .eyebrow { color: var(--accent-soft); letter-spacing: 2.5px; font-size: 12px; margin-bottom: 10px; }
.hero h1 { font-family: var(--font-display); font-size: 38px; line-height: 1.08; font-weight: 600; color: #fff; margin: 0; }
@media (min-width: 900px) { .hero img { height: 520px; } .hero h1 { font-size: 52px; } }
.stats { display: flex; gap: 10px; padding: 18px 20px; overflow-x: auto; }
.stat { flex: 1; min-width: 140px; background: var(--surface); border-radius: 14px; padding: 14px; text-align: center; }
.stat .num { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--dark); }
.stat .lbl { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.gallery-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 20px 0; }
/* mobilon a "Munkáim" előnézet képei egymás alatt, nagyban */
@media (max-width: 899px) { .gallery-preview { grid-template-columns: 1fr; gap: 12px; } .gallery-preview img { aspect-ratio: 3 / 1; border-radius: 16px; } }
/* height:auto kell, különben a HTML height="900" attribútum érvényesül és az
   aspect-ratio nem hat */
.gallery-preview img, .gallery-full img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; cursor: zoom-in; }
.gallery-full { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px 20px 26px; }
.gallery-full img { border-radius: 14px; aspect-ratio: 2 / 1; }
@media (min-width: 900px) { .gallery-full img { aspect-ratio: 2 / 1; } }
.chips { display: flex; gap: 8px; padding: 14px 20px 4px; overflow-x: auto; }
.chips button { flex-shrink: 0; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1.5px solid var(--line); background: transparent; color: var(--text-2); }
.chips button.active { background: var(--dark); color: #fff; border-color: var(--dark); }
.client-gallery { margin: 26px 20px 0; background: var(--dark); border-radius: 16px; padding: 20px; color: #fff; }
.client-gallery.bottom { margin: 0 20px 26px; }
.client-gallery .tag { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; opacity: .8; margin-bottom: 6px; }
.client-gallery .title { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.client-gallery p { font-size: 13.5px; line-height: 1.5; opacity: .9; margin: 0 0 14px; }
.client-gallery form { display: flex; gap: 8px; }
.client-gallery input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 10px; border: none; font-size: 14px; }
.client-gallery button { padding: 12px 18px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,0.5); background: transparent; color: #fff; font-weight: 700; font-size: 14px; }
.testimonials { display: flex; gap: 12px; overflow-x: auto; padding: 12px 20px 24px; scroll-snap-type: x mandatory; }
.testimonial { scroll-snap-align: start; min-width: 230px; background: var(--surface); border-radius: 16px; padding: 18px; }
.testimonial .stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial .quote { font-family: var(--font-display); font-style: italic; font-size: 15.5px; line-height: 1.45; margin-bottom: 10px; }
.testimonial .name { font-size: 12.5px; color: var(--muted); }

/* --- szolgáltatások --- */
.service-groups { padding: 8px 20px 20px; display: flex; flex-direction: column; gap: 22px; }
.service-groups.cards { gap: 16px; }
.group-title { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.group-list { display: flex; flex-direction: column; gap: 10px; }
.service-row { background: var(--surface); border-radius: 14px; padding: 16px; display: flex; justify-content: space-between; gap: 12px; align-items: center; cursor: pointer; }
.service-row .name { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.service-row .dur { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.service-row .price { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--dark); white-space: nowrap; }
.pkg { background: var(--surface); border-radius: 18px; padding: 22px; border: 1.5px solid var(--line); }
.pkg .name { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.pkg .price { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--accent-strong); margin: 6px 0 4px; }
.pkg .dur { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.pkg .features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.pkg .features div { display: flex; gap: 8px; font-size: 13.5px; align-items: flex-start; }
.pkg .features span:first-child { color: var(--accent-strong); }
.pkg button { width: 100%; padding: 13px; border: none; border-radius: 11px; background: var(--dark); color: #fff; font-size: 14px; font-weight: 700; }
.pkg .quote-note { font-size: 12.5px; color: var(--muted); text-align: center; padding: 8px 0 0; }

/* --- foglalás --- */
/* desktopon a foglaló keskeny, középre igazított oszlop */
@media (min-width: 900px) {
  .tab-panel[data-panel="booking"] > div { max-width: 640px; margin-left: auto; margin-right: auto; }
  .tab-panel[data-panel="booking"] .slot-grid { grid-template-columns: repeat(4, 1fr); }
}
.step-title { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.step { padding: 20px 20px 4px; }
.pick-list { display: flex; flex-direction: column; gap: 8px; }
.pick { text-align: left; padding: 14px 16px; border-radius: 12px; border: none; background: var(--surface); color: var(--text); }
.pick.active { background: var(--dark); color: #fff; }
.pick .top { display: flex; justify-content: space-between; gap: 10px; }
.pick .top span { font-weight: 700; font-size: 14.5px; }
.pick .meta { font-size: 12px; opacity: .7; margin-top: 3px; }
.pick .brand-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .6; }
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.day { flex-shrink: 0; width: 56px; padding: 10px 0; border-radius: 12px; text-align: center; border: none; background: var(--surface); color: var(--text); }
.day.active { background: var(--dark); color: #fff; }
.day.off { background: transparent; color: var(--day-off); cursor: default; }
.day .dow { font-size: 10.5px; font-weight: 700; text-transform: uppercase; opacity: .7; }
.day .num { font-size: 16px; font-weight: 700; margin-top: 2px; }
.day.more { width: auto; padding: 10px 12px; font-size: 12px; font-weight: 700; background: transparent; border: 1.5px solid var(--line); color: var(--text-2); }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { padding: 11px 0; border-radius: 10px; font-weight: 700; font-size: 14px; border: none; background: var(--surface); color: var(--text); }
.slot.active { background: var(--dark); color: #fff; }
.slot-empty { font-size: 13.5px; color: var(--text-3); padding: 6px 0; grid-column: 1 / -1; }
.field-list { display: flex; flex-direction: column; gap: 10px; }
.field-list input, .field-list textarea { width: 100%; padding: 13px 15px; border-radius: 11px; border: 1.5px solid var(--line); font-size: 14.5px; background: #fff; color: var(--text); }
.field-list textarea { resize: vertical; }
.field-list input:focus, .field-list textarea:focus { outline: none; border-color: var(--dark); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--text-3); line-height: 1.5; margin-top: 12px; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; }
.consent a { text-decoration: underline; }
.summary { background: var(--surface); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary div span { opacity: .65; }
.summary div strong { text-align: right; }
.summary div.total { border-top: 1px solid var(--line-soft); padding-top: 8px; }
.form-error { margin: 12px 20px 0; padding: 10px 14px; border-radius: 10px; background: #fdecea; color: #b5432f; font-size: 13.5px; }
.done { padding: 80px 24px; text-align: center; }
.done .check { width: 64px; height: 64px; border-radius: 50%; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 20px; }
.done .title { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.done p { font-size: 14px; color: var(--text-3); line-height: 1.6; }
.done .btn-outline { margin-top: 22px; }
.notice { margin: 12px 20px 0; padding: 12px 14px; border-radius: 12px; background: var(--surface); border-left: 3px solid var(--accent); font-size: 13.5px; }

/* --- kapcsolat --- */
.hours-list div { display: flex; justify-content: space-between; font-size: 13.5px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.hours-list div span { opacity: .65; }
.hours-list div:last-child { border-bottom: none; }
.map { width: 100%; height: 160px; border-radius: 14px; border: 0; display: block; }
@media (min-width: 900px) { .map { height: 260px; } }
.contact-footer { padding: 24px 20px 10px; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.contact-footer a { text-decoration: underline; }

/* --- lightbox --- */
.lightbox { position: fixed; inset: 0; background: var(--lightbox-bg); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox img { width: 100%; max-width: 420px; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.lightbox button { position: absolute; top: 24px; right: 24px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 18px; }

/* --- egyszerű aloldalak (foglalás-állapot, jogi) ugyanebben a héjban --- */
.page-body { padding: 26px 20px 30px; font-size: 14.5px; line-height: 1.65; color: var(--text-2); }
.page-body h1 { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--text); margin: 0 0 12px; }
.page-body h2 { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--text); margin: 22px 0 8px; }
.page-body p { margin: 0 0 12px; }
.page-body a { color: var(--dark); text-decoration: underline; }
.page-body a.btn-primary { color: #fff; text-decoration: none; }
.page-body a.btn-outline, .page-body .auth-links a, .page-body .appt-card .actions a, .page-body .link-more { text-decoration: none; }
.status-pill { display: inline-block; background: var(--dark); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; letter-spacing: .5px; }
.status-pill.pending { background: var(--accent-strong); }
.status-pill.cancelled { background: #999; }
.toast { position: fixed; top: 16px; left: 16px; right: 16px; margin: 0 auto; max-width: 360px; z-index: 9999; padding: 12px 20px; border-radius: 12px; font-size: 14px; font-weight: 600; text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,0.18); background: #e8f5e9; color: #1e6f3a; opacity: 0; transition: opacity .3s; pointer-events: none; }
.toast.error { background: #fdecea; color: #b5432f; }
.toast.show { opacity: 1; }

/* --- scroll-vezérelt hero (pilla): pin + képkocka-átúsztatás --- */
.hero-pin { position: relative; }
.hero-pin .hero { position: relative; height: 420px; overflow: hidden; background: #1a1412; }
/* mobilon a hero a teljes képernyőmagasságot kitölti (állóbb kivágás), a
   szöveg és a "görgess" tipp az alsó tab-sáv fölé kerül */
/* mobilon a hero magasságát az app.js EGYSZER rögzíti (--hero-h) a betöltéskori
   képernyőmagasságból — a böngésző-sáv eltűnése/megjelenése NEM változtatja
   (dvh-val ugrálna), csak az elforgatás (szélesség-változás) számolja újra */
@media (max-width: 899px) {
  .hero-pin .hero { height: var(--hero-h, 100vh); min-height: 520px; }
}
.hero-frames picture, .hero-frames img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-frames img { object-fit: cover; object-position: 72% 50%; opacity: 0; will-change: opacity; }
.hero-frames picture:first-child img { opacity: 1; }
/* desktop: fix hero-kép, a képkocka-animáció nem fut; a szöveg késleltetve úszik be */
.hero .hero-static { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
@media (min-width: 900px) {
  .hero .hero-static { display: block; }
  .hero-frames { display: none; }
  .hero-hint { display: none; }
  .hero .reveal { opacity: 0; transform: translateY(12px); animation: heroReveal .7s ease forwards; }
  .hero .reveal:nth-child(1), .hero h1 .reveal:first-child { animation-delay: .5s; }
  .hero h1 .reveal:last-child { animation-delay: .85s; }
}
@keyframes heroReveal { to { opacity: 1; transform: translateY(0); } }
.hero-pin .hero .scrim { z-index: 1; }
.hero-pin .hero .text { z-index: 2; }
.hero .reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.hero .reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero-hint { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; text-align: center; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.7); opacity: calc(1 - var(--hero-progress, 0) * 3); pointer-events: none; }
@media (min-width: 900px) { .hero-pin .hero { height: 520px; } }
@media (prefers-reduced-motion: reduce) { .hero-frames img:last-child { opacity: 1; } .hero .reveal { opacity: 1; transform: none; } }

/* --- fiók oldalak --- */
.auth-card { background: var(--surface); border-radius: 16px; padding: 20px; margin-top: 8px; }
/* desktopon a belépés/regisztráció/jelszó oldalak keskeny, középre igazított kártyák */
@media (min-width: 900px) {
  .page-body.narrow { max-width: 520px; margin: 0 auto; }
  .page-body.narrow .auth-card { padding: 28px; }
}
.auth-card .field-list input { background: #fff; }
.auth-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13.5px; }
.auth-links a { color: var(--dark); font-weight: 600; text-decoration: none; }
.form-ok { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: #e1f3e6; color: #1e6f3a; font-size: 13.5px; }
.appt-card { background: var(--surface); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.appt-card .when { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text); }
.appt-card .what { font-size: 14px; color: var(--text-2); }
.appt-card .tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.appt-card .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.appt-card .actions a, .appt-card .actions button { font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 9px; border: 1.5px solid var(--dark); background: transparent; color: var(--dark); }
.appt-card.past { opacity: .75; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .3px; background: var(--dark); color: #fff; }
.pill.pending { background: var(--accent-strong); }
.pill.cancelled, .pill.no_show { background: #9a9a9a; }
.pill.completed { background: #4f8a5c; }
.pill.brand { background: transparent; color: var(--text-2); border: 1.5px solid var(--line); }
.account-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .account-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.logout-link { background: none; border: none; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 0; margin-top: 12px; }

/* --- lábléc (minden oldalon, az app.js rendereli) --- */
.app-footer { margin-top: 36px; background: var(--dark); color: rgba(255,255,255,0.85); padding: 32px 20px 24px; }
.app-footer .inner { max-width: 1080px; margin: 0 auto; display: grid; gap: 22px; }
@media (min-width: 900px) { .app-footer .inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; } .app-footer { padding: 44px clamp(24px,5vw,56px) 28px; } }
.app-footer .brand { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.app-footer .brand span { color: var(--accent-soft); }
.app-footer .tagline { font-size: 13.5px; line-height: 1.55; opacity: .8; }
.app-footer .col-title { font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 10px; }
.app-footer .links { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.app-footer .links a { color: rgba(255,255,255,0.85); }
.app-footer .links a:hover { color: #fff; text-decoration: underline; }
.app-footer .bottom { max-width: 1080px; margin: 24px auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 12px; opacity: .6; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; }
.app-footer .bottom a { color: inherit; }
.app-content { padding-bottom: 0; }
