/* ==========================================================================
   Pszichotrend – main.css
   Mobile-first. Minden érték a tokens.css változóiból jön.
   Tartalom:
   1. Alapok         6. Hero             11. Idézet, info-doboz, térkép
   2. Hozzáférhetőség 7. Szekciók        12. Hívás-sáv
   3. Gombok, linkek 8. Kártyák          13. Lábléc
   4. Felső sáv      9. Rendelési idő    14. Fix hívás-gomb, süti-sáv
   5. Fejléc, menü  10. Fotó-helyfoglaló 15. Jogi oldalak, helyőrzők, mozgás
   ========================================================================== */

/* ---------- 1. Alapok ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--body);
  font: 400 var(--fs-body) / var(--lh-body) var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.08; font-weight: 300; letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -.01em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--wine); }

.display { font-size: var(--fs-display); line-height: .98; letter-spacing: -.03em; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

a { color: var(--wine); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--orchid); }

strong { font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.label {
  display: block;
  margin: 0 0 var(--s-3);
  font: 600 var(--fs-label) / 1.2 var(--font-sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose);
}
.lead { font: 500 var(--fs-lead) / 1.45 var(--font-sans); color: var(--wine); }
.small { font-size: var(--fs-small); line-height: 1.6; }
.muted { color: var(--rose); }

/* ---------- 2. Hozzáférhetőség ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--s-3); top: var(--s-3); z-index: 200;
  transform: translateY(-200%);
  padding: 14px 22px; border-radius: var(--r-pill);
  background: var(--wine); color: var(--white); font-weight: 600;
}
.skip-link:focus { transform: none; color: var(--white); }

:focus-visible { outline: 3px solid var(--orchid); outline-offset: 3px; border-radius: 6px; }
.topbar :focus-visible { outline-color: var(--ink); }
.on-dark :focus-visible { outline-color: var(--powder); }

main:focus { outline: none; }

/* ---------- 3. Gombok, linkek ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  border: 2px solid transparent; border-radius: var(--r-pill);
  font: 600 16px / 1.1 var(--font-sans);
  text-decoration: none; cursor: pointer;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease),
              background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.btn .arr { display: inline-block; transition: transform var(--dur-base) var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arr { transform: translateX(5px); }

.btn-primary { background: var(--wine); color: var(--white); box-shadow: var(--sh2); }
.btn-primary:hover { background: var(--wine-dark); color: var(--white); box-shadow: var(--sh3); }
.btn-ghost { background: transparent; color: var(--wine); border-color: var(--wine); }
.btn-ghost:hover { background: var(--wine); color: var(--white); }
.btn-light { background: var(--ground); color: var(--ink); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--powder); border-color: var(--powder); }
.btn-ghost-light:hover { background: var(--powder); color: var(--ink); }
.btn-sm { min-height: 46px; padding: 0 22px; font-size: 15px; }

/* animált aláhúzású link */
.ulink {
  display: inline-block;
  padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .4s var(--ease), color var(--dur-fast) var(--ease);
}
.ulink:hover, .ulink[aria-current] { background-size: 100% 2px; }

/* ---------- 4. Felső zöld sáv ---------- */
.topbar { background: var(--sage); color: var(--ink); font: 600 14px / 1.4 var(--font-sans); }
.topbar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0 var(--s-4);
}
.topbar-note { display: none; margin: 0; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 0 var(--s-4); }
.topbar a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink);
}
.topbar a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 5. Fejléc, menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ground); border-bottom: 1px solid var(--blush);
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3);
  padding-block: 10px;
}

/* TODO: a szöveges wordmarkot később cseréld SVG logóra */
.wordmark {
  display: inline-flex; align-items: baseline; gap: 10px; margin-right: auto;
  min-height: 44px;
  font: 400 28px / 1 var(--font-serif); letter-spacing: -.01em; color: var(--wine);
  align-items: center;
}
.wordmark:hover { color: var(--wine); }
.wordmark small {
  font: 600 11px / 1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rose);
}

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  border: 2px solid var(--wine); border-radius: var(--r-pill);
  background: transparent; color: var(--wine); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* mobilmenü: JS nélkül mindig látszik, JS-sel nyitható */
.site-nav { order: 5; width: 100%; padding-bottom: var(--s-2); }
.site-nav ul { display: flex; flex-direction: column; list-style: none; }
.site-nav li + li { border-top: 1px solid var(--blush); }
.site-nav a {
  display: flex; align-items: center; min-height: 48px;
  font: 600 17px / 1.2 var(--font-sans); color: var(--ink);
}
.site-nav a[aria-current="page"] { color: var(--orchid); }
.site-nav .ulink { display: flex; background-position: 0 85%; }

.nav-toggle { display: none; }
.js .nav-toggle { display: inline-flex; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--powder); }
.blob { position: absolute; pointer-events: none; }
.blob-1 {
  right: -120px; top: -140px; width: clamp(300px, 46vw, 560px); aspect-ratio: 1;
  border-radius: 58% 42% 61% 39% / 46% 55% 45% 54%; background: var(--blush);
  animation: breathe 14s ease-in-out infinite;
}
.blob-2 {
  right: 10%; bottom: -200px; width: clamp(240px, 34vw, 420px); aspect-ratio: 1;
  border-radius: 44% 56% 38% 62% / 55% 40% 60% 45%; background: var(--sage-mist); opacity: .9;
  animation: drift 18s ease-in-out infinite;
}
.hero-inner {
  position: relative;
  display: grid; gap: var(--s-6); align-items: center;
  padding-block: clamp(48px, 8vw, 112px);
}
.hero-title { margin: 0 0 var(--s-4); color: var(--ink); }
.hero-lead { max-width: 560px; margin-bottom: var(--s-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.hero-photo { display: flex; justify-content: center; }

/* oldalfejléc a belső oldalakon */
.page-hero { position: relative; overflow: hidden; background: var(--powder); }
.page-hero .blob-1 { width: clamp(220px, 32vw, 380px); top: -120px; right: -90px; }
.page-hero-inner { position: relative; padding-block: clamp(40px, 6vw, 80px); max-width: 880px; }
.page-hero h1 { margin-bottom: var(--s-3); }

/* ---------- 7. Szekciók ---------- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--powder); }
.section-head { margin-bottom: var(--s-6); max-width: 820px; }
.section-head p { margin-top: var(--s-3); }

.stack > * + * { margin-top: var(--s-3); }

/* főoldali szövegblokkok */
.textblocks { border-top: 1px solid var(--blush); }
.textblock {
  display: grid; gap: var(--s-3);
  padding-block: var(--s-6);
  border-bottom: 1px solid var(--blush);
}
.textblock .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: var(--s-2);
  border-radius: 50%; background: var(--powder); color: var(--wine);
  font: 500 20px / 1 var(--font-serif);
}

/* ---------- 8. Kártyák ---------- */
.card {
  background: var(--white); border: 1px solid var(--blush);
  border-radius: var(--r-card); box-shadow: var(--sh1);
  transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh3); }
.card .num { transition: transform var(--dur-slow) var(--ease), background var(--dur-slow) var(--ease), color var(--dur-slow) var(--ease); }
.card:hover .num { transform: rotate(-8deg) scale(1.08); background: var(--wine); color: var(--white); }

.card--static:hover { transform: none; box-shadow: var(--sh1); }

.grid-cards {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.service-card { display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(28px, 4vw, 36px); }
.service-card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--powder); color: var(--wine);
  font: 500 20px / 1 var(--font-serif);
}
.service-card h3 { font-size: 30px; line-height: 1.15; }
.service-card p { margin: 0; font-size: 17px; line-height: 1.6; }
.service-card .more .arr { margin-left: 8px; }
.service-card .more { align-self: flex-start; margin-top: auto; padding-top: var(--s-2); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- 9. Rendelési idő és árak ---------- */
.split {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  align-items: start;
}
.hours-card { padding: clamp(24px, 4vw, 40px); }
.hours-card .live-label { display: flex; align-items: center; gap: 12px; margin: 0 0 var(--s-2); }
.live-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--sage);
  animation: pulse 2.2s ease-out infinite;
}
.hours-card h2, .hours-card h3 { margin-bottom: var(--s-4); font-size: 30px; line-height: 1.15; }

.hours { width: 100%; border-collapse: collapse; font: 500 17px / 1.4 var(--font-sans); }
.hours th, .hours td { padding: 14px 12px; border-top: 1px solid var(--blush); text-align: left; vertical-align: top; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--blush); }
.hours th { font-weight: 500; color: var(--body); }
.hours td { font-weight: 600; color: var(--wine); white-space: nowrap; }
.hours td.note { white-space: normal; font-weight: 400; font-size: 15px; color: var(--body); }
.hours thead th { border-top: 0; font: 600 var(--fs-label) / 1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.hours tbody tr { transition: background var(--dur-base) var(--ease); }
.hours tbody tr:hover { background: var(--powder); }

.callout {
  margin: var(--s-4) 0 0; padding: 16px 20px; border-radius: var(--r-card-sm);
  background: var(--sage-mist); color: var(--ink); font-size: var(--fs-small); line-height: 1.6;
}

.prices { display: flex; flex-direction: column; gap: var(--s-3); list-style: none; }
.price {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: var(--s-2) var(--s-3); padding: 24px clamp(20px, 3vw, 32px);
}
.price-name { font: 400 24px / 1.2 var(--font-serif); color: var(--ink); }
.price-value { font: 300 36px / 1 var(--font-serif); color: var(--wine); }
.price-value small { font: 500 15px / 1 var(--font-sans); color: var(--rose); }
.prices-note { margin: var(--s-1) var(--s-2) 0; font-size: var(--fs-small); color: var(--rose); }

/* ---------- 10. Fotó-helyfoglaló ---------- */
.photo {
  position: relative; width: min(100%, 420px); aspect-ratio: 4 / 5;
  display: flex; align-items: flex-end; padding: 28px; margin: 0;
  background: var(--white); border: 2px dashed var(--blush); box-shadow: var(--sh3);
  border-radius: var(--r-arch);
  overflow: hidden;
}
.photo--card { border-radius: var(--r-card); aspect-ratio: 4 / 3; width: 100%; box-shadow: var(--sh2); }
.photo figcaption, .photo > span { font: 500 var(--fs-label) / 1.4 var(--font-sans); letter-spacing: .04em; color: var(--rose); }
/* amikor valódi kép kerül be: <div class="photo"><img src="…" alt="…" loading="lazy" width="840" height="1050"></div> */
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 11. Idézet, info-doboz, térkép ---------- */
.quote {
  position: relative; margin: 0; padding: clamp(32px, 5vw, 56px); overflow: hidden;
  border-radius: var(--r-card); background: var(--powder);
}
.quote::before {
  content: "\201C"; position: absolute; top: -8px; left: 28px;
  font: 300 160px / 1 var(--font-serif); color: var(--blush);
}
.quote blockquote {
  position: relative; margin: 24px 0 var(--s-3);
  font: 300 italic clamp(24px, 2.6vw, 32px) / 1.35 var(--font-serif); color: var(--ink);
}
.quote figcaption { position: relative; font: 600 14px / 1.4 var(--font-sans); color: var(--rose); }

.infobox {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: 24px 28px; border-radius: 24px;
  background: var(--sage-mist); border: 1px solid var(--sage-line);
  font-size: 16px; line-height: 1.6; color: var(--ink);
}
.infobox .icon {
  flex: 0 0 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--sage-deep); color: var(--white); font: 700 18px / 1 var(--font-sans);
}
.infobox p { margin: 0; }

.map-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 360px; padding: var(--s-5); text-align: center;
  border: 2px dashed var(--blush); border-radius: var(--r-card);
  background: repeating-linear-gradient(135deg, var(--ground) 0 14px, var(--powder) 14px 28px);
  color: var(--ink);
}
.map-ph .map-box { padding: 20px 28px; border-radius: var(--r-card-sm); background: var(--ground); box-shadow: var(--sh2); max-width: 520px; }
.map-ph iframe { width: 100%; height: 100%; border: 0; }

.contact-card { padding: clamp(24px, 4vw, 36px); display: flex; flex-direction: column; gap: var(--s-2); }
.contact-card .phone { font: 300 clamp(30px, 3.4vw, 42px) / 1.1 var(--font-serif); color: var(--wine); letter-spacing: -.01em; display: inline-flex; align-items: center; min-height: 44px; }
.contact-card address { font-style: normal; }
.contact-card a.ulink { align-self: flex-start; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; background-position: 0 80%; }
.contact-card dl { margin: 0; display: grid; gap: var(--s-3); }
.contact-card dt { font: 600 var(--fs-label) / 1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin-bottom: 2px; }
.contact-card dd { margin: 0; }

/* ---------- 12. Hívás-sáv a lábléc előtt ---------- */
.callstrip { padding-block: var(--section-y); }
.callstrip-card {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s-4) var(--s-6);
  padding: clamp(32px, 6vw, 64px);
  border-radius: var(--r-card); background: var(--powder);
}
.callstrip-card .blob-1 { right: -80px; top: -120px; width: 320px; }
.callstrip-text { position: relative; flex: 1 1 360px; min-width: 0; }
.callstrip-text h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 300; line-height: 1.05; letter-spacing: -.02em; }
.callstrip-text p { margin: var(--s-3) 0 0; max-width: 460px; }
.callstrip .btn { position: relative; }

/* ---------- 13. Lábléc ---------- */
.site-footer { background: var(--night); color: var(--powder); padding-bottom: 76px; }
.footer-top {
  display: grid; gap: var(--s-6);
  padding-block: clamp(48px, 7vw, 80px) var(--s-6);
  border-bottom: 1px solid rgba(252, 225, 217, .18);
}
.site-footer .wordmark { color: var(--powder); margin: 0 0 var(--s-3); font-size: 34px; }
.site-footer .wordmark small { color: var(--blush); }
.site-footer address { font-style: normal; color: var(--blush); font-size: 16px; line-height: 1.7; }
.site-footer address a { color: var(--powder); }
.site-footer address a.fl { display: inline-flex; align-items: center; min-height: 44px; }
.footer-title { margin: 0 0 var(--s-3); font: 600 var(--fs-label) / 1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--blush); }
.footer-nav ul { display: flex; flex-direction: column; list-style: none; }
.footer-nav a, .footer-fb a {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 500 16px / 1.4 var(--font-sans); color: var(--powder);
}
.footer-nav a:hover, .footer-fb a:hover { color: var(--white); }
.footer-nav .ulink, .footer-fb .ulink { background-position: 0 78%; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-5);
  padding-block: var(--s-4); font-size: 14px; line-height: 1.6; color: var(--blush);
}
.footer-bottom p { margin: 0; }

/* ---------- 14. Fix hívás-gomb (mobil), süti-sáv ---------- */
.callbar {
  position: fixed; inset: auto 0 0 0; z-index: 60;
  padding: 10px var(--s-3) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 249, 246, .94); backdrop-filter: blur(8px);
  border-top: 1px solid var(--blush);
}
.callbar .btn { width: 100%; }

.cookiebar {
  position: fixed; z-index: 70;
  left: var(--s-3); right: var(--s-3); bottom: calc(76px + env(safe-area-inset-bottom) + 12px);
  margin-inline: auto; max-width: 1000px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s-3) var(--s-5);
  padding: 20px 24px; border-radius: 24px;
  background: var(--night); color: var(--powder); box-shadow: var(--sh3);
  font-size: var(--fs-small); line-height: 1.6;
}
.cookiebar[hidden] { display: none; }
.cookiebar p { flex: 1 1 320px; min-width: 0; margin: 0; }
.cookiebar a { color: var(--powder); text-decoration: underline; text-underline-offset: 3px; }
.cookiebar a:hover { color: var(--white); }
.cookiebar-actions { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); }
.cookiebar .btn { min-height: 46px; padding: 0 24px; font-size: 15px; }

/* ---------- 15. Jogi oldalak, helyőrzők ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin: var(--s-6) 0 var(--s-3); font-size: 30px; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: var(--s-5) 0 var(--s-2); font-size: 24px; }
.prose p, .prose li { font-size: 18px; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: 1em; }
.prose .meta { font-size: var(--fs-small); color: var(--rose); }
.prose dl { margin: 0 0 var(--s-4); border-top: 1px solid var(--blush); }
.prose dl > div { display: grid; gap: 4px var(--s-4); padding: 16px 0; border-bottom: 1px solid var(--blush); }
.prose dt { font: 600 var(--fs-label) / 1.4 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.prose dd { margin: 0; font-size: 18px; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); padding: 0 !important; }
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 0 5px var(--sage-mist);
}

/* Helyőrzők: minden [data-placeholder] elem jól látható.
   A --lines változóval a helyőrző a valódi szöveg sorszámának megfelelő magasságot foglalja.
   Ha kész a szöveg, töröld az attribútumot – a kiemelés is eltűnik. */
[data-placeholder]:not(a):not(title):not(meta):not(iframe) {
  min-height: calc(var(--lines, 1) * 1lh);
  background: rgba(178, 44, 116, .07);
  box-shadow: inset 0 0 0 1px rgba(178, 44, 116, .28);
  border-radius: 6px;
}
a[data-placeholder] { text-decoration: underline dotted; text-underline-offset: 4px; }

/* ---------- Mozgás ---------- */
@keyframes rise  { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { transform: scale(1) translate(0, 0); } 50% { transform: scale(1.08) translate(10px, -14px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-16px, 12px) rotate(6deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(112, 178, 134, .55); } 100% { box-shadow: 0 0 0 14px rgba(112, 178, 134, 0); } }

/* belépés: alapból sima load-animáció (fallback), görgetés-időzítés ahol támogatott.
   A "backwards" fill azért kell, hogy a kártya hover-emelkedése az animáció után is működjön. */
.rv { animation: rise var(--dur-reveal) var(--ease) backwards; animation-delay: calc(var(--i, 0) * 120ms); }
@supports (animation-timeline: view()) {
  .rv { animation: rise linear backwards; animation-timeline: view(); animation-range: entry 0% entry 45%; animation-delay: 0s; }
}

/* ---------- Szélesebb nézetek ---------- */
@media (min-width: 640px) {
  .topbar-note { display: block; }
  .textblock .num { margin-bottom: 0; }
}

@media (min-width: 768px) {
  .callbar { display: none; }
  .site-footer { padding-bottom: 0; }
  .cookiebar { bottom: var(--s-3); }
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr; }
  .prose dl > div { grid-template-columns: 220px 1fr; }
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: var(--s-7); }
  .textblock { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6); }
  .textblock-head { position: sticky; top: 120px; align-self: start; }
}

@media (min-width: 1000px) {
  .nav-toggle, .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav { display: block; order: 2; width: auto; padding: 0; margin-left: auto; }
  .header-inner > .btn { order: 3; }
  .js .site-nav { display: block; }
  .site-nav ul { flex-direction: row; gap: var(--s-1) 28px; }
  .site-nav li + li { border-top: 0; }
  .site-nav a { font-size: 15px; min-height: 44px; }
  .wordmark { margin-right: 0; font-size: 30px; }
  .header-inner { flex-wrap: nowrap; gap: var(--s-5); }
}

/* ---------- Csökkentett mozgás ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Főoldali hero-kártya ---------- */
.hero-card { width: min(100%, 440px); padding: clamp(28px, 4vw, 44px); background: var(--white); }
.hero-card .label { margin: 0 0 var(--s-3); }
.hero-card-text { margin: 0; font: 400 clamp(18px, 1.6vw, 20px) / 1.65 var(--font-serif); color: var(--ink); }
.hero-lead + .hero-lead { margin-top: calc(var(--s-3) * -1); }

/* Google Térkép beágyazás */
.map-ph iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: inherit; }
.map-ph:has(iframe) { display: block; padding: 0; border: 0; background: none; overflow: hidden; box-shadow: var(--sh2); }
.page-hero-inner { max-width: var(--container); }
.page-hero-inner > * { max-width: 880px; }
.quote { background: var(--powder); }
.prose, .prose a { overflow-wrap: anywhere; }
.prose dd { overflow-wrap: anywhere; }

/* ---------- Fotók ---------- */
.photo { border: 0; padding: 0; background: var(--blush); }
.photo img { transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.hero-visual { position: relative; width: min(100%, 460px); }
.hero-visual .photo { width: 100%; aspect-ratio: 4 / 5; }
.hero-visual .hero-card { position: absolute; left: -12%; bottom: -12%; width: min(86%, 380px); padding: 22px 26px; }
.hero-visual .hero-card-text { font-size: 16px; line-height: 1.55; }
.stack-media { display: flex; flex-direction: column; gap: var(--s-4); }
@media (max-width: 899px) { .hero-visual { margin-bottom: 8%; } .hero-visual .hero-card { left: 4%; } }

/* ---------- Finom animációk ---------- */
/* 1. Fotó-kinyílás görgetéskor (kép lassan "kinyílik" és kicsit visszazoomol) */
@keyframes photo-open { from { clip-path: inset(7% 7% 7% 7% round 48px); } to { clip-path: inset(0 round 0); } }
@keyframes photo-settle { from { scale: 1.14; } to { scale: 1; } }
@supports (animation-timeline: view()) {
  .photo { animation: photo-open linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  .photo img { animation: photo-settle linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
}

/* 2. Hero és oldalfejléc: tartalom sorban érkezik betöltéskor (a scroll-időzítést felülírja) */
.hero .rv, .page-hero .rv {
  animation: rise 1100ms var(--ease) backwards; animation-timeline: auto; animation-range: normal;
  animation-delay: calc(var(--k, 0) * 140ms + 120ms);
}
.hero-inner > div:first-child > :nth-child(2) { --k: 1; }
.hero-inner > div:first-child > :nth-child(3) { --k: 2; }
.hero-inner > div:first-child > :nth-child(4) { --k: 3; }
.hero-inner > div:first-child > :nth-child(5) { --k: 4; }
.hero-photo.rv { --k: 3; }
.page-hero-inner > :nth-child(2) { --k: 1; }
.page-hero-inner > :nth-child(3) { --k: 2; }

/* 3. Mai nap kiemelése a rendelési időben */
.hours tr.is-today { background: var(--sage-mist); }
.hours tr.is-today th { color: var(--ink); font-weight: 600; }
.hours tr.is-today th::after {
  content: "ma"; margin-left: 10px; padding: 2px 10px; border-radius: var(--r-pill);
  background: var(--sage); color: var(--ink); font: 600 11px / 1.6 var(--font-sans); letter-spacing: .08em; text-transform: uppercase;
  vertical-align: 2px;
}

/* 6. Hívás-gomb halk "lélegzése" */
@keyframes call-breathe {
  0%, 100% { box-shadow: var(--sh2), 0 0 0 0 rgba(132, 54, 72, .28); }
  50%      { box-shadow: var(--sh2), 0 0 0 14px rgba(132, 54, 72, 0); }
}
.callstrip .btn-primary { animation: call-breathe 4.5s ease-out infinite; }
.callstrip .btn-primary:hover { animation: none; }

/* ---------- Ikonok és plusz CTA-k ---------- */
.ico { flex: 0 0 auto; }
.btn .ico { margin-right: 2px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: var(--s-5) 0 0; padding: 0; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, .72); border: 1px solid var(--blush);
  font: 500 14px / 1.3 var(--font-sans); color: var(--ink);
}
.chips .ico { width: 18px; height: 18px; color: var(--wine); }
.card-cta { margin: var(--s-4) 0 0; }
.ico-line { display: flex; align-items: flex-start; gap: 12px; }
.ico-line .ico { margin-top: .25em; color: var(--wine); }
.ico-line.phone .ico { margin-top: .5em; }
.contact-card .btn { align-self: flex-start; margin-top: var(--s-2); }
.ico-line.phone { align-items: center; }
.ico-line.phone .ico { margin-top: 0; width: 24px; height: 24px; }
.route-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-2); }
.contact-card .route-btns .btn { margin-top: 0; }
.cookie-ok .cookiebar { display: none !important; }

/* ---------- Lebegő ajánlat-gomb ---------- */
.offer-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 18px;
  border-radius: var(--r-pill); background: var(--wine); color: var(--white);
  font: 600 15px / 1 var(--font-sans); box-shadow: var(--sh3);
  animation: fab-pulse 2.6s ease-out infinite;
  transition: transform var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}
.offer-fab:hover { background: var(--wine-dark); color: var(--white); transform: translateY(-3px); animation-play-state: paused; }
.offer-fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@keyframes fab-pulse {
  0%   { box-shadow: var(--sh3), 0 0 0 0 rgba(132, 54, 72, .5); }
  70%  { box-shadow: var(--sh3), 0 0 0 18px rgba(132, 54, 72, 0); }
  100% { box-shadow: var(--sh3), 0 0 0 0 rgba(132, 54, 72, 0); }
}
@media (max-width: 767px) { .offer-fab { bottom: 88px; right: 16px; } }
