/* ===== Kutyapont design system =====
   Egy accent-csalad (korall), meleg off-white alap, egy lekerekites-skala.
   Gombokon a sotetebb korall (--accent-btn) a WCAG AA kontraszt miatt.
   Light tema, vegig zarolva. */

:root {
  --bg:        #FBF8F4;
  --surface:   #FFFFFF;
  --ink:       #1C1B19;
  --ink-2:     #57534E;
  --ink-3:     #6F6A63;
  --line:      #ECE7DF;
  --line-2:    #E0D9CE;
  --accent:    #E4622E;   /* dekorativ korall (nagy szovegen, ikonokon) */
  --accent-btn:#B94514;   /* gomb-hatter: feher szoveggel ~5.6:1 */
  --accent-btn-hover:#9C3910;
  --accent-wash:#FCEEE6;
  --sage:      #3C7A5A;   /* CSAK statusz (elerheto/siker), nem UI-accent */
  --radius-card: 18px;
  --radius-input: 11px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(60,45,30,.05), 0 2px 8px rgba(60,45,30,.04);
  --shadow-md: 0 8px 30px rgba(60,45,30,.10);
  --shadow-lg: 0 24px 60px rgba(60,45,30,.16);
  --maxw: 1180px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
/* A display:flex/grid/block osztalyszabalyok kulonben felulirjak a [hidden] attributumot. */
[hidden] { display: none !important; }

/* ---------- A11y: lathato fokusz + skip-link ---------- */
:focus-visible { outline: 3px solid var(--accent-btn); outline-offset: 2px; border-radius: 4px; }
.searchbar select:focus-visible, .hs-field select:focus-visible { outline: 3px solid var(--accent-btn); outline-offset: 2px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent-btn); color: #fff; padding: 10px 18px;
  border-radius: 0 0 12px 0; font-weight: 600; font-size: 14px;
}
.skip-link:focus { left: 0; }

/* ---------- Tipografiai finomhangolas ---------- */
h1, h2, h3 { text-wrap: balance; }
.stat b, .price-val, .tier-price, .slot-btn, .cal-slot, .price, .dash-card b { font-variant-numeric: tabular-nums; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px; padding: 11px 20px;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent-btn); color: #fff; box-shadow: 0 6px 18px rgba(185,69,20,.25); }
.btn-primary:hover { background: var(--accent-btn-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: #fff; border-color: var(--ink-3); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-wash); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251,248,244,.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.brand .paw { width: 30px; height: 30px; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); }

.mobile-panel { display: none; }
header.site.open .mobile-panel {
  display: grid; gap: 4px;
  padding: 8px 22px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-panel a { padding: 11px 2px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.mobile-panel a:last-of-type { border-bottom: 0; }
.mobile-panel .btn { margin-top: 10px; }

/* ---------- Hero ---------- */
/* Finom tappancs-minta a hero hattereben: inline SVG (terrakotta, ~5% erosseg),
   ket mancs kulonbozo forgatassal, nagy csempen ismetelve — nem zavarja a szoveget. */
.hero {
  padding: 52px 0 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340' viewBox='0 0 340 340'%3E%3Cg fill='%23E4622E' fill-opacity='0.12'%3E%3Cg transform='translate(52 44) rotate(-18) scale(1.9)'%3E%3Cpath d='M12 14.5c-2.3 0-4.6 1.3-5.4 3.4-.5 1.3.5 2.6 1.9 2.6.9 0 1.7-.4 2.4-.8.4-.2.8-.3 1.1-.3s.7.1 1.1.3c.7.4 1.5.8 2.4.8 1.4 0 2.4-1.3 1.9-2.6-.8-2.1-3.1-3.4-5.4-3.4Z'/%3E%3Cellipse cx='5.5' cy='10.5' rx='2' ry='2.6'/%3E%3Cellipse cx='18.5' cy='10.5' rx='2' ry='2.6'/%3E%3Cellipse cx='9' cy='6.5' rx='2' ry='2.7'/%3E%3Cellipse cx='15' cy='6.5' rx='2' ry='2.7'/%3E%3C/g%3E%3Cg transform='translate(225 205) rotate(14) scale(1.5)'%3E%3Cpath d='M12 14.5c-2.3 0-4.6 1.3-5.4 3.4-.5 1.3.5 2.6 1.9 2.6.9 0 1.7-.4 2.4-.8.4-.2.8-.3 1.1-.3s.7.1 1.1.3c.7.4 1.5.8 2.4.8 1.4 0 2.4-1.3 1.9-2.6-.8-2.1-3.1-3.4-5.4-3.4Z'/%3E%3Cellipse cx='5.5' cy='10.5' rx='2' ry='2.6'/%3E%3Cellipse cx='18.5' cy='10.5' rx='2' ry='2.6'/%3E%3Cellipse cx='9' cy='6.5' rx='2' ry='2.7'/%3E%3Cellipse cx='15' cy='6.5' rx='2' ry='2.7'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 340px 340px;
}
/* a kereso-kartya es a foto maradjon tiszta feluleten — ok fedik a mintat, ez igy jo */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-btn); background: var(--accent-wash); padding: 6px 13px; border-radius: var(--radius-pill); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1.12; letter-spacing: -.025em; margin: 18px 0 16px; padding-bottom: 3px; font-weight: 800; }
.hero h1 em { font-style: italic; color: var(--accent); padding-right: 2px; }
.hero p.lead { font-size: 1.13rem; color: var(--ink-2); max-width: 30rem; margin: 0 0 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Landing hero-kereso: kategoria-pillek + kerulet ---------- */
.hero-search {
  margin-top: 28px; background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--radius-card); padding: 18px; box-shadow: var(--shadow-md);
}
.hs-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); margin-bottom: 10px; }
.hero-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.hero-cat {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--line-2); background: #fff; color: var(--ink-2);
  padding: 9px 14px; border-radius: var(--radius-pill); font-weight: 600; font-size: 14px;
  transition: all .14s ease;
}
.hero-cat .ic { color: var(--ink-3); }
.hero-cat:hover { border-color: var(--accent-btn); color: var(--ink); }
.hero-cat.sel { background: var(--accent-btn); border-color: var(--accent-btn); color: #fff; }
.hero-cat.sel .ic { color: #fff; }
.hs-row { display: flex; gap: 10px; align-items: stretch; }
.hs-field {
  flex: 1; display: flex; align-items: center; gap: 9px;
  border: 1px solid var(--line-2); border-radius: var(--radius-input); padding: 0 13px; background: #fff;
}
.hs-field .icon { color: var(--ink-3); flex-shrink: 0; }
.hs-field select { border: 0; background: none; font-family: inherit; font-size: 15px; font-weight: 500; color: var(--ink); width: 100%; outline: none; padding: 12px 0; }

/* kereso (regi, katalogus-oldali kompatibilitas) */
.searchbar {
  margin-top: 28px; background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--radius-card); padding: 8px; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px;
}
.searchbar .field { display: flex; align-items: center; gap: 9px; padding: 8px 12px; }
.searchbar .field + .field { border-left: 1px solid var(--line); }
.searchbar label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; display: block; }
.searchbar select, .searchbar input {
  border: 0; background: none; font-family: inherit; font-size: 15px; color: var(--ink);
  width: 100%; padding: 2px 0; outline: none; font-weight: 500;
}
.searchbar .icon { color: var(--ink-3); flex-shrink: 0; }

/* hero vizual: fo foto + lebego kis foto + elo-szamlalo */
.hero-visual { position: relative; }
.hero-photo {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 24px;
  box-shadow: var(--shadow-lg); background: var(--accent-wash);
}
.hero-photo-2 {
  position: absolute; top: 26px; right: -20px; width: 34%; aspect-ratio: 4/3;
  object-fit: cover; border-radius: 16px; border: 4px solid #fff;
  box-shadow: var(--shadow-md); transform: rotate(3deg);
}
.hero-badge {
  position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-md); padding: 14px 16px; display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line);
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(60,122,90,.15); }
.hero-badge b { display: block; font-size: 15px; }
.hero-badge span { font-size: 13px; color: var(--ink-3); }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0 8px; }
.stat b { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; display: block; }
.stat span { color: var(--ink-2); font-size: 14px; }

/* ---------- Section base ---------- */
section.block { padding: 62px 0; }
.section-head { max-width: 40rem; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: -.02em; margin: 0 0 10px; font-weight: 700; }
.section-head p { color: var(--ink-2); margin: 0; font-size: 1.05rem; }

/* ---------- Catalog: foto-csempes kategoriavalaszto ---------- */
#katalogus { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 20px; }
.tile {
  position: relative; border: 0; padding: 0; border-radius: 16px; overflow: hidden;
  aspect-ratio: 16/10; background: var(--line); text-align: left;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tile:hover img { transform: scale(1.05); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,15,10,0) 40%, rgba(20,15,10,.72) 100%);
}
.tile .t-label {
  position: absolute; left: 14px; bottom: 11px; z-index: 2; color: #fff;
  font-weight: 700; font-size: 15.5px; line-height: 1.25; text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.tile .t-label small { display: block; font-weight: 500; font-size: 12.5px; opacity: .92; }
.tile.active { outline: 3px solid var(--accent); outline-offset: 2px; }
.tile .t-check {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 26px; height: 26px;
  border-radius: 50%; background: var(--accent); color: #fff; display: none; place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.tile.active .t-check { display: grid; }

.cat-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.chip {
  border: 1px solid var(--line-2); background: #fff; color: var(--ink-2);
  padding: 9px 16px; border-radius: var(--radius-pill); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px; transition: all .14s ease;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.cat-count { margin-left: auto; color: var(--ink-3); font-size: 14px; }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card-accent { height: 5px; width: 100%; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-head { display: flex; align-items: center; gap: 13px; }
.mono {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 700; font-size: 19px; color: #fff;
}
/* valodi profilkep a monogram helyen: ugyanaz a meret/lekerekites, kitolto vagas */
img.mono-img { object-fit: cover; background: #fff; border: 1px solid var(--line-2); }
/* profilkep-szerkeszto az Adataim fulon */
.avatar-edit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.avatar-preview, .avatar-ph { width: 76px; height: 76px; border-radius: 18px; flex-shrink: 0; }
.avatar-preview { object-fit: cover; border: 1.5px solid var(--line-2); background: #fff; }
.avatar-ph { display: grid; place-items: center; font-size: 28px; background: var(--accent-wash); border: 1.5px dashed var(--line-2); }
.card-head .card-link { flex: 1; min-width: 0; }
.card h3 { margin: 0; font-size: 1.08rem; letter-spacing: -.01em; }
.card .loc { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 5px; margin-top: 3px; }
/* toborzo-kartya a katalogus-lista vegen */
.card-join { border: 2px dashed var(--line-2); background: var(--accent-wash); box-shadow: none; }
.card-join .card-body { align-items: flex-start; }
.card-join .join-ico { width: 48px; height: 48px; border-radius: 13px; background: #fff; display: grid; place-items: center; font-size: 22px; border: 1px solid var(--line-2); }
.card-join h3 { margin: 0; font-size: 1.08rem; letter-spacing: -.01em; }
.card-join .blurb b { color: var(--accent-btn); }

.card-more-link { font-size: 13.5px; font-weight: 600; color: var(--accent-btn); margin-top: -2px; }
.card-more-link:hover { text-decoration: underline; }
.card .blurb { color: var(--ink-2); font-size: 14.5px; margin: 0; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); padding: 4px 9px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; gap: 5px; }
.tag.web { color: var(--accent-btn); background: var(--accent-wash); border-color: transparent; }
.card-foot { display: flex; gap: 9px; align-items: center; margin-top: 2px; }
.card-foot .btn { flex: 1; }

/* ures allapot */
.empty {
  grid-column: 1 / -1; text-align: center; padding: 54px 20px;
  border: 1.5px dashed var(--line-2); border-radius: var(--radius-card); background: #fff;
}
.empty .ic { width: 42px; height: 42px; color: var(--accent); margin: 0 auto 14px; }
.empty h3 { margin: 0 0 8px; font-size: 1.3rem; }
.empty p { color: var(--ink-2); margin: 0 auto 20px; max-width: 26rem; }

/* ---------- How it works: nyitott elrendezes, nem kartya-sor ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { background: none; border: 0; padding: 0; }
.step .n {
  font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.03em;
  color: var(--accent); margin-bottom: 12px; width: auto; height: auto;
  background: none; display: block;
}
.step h3 { margin: 0 0 7px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 34ch; }

/* ---------- Provider CTA (business) ---------- */
.provider {
  background: var(--ink); color: #fff; border-radius: 26px; padding: 52px 48px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.provider h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing: -.02em; margin: 0 0 14px; }
.provider p { color: #D9D3CB; margin: 0 0 22px; font-size: 1.05rem; }
.provider .pricing { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 26px; }
.pricing-label { color: #B8B2AA; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.provider .price { font-size: 2.4rem; font-weight: 700; letter-spacing: -.02em; margin-top: 8px; }
.provider .price small { font-size: 1rem; color: #B8B2AA; font-weight: 500; }
.pricing-sub { color: #B8B2AA; margin: 6px 0 0; font-size: 14px; }
.provider ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 11px; }
.provider li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #EDE9E3; }
.provider li svg { color: var(--accent); flex-shrink: 0; }
.provider .note { font-size: 13px; color: #B8B2AA; margin-top: 14px; }

/* ---------- Arazo-blokk (sotet panelen) ---------- */
.founder-band {
  background: rgba(228,98,46,.16); border: 1px solid rgba(228,98,46,.4);
  color: #FBD9C6; border-radius: 12px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 16px;
}
.founder-band b { color: #fff; }
.tier-list { display: grid; gap: 10px; margin-bottom: 18px; }
.tier { border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 13px 16px; }
.tier-main { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.28); }
.tier-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.tier-head b { font-size: 15.5px; }
.tier-price { font-weight: 700; font-size: 15.5px; white-space: nowrap; }
.tier-price small { font-weight: 500; color: #B8B2AA; font-size: 12px; }
.tier p { margin: 0; font-size: 13.5px; color: #C9C3BA; }
.tier-note { margin-top: 5px !important; color: #9C968D !important; font-size: 12.5px !important; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 40px 0 34px; color: var(--ink-2); }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.foot-grid .brand { color: var(--ink); margin-bottom: 10px; }
footer .muted { font-size: 13.5px; color: var(--ink-3); max-width: 22rem; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: 0 0 12px; }
.foot-col a { display: block; color: var(--ink-2); font-size: 14.5px; padding: 4px 0; }
.foot-col a:hover { color: var(--accent-btn); }
.foot-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Modal ---------- */
.modal-back {
  position: fixed; inset: 0; background: rgba(28,27,25,.5); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; z-index: 60; padding: 20px;
}
.modal-back.open { display: flex; }
.modal {
  background: var(--surface); border-radius: 22px; max-width: 480px; width: 100%;
  box-shadow: var(--shadow-lg); overflow: hidden; max-height: 92vh; overflow-y: auto;
}
.modal-head { padding: 22px 24px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.modal-head h3 { margin: 0; font-size: 1.3rem; }
.modal-head .who { color: var(--ink-3); font-size: 14px; margin-top: 3px; }
.modal-close { background: var(--bg); border: 0; border-radius: 10px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink-2); flex-shrink: 0; }
.modal-close:hover { background: var(--line); }
/* minmax(0,1fr) + min-width:0 + width:100% egyutt kell:
   az input sajat intrinsic szelessege kulonben szetfeszíti a grid-oszlopot */
.modal form { padding: 20px 24px 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.fld input, .fld select, .fld textarea {
  width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box;
  border: 1px solid var(--line-2); border-radius: var(--radius-input); padding: 11px 13px;
  font-family: inherit; font-size: 15px; background: #fff; color: var(--ink); outline: none;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--accent-btn); box-shadow: 0 0 0 3px var(--accent-wash); }
.fld textarea { resize: vertical; min-height: 74px; }
.fld .hint { font-size: 12.5px; color: var(--ink-3); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.modal .ok { text-align: center; padding: 34px 24px 38px; }
.modal .ok .ic { width: 56px; height: 56px; color: var(--sage); margin: 0 auto 16px; }
.modal .ok h3 { margin: 0 0 8px; }
.modal .ok p { color: var(--ink-2); margin: 0 0 22px; }
.modal .ok .summary {
  text-align: left; background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px; margin: 0 0 22px; font-size: 14px; color: var(--ink-2);
}
.modal .ok .summary b { color: var(--ink); }

/* ---------- Demo-szalag + tamogato ---------- */
.demo-bar {
  background: var(--ink); color: #EDE9E3; text-align: center;
  font-size: 13px; font-weight: 500; padding: 8px 16px;
}
.demo-bar a { color: var(--accent); font-weight: 700; }
.foot-sponsor {
  margin-top: 26px; padding: 14px 18px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px;
  font-size: 14px; color: var(--ink-2); text-align: center;
}
.foot-sponsor a { color: var(--accent-btn); }
.foot-sponsor a:hover { text-decoration: underline; }

/* ---------- Aloldal-fejlec, kiemelt kartya, CTA-sav ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 44px 0 34px; }
.page-head h1 { margin: 0 0 8px; font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing: -.02em; }
.page-head p { margin: 0; color: var(--ink-2); max-width: 42rem; font-size: 1.05rem; }
.nav-links a.active { color: var(--ink); font-weight: 600; }

.tag.feat { color: #7A5A00; background: #FFF3D6; border-color: transparent; }
.card.featured { border-color: #EED9A4; box-shadow: 0 10px 32px rgba(160,110,20,.10); }

.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps-4 { grid-template-columns: 1fr; } }

.cta-band {
  background: var(--accent-wash); border: 1px solid #F3D9C8; border-radius: 24px;
  padding: 44px 30px; text-align: center;
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; }
.cta-band p { color: var(--ink-2); margin: 0 0 20px; }

@media (max-width: 620px) {
  .hs-row { flex-direction: column; }
  .hero-search { padding: 14px; }
}

/* ---------- Jogi oldalak ---------- */
.legal-wrap { max-width: 46rem; }
.legal-wrap h2 { font-size: 1.2rem; margin: 26px 0 8px; letter-spacing: -.01em; }
.legal-wrap h2:first-child { margin-top: 0; }
.legal-wrap p { color: var(--ink-2); margin: 0 0 12px; font-size: 15px; }
.legal-wrap b { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { margin-top: 44px; max-width: 46rem; }
.faq-title { font-size: 1.25rem; margin: 0 0 14px; letter-spacing: -.01em; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.faq summary { cursor: pointer; font-weight: 600; padding: 15px 18px; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--accent-btn); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--ink-2); font-size: 15px; }

/* ---------- Foglalasi naptar (modal) ---------- */
.cal-loading { padding: 24px; display: grid; gap: 12px; }
.cal-skel { height: 44px; border-radius: 10px; background: linear-gradient(90deg, var(--line) 25%, var(--bg) 50%, var(--line) 75%); background-size: 200% 100%; animation: skel 1.2s infinite linear; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.daystrip { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; }
.day-chip {
  flex-shrink: 0; width: 52px; padding: 7px 0 8px; border-radius: 12px; border: 1px solid var(--line-2);
  background: #fff; font-weight: 700; font-size: 16px; color: var(--ink); text-align: center;
  display: flex; flex-direction: column; gap: 1px; align-items: center;
}
.day-chip small { font-weight: 600; font-size: 11px; color: var(--ink-3); text-transform: uppercase; }
.day-chip.sel { background: var(--accent-btn); border-color: var(--accent-btn); color: #fff; }
.day-chip.sel small { color: rgba(255,255,255,.85); }
.day-chip:disabled { opacity: .38; cursor: not-allowed; }
.slots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot-btn {
  border: 1px solid var(--line-2); background: #fff; border-radius: 10px; padding: 10px 0;
  font-weight: 600; font-size: 14.5px; color: var(--ink);
}
.slot-btn:hover:not(:disabled) { border-color: var(--accent-btn); }
.slot-btn.sel { background: var(--accent-btn); border-color: var(--accent-btn); color: #fff; }
.slot-btn:disabled { background: var(--bg); color: var(--ink-3); text-decoration: line-through; cursor: not-allowed; }
.bk-error { background: #FBEAEA; border: 1px solid #E8C2C2; color: #8C2B2B; border-radius: 10px; padding: 10px 14px; font-size: 14px; }

/* ---------- Szolgaltatoi portal ---------- */
.portal-tag { font-size: 12px; font-weight: 600; color: var(--accent-btn); background: var(--accent-wash); padding: 4px 10px; border-radius: var(--radius-pill); margin-left: 8px; }
.portal-wrap { padding: 40px 22px 70px; min-height: 60vh; }
.login-card { max-width: 420px; margin: 40px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 30px; box-shadow: var(--shadow-sm); }
.login-card h1 { margin: 0 0 6px; font-size: 1.5rem; letter-spacing: -.01em; }
.login-sub { color: var(--ink-2); font-size: 15px; margin: 0 0 20px; }
.login-card form { display: grid; gap: 14px; }
.portal-head h1 { margin: 0 0 4px; font-size: 1.7rem; letter-spacing: -.015em; }
.tabbar { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin: 22px 0 18px; }
.tab { background: none; border: 0; border-bottom: 2.5px solid transparent; padding: 10px 14px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.tab.active { color: var(--ink); border-bottom-color: var(--accent-btn); }
.tab-badge { background: var(--accent-btn); color: #fff; font-size: 11.5px; border-radius: var(--radius-pill); padding: 2px 7px; margin-left: 5px; }
.req-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 10px; flex-wrap: wrap;
}
.req-main { display: grid; gap: 3px; font-size: 14.5px; }
.req-main b { font-size: 15.5px; }
.req-main a { color: var(--accent-btn); font-weight: 600; }
.req-side { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.req-actions { display: flex; gap: 8px; }
.status-pill { font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: var(--radius-pill); }
.st-uj { background: #FFF3D6; color: #8A6116; }
.st-elfogadva { background: #E3F0E9; color: #2C5E45; }
.st-elutasitva { background: var(--bg); color: var(--ink-3); }
/* ===== Naptar: Reservio-szeru idovonal (het / nap) + agenda + mini-honap =====
   ALAPELV: minden idobeli pozicio PERCBOL, calc()-kal, unitless custom property-bol.
   A JS soha nem szamol pixelt, csak percet. Igy a zoom es a print egy valtozo atirasa.
   Precedencia mindenhol: mult > foglalas > blokk > szabad. */
.s-free    { background: #EFEAE2; }
.s-new     { background: #F5C64C; }
.s-busy    { background: var(--sage); }
.s-blocked { background: #C9C3BA; }
.s-past    { background: #F6F3EE; }

.cal-root { position: relative; }
.cal-errbar, .cal-warn { margin-bottom: 12px; }
.cal-warn { background: #FFF8E6; border: 1px solid #EED9A4; color: #6B5310; border-radius: 12px; padding: 12px 16px; font-size: 14px; }

/* --- egyetlen sticky reteg; az offseteket ResizeObserver irja --- */
.cal-stick { position: sticky; top: var(--kh-stick-0, 69px); z-index: 32; background: var(--bg); border-bottom: 1px solid var(--line); }
.kh-modebar { background: var(--accent-btn); color: #fff; border-radius: 12px; padding: 10px 14px; margin: 8px 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.kh-modebar .btn { margin-left: auto; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 8px 0; }
.cal-nav { display: flex; align-items: center; gap: 8px; }
.cal-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; font-size: 20px; line-height: 1; color: var(--ink); display: grid; place-items: center; }
.cal-arrow:hover { border-color: var(--accent-btn); }
.cal-arrow-sm { width: 30px; height: 30px; font-size: 16px; }
.cal-title { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; min-width: 210px; text-align: center; margin: 0; }
.kh-chip { border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); border-radius: var(--radius-pill); padding: 0 15px; min-height: 36px; font-weight: 600; font-size: 14px; font-family: inherit; }
.kh-chip:hover { border-color: var(--accent-btn); color: var(--ink); }
.kh-chip[aria-pressed="true"] { background: var(--accent-btn); border-color: var(--accent-btn); color: #fff; }
.kh-chip[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* szegmentalt nezetvalto */
.cal-viewsw { display: inline-flex; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-pill); padding: 3px; gap: 2px; }
.cal-vbtn { border: 0; background: none; font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 7px 15px; border-radius: var(--radius-pill); min-height: 34px; }
.cal-vbtn[aria-checked="true"] { background: var(--accent-btn); color: #fff; }

/* --- keret --- */
.cal-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 14px; }
.cal-side { position: sticky; top: calc(var(--kh-stick-0, 69px) + var(--kh-stick-1, 60px) + 8px); display: grid; gap: 14px; }
/* FONTOS: 'clip' es NEM 'hidden' — a hidden gorgetesi kontenert csinal az elembol,
   amitol a .cal-tl-head sticky-je ahhoz tapadna az ablak helyett.
   A masodik reteg NEM a body-n van: a body overflow-ja a viewportra propagal es megolne a gorgetest. */
.cal-main { max-width: 100%; overflow-x: clip; }
#viewNaptar { overflow-x: clip; }

/* --- mini honap-navigator --- */
.cal-mini { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.cal-mini-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-mini-head b { font-size: 14px; }
.cal-mini-wd { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; font-size: 10px; text-transform: uppercase; color: var(--ink-3); font-weight: 600; text-align: center; margin-bottom: 4px; }
.cal-mini-grid { display: grid; gap: 2px; }
.cal-mini-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-mc { min-height: 34px; border: 0; background: none; border-radius: 8px; font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink); display: grid; gap: 2px; place-items: center; align-content: center; padding: 3px 0; cursor: pointer; }
.cal-mc .mb { width: 18px; height: 3px; border-radius: 2px; background: var(--line-2); }
.cal-mc.today { box-shadow: inset 0 0 0 1.5px var(--accent-btn); color: var(--accent-btn); }
.cal-mc.sel { background: var(--accent-btn); color: #fff; }
.cal-mc.inweek { background: var(--accent-wash); }
.cal-mc.sel.inweek { background: var(--accent-btn); }
.cal-mc.other { opacity: .38; }
.cal-mc.past { opacity: .5; }
.cal-mc.closed .mb { background: transparent; }
.cal-mc.hasnew { outline: 1.5px dashed var(--accent); outline-offset: -2px; }
.cal-mc.orphan::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent-btn); position: absolute; }
.cal-mc.exc { text-decoration: underline dotted; text-underline-offset: 3px; }

.cal-inbox { display: grid; gap: 6px; }
.cal-inbox h4 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.cal-inbox-item { background: #FFF8E6; border: 1px solid #EED9A4; border-radius: 10px; padding: 9px 11px; font-size: 13px; text-align: left; width: 100%; font-family: inherit; cursor: pointer; display: grid; gap: 1px; }
.cal-inbox-item b { font-size: 13.5px; }
.cal-inbox-item span { color: var(--ink-2); font-size: 12.5px; }
.cal-summary { font-size: 13px; color: var(--ink-2); margin: 0; }
.cal-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-btn); font-weight: 700; text-decoration: underline; cursor: pointer; }
.cal-side-range { justify-self: start; }

/* ============ IDOVONAL ============ */
/* Szolgaltatas-szinek: a foglalas color mezoje csak paletta-token (c1..c8), a szint a CSS adja. */
:root {
  --svc-c1: #2B6CB0; --svc-c1-bg: #E3EEF9;   /* kek */
  --svc-c2: #6B46C1; --svc-c2-bg: #EEE8F9;   /* lila */
  --svc-c3: #55705B; --svc-c3-bg: #E9F2EC;   /* zold (sage) */
  --svc-c4: #B7791F; --svc-c4-bg: #FBF3DD;   /* sarga */
  --svc-c5: #B83280; --svc-c5-bg: #F9E7F1;   /* rozsaszin */
  --svc-c6: #2C7A7B; --svc-c6-bg: #E2F1F1;   /* turkiz */
  --svc-c7: #C0392B; --svc-c7-bg: #F9E5E2;   /* piros */
  --svc-c8: #4A5568; --svc-c8-bg: #EBEDF0;   /* szurke */
}
.cal-tl {
  --kh-hpx: 60px;                     /* px / ora — a zoom EZT irja */
  --kh-mpx: calc(var(--kh-hpx) / 60); /* px / perc */
  --kh-ax: 52px;                      /* idotengely szelessege */
  --kh-cols: 7;                       /* JS-TULAJDON, soha nem media query */
  --kh-start: 540; --kh-end: 1020;
  position: relative; max-width: 100%;
  /* SAJAT gorgetesi kontener: hosszu nap sem tolja szet az oldalt, a fejlec bent ragad.
     A .cal-tl-head sticky-je ehhez a kontenerhez tapad (top: 0), NEM az ablakhoz. */
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  max-height: calc(100vh - var(--kh-stick-0, 69px) - var(--kh-stick-1, 60px) - 96px);
  max-height: calc(100dvh - var(--kh-stick-0, 69px) - var(--kh-stick-1, 60px) - 96px);
  min-height: 340px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg);
}
.cal-tl-oobwrap { background: #FFF8E6; border: 1px solid #EED9A4; border-radius: 10px; padding: 8px 12px; font-size: 13px; color: #6B5310; margin: 8px; }
.cal-tl-head, .cal-tl-body { display: grid; grid-template-columns: var(--kh-ax) repeat(var(--kh-cols), minmax(0, 1fr)); }
.cal-tl-head { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line-2); }
.cal-tl-body > * { min-width: 0; }
.cal-tl-corner { border-right: 1px solid var(--line); }
.cal-tl-dh { padding: 7px 4px; text-align: center; border-left: 1px solid var(--line); background: none; font-family: inherit; cursor: pointer; }
.cal-tl-dh span { display: block; font-size: 10.5px; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.cal-tl-dh b { display: block; font-size: 16px; font-variant-numeric: tabular-nums; }
.cal-tl-dh.is-today b { color: var(--accent-btn); }
.cal-tl-dh.is-sel { background: var(--accent-wash); }
.cal-tl-dh.is-closed b { color: var(--ink-3); font-weight: 500; }
.cal-tl-dh.is-exc b::after { content: "✱"; font-size: 9px; vertical-align: super; color: var(--accent-btn); margin-left: 1px; }

.cal-tl-axis { position: relative; }
.cal-tl-hour { position: absolute; right: 8px; top: calc((var(--t, 0) - var(--kh-start, 0)) * var(--kh-mpx)); transform: translateY(-50%); font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.cal-tl-col {
  position: relative; border-left: 1px solid var(--line);
  height: calc((var(--kh-end, 600) - var(--kh-start, 0)) * var(--kh-mpx));
  touch-action: pan-y;
  /* ALAPERTELMEZES = NEM FOGLALHATO. Minden el nem szamolt perc a biztonsagos iranyba teved. */
  background: repeating-linear-gradient(45deg, #FBFAF8 0 2px, #F1ECE4 2px 10px);
}
.cal-tl-open { position: absolute; left: 0; right: 0; top: calc((var(--t, 0) - var(--kh-start, 0)) * var(--kh-mpx)); height: calc(var(--d, 0) * var(--kh-mpx)); background: #fff; }
.cal-tl-open.has-hourlines { background-image: repeating-linear-gradient(to bottom, var(--line-2) 0 1px, transparent 1px calc(60 * var(--kh-mpx))); }

.cal-tl-slot, .cal-tl-blk, .cal-tl-tail {
  position: absolute; left: 1px; right: 1px;
  top: calc((var(--t, 0) - var(--kh-start, 0)) * var(--kh-mpx));
  height: calc(var(--d, 0) * var(--kh-mpx));
}
.cal-tl-slot { border: 0; border-top: 1px solid var(--line); background: transparent; padding: 0; z-index: 4; cursor: pointer; }
.cal-tl-slot:hover { background: var(--accent-wash); }
.cal-tl-slot.st-blocked { background: #F2EFEA; }
.cal-tl-slot.st-past { background: rgba(251,248,244,.55); pointer-events: none; }
.cal-tl-slot.in-range { background: var(--accent-wash); box-shadow: inset 0 0 0 1px var(--accent-btn); }
.cal-tl-tail { background: repeating-linear-gradient(45deg,#FBFAF8 0 2px,#F1ECE4 2px 10px); display: grid; place-items: center; z-index: 3; }
.cal-tl-tail span { font-size: 10px; color: var(--ink-3); text-align: center; padding: 0 3px; }

.cal-tl-blk {
  height: calc(var(--d, 0) * var(--kh-mpx) - 2px);
  border: 0; border-left: 5px solid var(--blkc, var(--sage)); background: var(--blkbg, #E9F2EC);
  padding: 4px 6px; text-align: left; overflow: hidden; border-radius: 0; z-index: 5;
  font-family: inherit; cursor: pointer; display: block;
}
.cal-tl-blk b { display: block; font-size: 11px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-tl-blk span { display: block; font-size: 11px; color: var(--ink-2); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-tl-blk .cal-tl-pill { display: none; font-size: 10px; font-style: normal; color: var(--accent-btn); font-weight: 700; }
.cal-tl-blk.st-busy { --blkc: var(--sage); --blkbg: #E9F2EC; }
.cal-tl-blk.st-new { --blkc: var(--accent-btn); --blkbg: var(--accent-wash);
  background-image: repeating-linear-gradient(45deg, rgba(185,69,20,.16) 0 2px, transparent 2px 8px); }
/* szolgaltatas-szin az allapot-szin UTAN: a valasztott szin nyer, az uj-keres csikozas megmarad */
.cal-tl-blk.svc-c1 { --blkc: var(--svc-c1); --blkbg: var(--svc-c1-bg); }
.cal-tl-blk.svc-c2 { --blkc: var(--svc-c2); --blkbg: var(--svc-c2-bg); }
.cal-tl-blk.svc-c3 { --blkc: var(--svc-c3); --blkbg: var(--svc-c3-bg); }
.cal-tl-blk.svc-c4 { --blkc: var(--svc-c4); --blkbg: var(--svc-c4-bg); }
.cal-tl-blk.svc-c5 { --blkc: var(--svc-c5); --blkbg: var(--svc-c5-bg); }
.cal-tl-blk.svc-c6 { --blkc: var(--svc-c6); --blkbg: var(--svc-c6-bg); }
.cal-tl-blk.svc-c7 { --blkc: var(--svc-c7); --blkbg: var(--svc-c7-bg); }
.cal-tl-blk.svc-c8 { --blkc: var(--svc-c8); --blkbg: var(--svc-c8-bg); }
.cal-tl-blk.st-past { opacity: .5; }
.cal-tl-blk.is-alsoblocked { border-left-style: dashed; }
.cal-tl-blk.is-dup { outline: 2px solid #8C2B2B; outline-offset: -2px; }
.cal-tl-blk.is-orphan { --blkc: #B8860B; --blkbg: #FFF8E6; border-bottom: 2px dashed #B8860B; }
.cal-tl-blk[data-share="2"] { width: calc(50% - 3px); left: calc(var(--i,0) * 50% + 1px); right: auto; }

/* --- drag & drop --- */
.cal-tl-blk:not(.st-past) { cursor: grab; }
.cal-tl-blk.is-dragging { opacity: .45; cursor: grabbing; }
body.kh-dragging { user-select: none; cursor: grabbing; }
body.kh-dragging .cal-tl-slot:hover { background: transparent; }
.cal-tl-grip { position: absolute; left: 0; right: 0; bottom: 0; height: 9px; cursor: ns-resize; opacity: 0; }
.cal-tl-grip::before { content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 26px; height: 3px; border-radius: 2px; background: var(--blkc, var(--sage)); opacity: .55; }
.cal-tl-blk:hover .cal-tl-grip, .cal-tl-blk:focus-visible .cal-tl-grip { opacity: 1; }
.cal-tl-ghost { position: absolute; left: 1px; right: 1px; z-index: 7; pointer-events: none;
  top: calc((var(--t, 0) - var(--kh-start, 0)) * var(--kh-mpx));
  height: calc(var(--d, 0) * var(--kh-mpx) - 2px);
  border: 2px dashed var(--sage); background: rgba(85,112,91,.12); border-radius: 4px; }
.cal-tl-ghost.is-invalid { border-color: #C0392B; background: rgba(192,57,43,.10); }
.cal-dragtip { position: fixed; z-index: 90; pointer-events: none; background: var(--ink); color: #fff;
  border-radius: 8px; padding: 5px 10px; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow-lg); font-variant-numeric: tabular-nums; }

.cal-tl-now { position: absolute; left: var(--kh-ax); right: 0; height: 0; z-index: 6; pointer-events: none;
  top: calc((var(--now, 0) - var(--kh-start, 0)) * var(--kh-mpx)); border-top: 2px solid #C0392B; }
.cal-tl-now::before { content: ""; position: absolute; left: -5px; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: #C0392B; }

.cal-tl[data-den="xs"] .cal-tl-blk span { display: none; }
.cal-tl[data-den="md"] .cal-tl-blk .cal-tl-pill { display: block; }
/* a zoom a gorgetheto kontener aljan lebeg, hogy gorgeteskor is keznel legyen */
.cal-tl-zoom { position: sticky; bottom: 8px; z-index: 21; display: flex; gap: 6px; justify-content: flex-end; padding: 8px; pointer-events: none; }
.cal-zbtn { width: 44px; height: 44px; border: 1px solid var(--line-2); background: #fff; border-radius: 10px; font-size: 18px; color: var(--ink-2); pointer-events: auto; box-shadow: 0 2px 8px rgba(0,0,0,.08); cursor: pointer; }
.cal-zbtn[aria-disabled="true"] { opacity: .4; pointer-events: none; }

/* ============ AGENDA (lista-nezet) ============ */
.cal-agenda { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 18px; }
.cal-ag-head { margin-bottom: 10px; }
.cal-ag-head h4 { margin: 0; font-size: 1.05rem; letter-spacing: -.01em; }
.cal-ag-sub { margin: 3px 0 0; font-size: 13px; color: var(--ink-2); }
.cal-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 14px; }
.cal-rows { display: grid; }
.cal-row { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center; min-height: 52px; padding: 7px 0 7px 9px; border-bottom: 1px solid var(--line); border-left: 4px solid transparent; }
.cal-row:last-child { border-bottom: 0; }
.cal-rt { font-weight: 700; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.cal-rm { display: grid; gap: 2px; font-size: 14px; min-width: 0; }
.cal-rm b { font-size: 14.5px; }
.cal-rm .hint { font-size: 12.5px; }
.cal-rfree { color: var(--ink-3); }
.cal-ra { display: flex; gap: 6px; align-items: center; }
.btn-mini { padding: 7px 12px; font-size: 13.5px; min-height: 36px; }
.cal-tel { width: 44px; height: 44px; background: var(--accent-wash); border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-size: 17px; flex-shrink: 0; }
.cal-row.st-new { border-left-color: #F5C64C; }
.cal-row.st-busy { border-left-color: var(--sage); }
.cal-row.svc-c1 { border-left-color: var(--svc-c1); }
.cal-row.svc-c2 { border-left-color: var(--svc-c2); }
.cal-row.svc-c3 { border-left-color: var(--svc-c3); }
.cal-row.svc-c4 { border-left-color: var(--svc-c4); }
.cal-row.svc-c5 { border-left-color: var(--svc-c5); }
.cal-row.svc-c6 { border-left-color: var(--svc-c6); }
.cal-row.svc-c7 { border-left-color: var(--svc-c7); }
.cal-row.svc-c8 { border-left-color: var(--svc-c8); }
.cal-row.is-covered { opacity: .65; background: #FBFAF8; }
.cal-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: var(--line-2); vertical-align: 1px; }
.cal-dot.svc-c1 { background: var(--svc-c1); } .cal-dot.svc-c2 { background: var(--svc-c2); }
.cal-dot.svc-c3 { background: var(--svc-c3); } .cal-dot.svc-c4 { background: var(--svc-c4); }
.cal-dot.svc-c5 { background: var(--svc-c5); } .cal-dot.svc-c6 { background: var(--svc-c6); }
.cal-dot.svc-c7 { background: var(--svc-c7); } .cal-dot.svc-c8 { background: var(--svc-c8); }
.cal-row.st-free { border-left-color: var(--line-2); }
.cal-row.st-blocked { border-left-color: #C9C3BA; background: #FBFAF8; }
.cal-row.st-past { border-left-color: transparent; opacity: .5; }
.cal-row.is-saving { opacity: .55; pointer-events: none; }
.cal-row.is-orphan { background: #FFF8E6; }
.cal-row.is-dup { background: #FBEAEA; border-left-color: #8C2B2B; }
.cal-orphan-note { color: #8A6116; font-size: 12.5px; }
.cal-orphan-block { background: #FFF8E6; border: 1px solid #EED9A4; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; margin-top: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cal-ag-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.cal-empty { color: var(--ink-3); font-size: 14px; padding: 20px 0; text-align: center; }

/* ============ POPOVER / BOTTOM SHEET ============ */
.cal-sheet { position: absolute; z-index: 60; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 16px; width: min(320px, calc(100vw - 32px)); display: grid; gap: 10px; }
.cal-sheet h5 { margin: 0; font-size: 14.5px; letter-spacing: -.01em; }
.cal-sheet .hint { font-size: 12.5px; }
.cal-sheet .btn { width: 100%; }
.cal-sheet-row { display: flex; gap: 8px; }
.cal-sheet-row .btn { width: auto; flex: 1; }
.cal-phone { display: grid; gap: 10px; }
/* kozepre tett gyorsrogzito dialogus (desktop) — gorgetes-fuggetlen, nem tapad slothoz */
.cal-sheet--center { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(400px, calc(100vw - 32px)); max-height: min(86vh, 640px); overflow-y: auto; }
/* szolgaltatas-preset chipek */
.cal-svc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cal-svc-chip { min-height: 34px; padding: 0 12px; font-size: 13px; display: inline-flex; align-items: center; }
.cal-svc-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cal-svc-chip[aria-pressed="true"] .cal-dot { outline: 2px solid #fff; outline-offset: 0; }
.cal-nb-lbl { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.cal-nb-timerow { display: flex; align-items: center; gap: 10px; }
.cal-nb-timerow select { flex: 1; }
.cal-nb-timerow .hint { white-space: nowrap; font-variant-numeric: tabular-nums; }
/* szin-valaszto swatchok */
.cal-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.cal-swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; background: var(--line-2); }
.cal-swatch.svc-c1 { background: var(--svc-c1); } .cal-swatch.svc-c2 { background: var(--svc-c2); }
.cal-swatch.svc-c3 { background: var(--svc-c3); } .cal-swatch.svc-c4 { background: var(--svc-c4); }
.cal-swatch.svc-c5 { background: var(--svc-c5); } .cal-swatch.svc-c6 { background: var(--svc-c6); }
.cal-swatch.svc-c7 { background: var(--svc-c7); } .cal-swatch.svc-c8 { background: var(--svc-c8); }
.cal-swatch.is-sel { border-color: var(--ink); box-shadow: inset 0 0 0 2px #fff; }
.cal-swatch:hover { transform: scale(1.1); }
/* vendeg-javaslatok a nev mezo alatt */
.cal-suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; background: #fff;
  border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow-lg); overflow: hidden; }
.cal-suggest-item { display: block; width: 100%; text-align: left; background: none; border: 0;
  border-bottom: 1px solid var(--line); padding: 8px 12px; font-family: inherit; cursor: pointer; }
.cal-suggest-item:last-child { border-bottom: 0; }
.cal-suggest-item:hover, .cal-suggest-item:focus-visible { background: var(--accent-wash); }
.cal-suggest-item b { display: block; font-size: 13.5px; }
.cal-suggest-item span { display: block; font-size: 12px; color: var(--ink-2); }
.cal-guest-info { color: var(--sage); font-weight: 600; }
/* kivetel-szerkeszto (dateHours) */
.cal-dh-modes { display: grid; gap: 6px; }
.cal-dh-mode { display: flex; align-items: center; gap: 9px; font-size: 14px; border: 1px solid var(--line-2);
  border-radius: 10px; padding: 9px 12px; cursor: pointer; }
.cal-dh-mode:has(input:checked) { border-color: var(--accent-btn); background: var(--accent-wash); }
.cal-ag-foot { display: grid; gap: 8px; }
.cal-toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; z-index: 70; background: var(--ink); color: #fff; border-radius: var(--radius-pill); padding: 12px 18px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-lg); font-size: 14px; max-width: calc(100vw - 32px); }
.cal-toast button { background: none; border: 0; color: var(--accent); font-weight: 700; font-family: inherit; font-size: 14px; cursor: pointer; }

@media (max-width: 1023px) {
  .cal-shell { grid-template-columns: 1fr; }
  .cal-side { position: static; }
  .cal-side-range { justify-self: stretch; }
}
@media (max-width: 620px) {
  .cal-tl { display: none !important; }
  .cal-viewsw { display: none; }
  .cal-title { font-size: 15px; min-width: 0; flex: 1; }
  .cal-nav { width: 100%; }
  .cal-agenda { padding: 14px; }
  .cal-row { min-height: 56px; grid-template-columns: 52px 1fr auto; }
  .cal-tel { width: 48px; height: 48px; }
  .cal-sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: 100%; border-radius: 18px 18px 0 0; padding: 18px 18px 28px; max-height: 82vh; overflow-y: auto; transform: none; }
  body[data-tab="naptar"] .idea-wrap { bottom: 90px; }
}
@media (max-width: 700px) {
  .tabbar { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tabbar::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; }
}
@media (pointer: coarse) { .cal-row { min-height: 56px; } .kh-chip { min-height: 40px; } .btn-mini { min-height: 44px; } }
@media print { .cal-tl, .cal-side, .cal-stick, .idea-wrap, .cal-sheet { display: none !important; } .cal-agenda { display: block !important; } }

/* ---------- Admin: dashboard, szerkeszto, jelvenyek ---------- */
.dash-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 10px; }
.dash-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  text-align: left; font-family: inherit; display: grid; gap: 2px;
}
button.dash-card { cursor: pointer; transition: border-color .14s ease, transform .14s ease; }
button.dash-card:hover { border-color: var(--accent-btn); transform: translateY(-2px); }
.dash-card b { font-size: 1.9rem; letter-spacing: -.02em; }
.dash-card span { color: var(--ink-2); font-size: 13.5px; line-height: 1.35; }
.dash-card.hot { border-color: var(--accent); background: var(--accent-wash); }
.dash-card.hot b { color: var(--accent-btn); }
.dash-h { font-size: 1.05rem; margin: 24px 0 10px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.past-wrap { margin-top: 20px; }
.past-wrap summary::-webkit-details-marker { display: none; }
.btn-danger { color: #8C2B2B; border-color: #E8C2C2; }
.btn-danger:hover { background: #FBEAEA; border-color: #C98787; }
.claimed-badge {
  display: inline-block; vertical-align: middle; font-size: 12.5px; font-weight: 700;
  background: #E3F0E9; color: #2C5E45; padding: 4px 11px; border-radius: var(--radius-pill); margin-left: 8px;
}
.tag.claimed { color: #2C5E45; background: #E3F0E9; border-color: transparent; }
.prof-claim.claimed-box { background: #21402F; }
.prof-editor { display: grid; gap: 16px; max-width: 640px; }
/* ertesitesek-doboz + PIN-csere az Adataim fulon */
.notif-box, .pin-form { border: 1px solid var(--line-2); border-radius: 14px; padding: 18px; background: #fff;
  display: grid; gap: 12px; }
.notif-box h3, .pin-form h3 { margin: 0; font-size: 17px; }
.pin-form { max-width: 640px; margin-top: 22px; }
.pin-form input { font-family: inherit; font-size: 15px; padding: 10px 12px; border: 1.5px solid var(--line-2);
  border-radius: 10px; width: 100%; letter-spacing: 3px; }
.pin-form input:focus { border-color: var(--accent-btn); box-shadow: 0 0 0 3px var(--accent-wash); outline: none; }
.prof-editor input, .prof-editor textarea {
  border: 1px solid var(--line-2); border-radius: var(--radius-input); padding: 11px 13px;
  font-family: inherit; font-size: 15px; background: #fff; color: var(--ink); outline: none; width: 100%;
}
.prof-editor input:focus, .prof-editor textarea:focus { border-color: var(--accent-btn); box-shadow: 0 0 0 3px var(--accent-wash); }
.svc-row { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 8px; margin-bottom: 8px; }
.svc-del {
  border: 1px solid var(--line-2); background: #fff; border-radius: var(--radius-input);
  width: 42px; display: grid; place-items: center; color: var(--ink-3);
}
.svc-del:hover { color: #8C2B2B; border-color: #E8C2C2; }
@media (max-width: 700px) {
  .dash-cards { grid-template-columns: repeat(2, 1fr); }
  .svc-row { grid-template-columns: 1fr; }
  .svc-del { width: 100%; height: 38px; }
}

/* ---------- Admin: kepek + otlet-gomb ---------- */
.img-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.img-thumb { position: relative; width: 92px; height: 92px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.img-thumb img { width: 100%; height: 100%; object-fit: cover; }
.img-thumb.broken { display: none; }
.img-del {
  position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%;
  border: 0; background: rgba(28,27,25,.75); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.img-del:hover { background: #8C2B2B; }
.img-upload-btn { position: relative; overflow: hidden; }

.idea-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.idea-fab {
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent-btn); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(185,69,20,.4);
  transition: transform .15s ease, background .15s ease;
}
.idea-fab:hover { transform: translateY(-2px) scale(1.04); background: var(--accent-btn-hover); }
.idea-panel {
  width: min(340px, calc(100vw - 44px)); background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 18px; box-shadow: var(--shadow-lg);
}
.idea-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.idea-panel textarea {
  width: 100%; border: 1px solid var(--line-2); border-radius: var(--radius-input);
  padding: 10px 12px; font-family: inherit; font-size: 14.5px; resize: vertical; margin-bottom: 10px; outline: none;
}
.idea-panel textarea:focus { border-color: var(--accent-btn); box-shadow: 0 0 0 3px var(--accent-wash); }
.idea-panel .bk-error { margin-bottom: 10px; }

/* ---------- Kartya-link a profilra ---------- */
.card-link { display: block; }
.card-link:hover h3 { color: var(--accent-btn); }
.card-more { color: var(--accent-btn); font-weight: 600; }

/* ---------- Profiloldal ---------- */
.prof-hero { height: 96px; position: relative; overflow: hidden; }
.prof-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 160% at 88% -30%, rgba(255,255,255,.26), transparent 55%); }
.prof-hero .pawmark.big { position: absolute; right: 3%; bottom: -18px; width: 104px; height: 104px; color: rgba(255,255,255,.2); transform: rotate(-10deg); }
.prof-wrap { padding-bottom: 70px; }
/* az avatar abszolutan lolog fel a savba, a cim VEGIG feher hatteren van (teljes kontraszt) */
.prof-head { position: relative; display: flex; align-items: flex-end; gap: 22px; flex-wrap: wrap; padding-top: 52px; margin-bottom: 28px; }
.prof-mono { position: absolute; top: -50px; left: 0; width: 92px; height: 92px; border-radius: 22px; font-size: 34px; margin-top: 0; border-width: 4px; }
.prof-title { flex: 1; min-width: 240px; padding-left: 112px; }
.prof-title h1 { margin: 0 0 4px; font-size: clamp(1.5rem, 3.2vw, 2.1rem); letter-spacing: -.02em; }
.prof-title .loc { font-size: 15px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.prof-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.prof-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 26px; align-items: start; }
.prof-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px 26px; margin-bottom: 20px; }
.prof-block h2 { margin: 0 0 14px; font-size: 1.25rem; letter-spacing: -.01em; }
.price-list { display: grid; }
.price-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.price-row:last-child { border-bottom: 0; }
.price-val { font-weight: 700; white-space: nowrap; }
.prof-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.prof-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--bg); }
.prof-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px; margin-bottom: 18px; }
.prof-side h3 { margin: 0 0 12px; font-size: 1.05rem; }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.side-list b { color: var(--ink); }
.side-list a { color: var(--accent-btn); font-weight: 600; }
.prof-map { margin-top: 14px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.prof-map iframe { width: 100%; height: 190px; border: 0; display: block; }
.prof-claim { background: var(--ink); color: #EDE9E3; border-radius: var(--radius-card); padding: 22px; }
.prof-claim p { color: #B8B2AA; font-size: 14px; margin: 8px 0 14px; }
@media (max-width: 900px) {
  .prof-grid { grid-template-columns: 1fr; }
  .prof-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .prof-head { display: block; padding-top: 0; }
  .prof-mono { position: static; margin-top: -52px; margin-bottom: 12px; }
  .prof-title { padding-left: 0; }
  .prof-cta { margin-top: 16px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  /* mobil: a kereso az elso, a foto utana jon (a kereses a hero funkcioja) */
  .hero-visual { order: 1; max-width: 380px; margin: 0 auto; }
  .hero-photo-2 { right: -10px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .provider { grid-template-columns: 1fr; padding: 38px 28px; }
  .searchbar { grid-template-columns: 1fr; }
  .searchbar .field + .field { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .two { grid-template-columns: 1fr; }
  .hero { padding: 30px 0 20px; }
  .foot-bottom { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .card:hover, .tile:hover, .tile:hover img { transform: none; }
}
