/* Selyem téma – lágy, légies, íves képkeretek */

@font-face { font-family: "Lora"; src: url("/assets/fonts/lora.woff") format("woff"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/assets/fonts/lora-italic.woff") format("woff"); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat.woff") format("woff"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --paper: #fbf8f5;
  --stone: #f4ede7;
  --surface: #ffffff;
  --ink: #2b2321;
  --ink-soft: #4a3f3b;
  --muted: #7a6c66;
  --line: #e9dfd8;
  --line-strong: #d6c8bf;
  --error: #a8322b;
  --serif: "Lora", "Iowan Old Style", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(84px, 11vw, 150px);
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; font-weight: 400; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.alias { position: absolute; top: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(760px + var(--gutter) * 2); }

/* Tipográfia */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.1; letter-spacing: -.012em; margin: 0 0 .45em; text-wrap: balance;
}
.lead { font-size: 1.05rem; color: var(--muted); max-width: 52ch; margin: 0 auto; }
.prose { max-width: 60ch; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.note { color: var(--muted); font-size: .88rem; margin-top: 32px; }
.s-head { text-align: center; margin: 0 auto clamp(40px, 6vw, 72px); max-width: 720px; }
.s-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

/* Gombok */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 .76rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  padding: 18px 30px; border-radius: 0; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-sm { padding: 12px 18px; font-size: .68rem; }
.btn-block { width: 100%; }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: var(--accent-deep); }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn .icon { width: 17px; height: 17px; flex: none; }

/* Fejléc */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  transition: box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-solid { box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 36px; }
.logo { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .005em; text-decoration: none; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; position: relative; padding: 8px 0; color: var(--ink-soft); transition: color .25s; }
.nav ul a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .3s var(--ease); }
.nav ul a:hover, .nav ul a.is-current { color: var(--ink); }
.nav ul a:hover::after, .nav ul a.is-current::after { transform: scale(1); }
.nav-phone { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-inner > .logo + .header-actions { margin-left: auto; }
.back-link { margin-left: auto; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--muted); }

.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; padding: 0; }
.menu-btn span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Íves képkeret */
.arch { position: relative; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--stone); isolation: isolate; }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* Nyitókép */
.hero { position: relative; padding-top: var(--header-h); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 88px); }
.hero-eyebrow { animation: rise 1s .1s var(--ease) both; }
.hero-title {
  font-family: var(--serif); font-weight: 400; margin: 0; max-width: 12ch;
  font-size: clamp(3.2rem, 7.6vw, 6.6rem); line-height: .98; letter-spacing: -.025em; text-wrap: balance;
  animation: rise 1.1s .2s var(--ease) both;
}
.hero-sub { font-size: clamp(1rem, 1.35vw, 1.14rem); color: var(--muted); max-width: 42ch; margin: clamp(22px, 2.6vw, 32px) 0 0; animation: rise 1.1s .34s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(30px, 3.6vw, 44px); animation: rise 1.1s .48s var(--ease) both; }
.hero-media { position: relative; justify-self: end; width: 100%; max-width: 520px; animation: fadeIn 1.4s .1s var(--ease) both; }
.hero-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--accent); border-radius: 999px 999px 0 0; opacity: .45; }
.arch-hero { aspect-ratio: 4 / 5.2; }
.hero-img { animation: settle 2.4s var(--ease) both; }
.hero-plain .hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; min-height: min(86vh, 820px); }
.hero-plain .hero-title, .hero-plain .hero-sub { margin-left: auto; margin-right: auto; }
.hero-plain .hero-actions { justify-content: center; }
.hero-plain::before { content: ""; position: absolute; left: 50%; bottom: -30vh; width: min(760px, 92vw); aspect-ratio: 1 / 1.2; transform: translateX(-50%); border: 1px solid var(--line-strong); border-radius: 999px 999px 0 0; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 62%); mask-image: linear-gradient(to bottom, #000 30%, transparent 62%); }

@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }

/* Szekciók */
.section { padding: var(--section) 0; position: relative; }
.tone { background: var(--stone); }

/* Bemutatkozás */
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 8vw, 128px); align-items: center; }
.about.no-image .about-grid { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; text-align: center; }
.about.no-image .prose { margin: 0 auto; }
.about-media { margin: 0; max-width: 460px; }
.about-media .arch { aspect-ratio: 4 / 5; }
.about-text .prose { font-size: 1.02rem; }

/* Árlista */
.price-list { list-style: none; margin: 0 auto; padding: clamp(12px, 3vw, 32px) clamp(24px, 4vw, 56px); max-width: 880px; background: var(--surface); border: 1px solid var(--line); }
.price-list.two-col { max-width: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 88px); }
.price-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.price-list:not(.two-col) .price-item:last-child, .price-list.two-col .price-item:nth-last-child(1), .price-list.two-col .price-item:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.price-line { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.price-name { font-family: var(--serif); font-size: 1.28rem; line-height: 1.3; }
.price-value { font-weight: 600; font-size: .95rem; color: var(--accent); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; letter-spacing: .02em; }
.price-desc { margin: 6px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.6; max-width: 48ch; }

/* Galéria */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.g-item { margin: 0; }
.g-item a { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g-item a:hover img { transform: scale(1.045); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; background: linear-gradient(to top, rgba(30, 22, 20, .55), transparent); opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.g-item a:hover .g-cap, .g-item a:focus-visible .g-cap { opacity: 1; transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(30, 24, 22, .95); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; touch-action: pan-y;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; transform: scale(.97); transition: transform .4s var(--ease); }
.lightbox.is-open .lb-figure { transform: none; }
.lb-img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; transition: opacity .25s; }
.lb-img.is-loading { opacity: 0; }
.lb-cap { color: rgba(255, 255, 255, .8); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; text-align: center; min-height: 1.4em; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .25s; }
.lb-btn:hover { background: rgba(255, 255, 255, .14); }
.lb-btn .icon { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; top: 32px; left: 26px; color: rgba(255, 255, 255, .6); font-size: .8rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; }

/* Vélemények */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.quotes.single { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); padding: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; text-align: center; align-items: center; }
.quote-mark { font-family: var(--serif); font-size: 4.2rem; line-height: .6; height: .45em; color: var(--accent); opacity: .55; }
.quote blockquote { margin: 18px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.12rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--ink); text-wrap: pretty; flex: 1; }
.quote blockquote p { margin: 0 0 .6em; }
.quote figcaption { margin-top: 18px; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Gyakori kérdések */
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; font-family: var(--serif); font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.35; transition: color .25s; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--accent); transition: transform .4s var(--ease), background-color .3s, border-color .3s; }
.faq-item[open]:not(.is-closing) .faq-ico { transform: rotate(45deg); background: var(--accent-soft); border-color: transparent; }
.faq-a { overflow: hidden; }
.faq-a .prose { padding: 0 52px 26px 0; color: var(--muted); }

/* Nyitvatartás */
.hours .s-head .h2 { margin-bottom: .35em; }
.open-status { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: .86rem; margin: 6px 0 0; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.open-status.is-open::before { background: #3f8f63; box-shadow: 0 0 0 4px rgba(63, 143, 99, .16); }
.hours-card { background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 4vw, 44px) clamp(24px, 5vw, 64px); }
.hours-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-table th, .hours-table td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { font-family: var(--serif); font-size: 1.1rem; }
.hours-table td { text-align: right; color: var(--ink-soft); }
.hours-table tr.closed td { color: var(--muted); font-style: italic; }
.hours-table tr.is-today th::after { content: "ma"; font-family: var(--sans); font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 3px 9px; border-radius: 99px; margin-left: 12px; vertical-align: 3px; }
.hours-card .note { margin: 20px 0 0; }

/* Felhívás */
.cta { background: var(--accent-wash); padding: clamp(72px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 22%; width: min(560px, 80vw); aspect-ratio: 1 / 1.15; transform: translateX(-50%); border: 1px solid var(--accent); opacity: .18; border-radius: 999px 999px 0 0; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent 70%); mask-image: linear-gradient(to bottom, #000 25%, transparent 70%); }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 34px; }
.cta-title { font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.2; margin: 0; max-width: 22ch; text-wrap: balance; }

/* Kapcsolat */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact-grid.no-form { grid-template-columns: 1fr; max-width: 760px; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; }
.ci { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: var(--accent-wash); border: 1px solid var(--line); }
.contact-list a { text-decoration-color: var(--line-strong); text-underline-offset: 5px; }
.contact-list a:hover { text-decoration-color: currentColor; }
.contact-big { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.1; text-decoration: none !important; }
.subtle-link { font-size: .86rem; color: var(--muted); }

.form-card { background: var(--surface); border: 1px solid var(--line); padding: clamp(26px, 4vw, 48px); box-shadow: 0 30px 60px -40px rgba(70, 40, 30, .25); }
.contact-form { position: relative; display: grid; }
.form-fields, .form-done { grid-area: 1 / 1; transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s; }
.form-done { opacity: 0; visibility: hidden; transform: translateY(10px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.contact-form.is-sent .form-fields { opacity: 0; visibility: hidden; transform: translateY(-10px); transition-delay: 0s, 0s, .4s; }
.contact-form.is-sent .form-done { opacity: 1; visibility: visible; transform: none; transition-delay: .15s; }
.f { margin-bottom: 20px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.f label { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; color: var(--muted); }
.f input:not([type=checkbox]), .f textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: 0; padding: 14px 15px;
  transition: border-color .25s, box-shadow .25s, background-color .25s; -webkit-appearance: none; appearance: none;
}
.f textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-wash); }
.f.has-error input, .f.has-error textarea { border-color: var(--error); }
.f-err { color: var(--error); font-size: .82rem; margin: 6px 0 0; }
.f-err:empty { display: none; }
.f-check label { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); cursor: pointer; line-height: 1.55; }
.f-check input { width: 19px; height: 19px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.f-check a { color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { color: var(--error); font-size: .9rem; margin: 0 0 14px; }
.form-msg:empty { display: none; }
.btn-submit { position: relative; margin-top: 4px; }
.btn-submit.is-loading span { opacity: 0; }
.btn-submit.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.done-mark { width: 60px; height: 60px; margin-bottom: 22px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.done-mark circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.done-mark path { stroke-dasharray: 36; stroke-dashoffset: 36; }
.is-sent .done-mark circle { animation: draw .8s .25s var(--ease) forwards; }
.is-sent .done-mark path { animation: draw .5s .85s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-title { font-family: var(--serif); font-size: 1.9rem; line-height: 1.15; margin: 0 0 10px; }
.done-text { color: var(--muted); margin: 0; max-width: 34ch; }

/* Lábléc */
.site-footer { background: var(--stone); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 40px; font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.site-footer .logo { color: var(--ink); font-size: 1.9rem; }
.footer-addr { margin: 0; }
.footer-social { display: flex; gap: 10px; margin: 6px 0 0; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--ink-soft); transition: background-color .3s, color .3s, border-color .3s; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.footer-links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; }
.footer-links a { text-decoration: none; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.footer-links a:hover { color: var(--ink); }
.copy { margin: 22px 0 0; padding-top: 22px; border-top: 1px solid var(--line); width: 100%; font-size: .8rem; }

/* Mobil alsó sáv */
.mobile-bar { display: none; }

/* Jogi oldalak */
.legal-page .site-header { position: sticky; }
.legal { padding-top: clamp(48px, 8vw, 96px); padding-bottom: var(--section); max-width: 820px; }
.legal .prose { max-width: 68ch; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 1.8em 0 .5em; color: var(--ink); }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 28px; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
.missing { color: var(--error); font-style: italic; }

/* Beúszás görgetéskor (csak ha fut a JS) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 120ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Reszponzív */
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; background: var(--paper);
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: var(--header-h) var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
  .menu-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav ul { flex-direction: column; gap: 6px; }
  .nav ul a { font-family: var(--serif); font-size: clamp(1.9rem, 7.5vw, 2.6rem); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); line-height: 1.3; display: inline-block; transform: translateY(14px); opacity: 0; transition: transform .55s var(--ease), opacity .55s var(--ease); }
  .nav ul a::after { display: none; }
  .menu-open .nav ul a { transform: none; opacity: 1; }
  .menu-open .nav li:nth-child(2) a { transition-delay: .04s; }
  .menu-open .nav li:nth-child(3) a { transition-delay: .08s; }
  .menu-open .nav li:nth-child(4) a { transition-delay: .12s; }
  .menu-open .nav li:nth-child(5) a { transition-delay: .16s; }
  .menu-open .nav li:nth-child(6) a { transition-delay: .2s; }
  .menu-open .nav li:nth-child(7) a { transition-delay: .24s; }
  .nav-phone { display: inline-block; margin-top: 36px; font-size: .8rem !important; color: var(--accent) !important; }
  .header-inner { gap: 12px; }
  .header-actions { margin-left: auto; }
  .logo { font-size: 1.35rem; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; text-align: center; justify-items: center; gap: 44px; }
  .hero-media { order: -1; justify-self: center; max-width: min(440px, 82vw); }
  .hero-title, .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { margin: 0 auto; max-width: 400px; }
  .about-text { text-align: center; }
  .about-text .prose { margin: 0 auto; }
  .price-list.two-col { grid-template-columns: 1fr; }
  .price-list.two-col .price-item:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 899px) {
  .mobile-bar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 94%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { flex: 1; padding: 15px 12px; }
  body:has(.mobile-bar) .site-footer { padding-bottom: 110px; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  :root { --header-h: 66px; }
  .header-cta { display: none; }
  .hero-media::before { inset: 14px -14px -14px 14px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .f-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .price-list { padding: 8px 20px; }
  .price-line { flex-direction: column; gap: 4px; }
  .price-name { font-size: 1.18rem; }
  .faq-a .prose { padding-right: 0; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; translate: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
