:root {
  /* barna alap */
  --bg: #1c110c;
  --bg-2: #2a1a13;
  --bg-3: #3a261c;
  --latte: #efe3d3;
  --ink: #3a2a20;
  --ink-dim: #7a6250;
  /* karácsonyi kiegészítők */
  --gold: #d6a967;
  --gold-soft: #ecd09c;
  --berry: #a8343a;
  --pine: #4f6b52;
  --ice: #9db4f0;
  --cream: #f7ede1;
  --cream-dim: #cdb9a4;
  --line: rgba(247, 237, 225, .14);
  --radius: 18px;
  --display: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --sans: "Manrope", "Avenir Next", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg) radial-gradient(1200px 700px at 85% 35%, rgba(168,52,58,.07), transparent 70%) fixed;
  color: var(--cream);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.1; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 7vw, 2.8rem); margin-bottom: .5rem; }
h3 { font-size: 1.2rem; font-weight: 400; }
a { color: var(--gold-soft); }
.eyebrow {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .28em;
  font-size: .72rem; font-weight: 400; color: var(--gold); margin: 0 0 12px;
}

/* ---------- Fejléc ---------- */
.hero { position: relative; display: flex; flex-direction: column; }
.hero-media { position: relative; overflow: hidden; }
.hero-img { width: 100%; height: auto; margin-top: -18vw;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, rgba(0,0,0,.65) 82%, rgba(0,0,0,.28) 91%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, rgba(0,0,0,.65) 82%, rgba(0,0,0,.28) 91%, transparent 100%); }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,17,12,.6) 0%, rgba(28,17,12,0) 22%);
}
.topnav { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 34px 20px 0; }
.brand { display: block; line-height: 0; }
.brand img { height: 52px; width: auto; }
.nav-link { color: var(--cream); text-decoration: none; font-size: .85rem; border: 1px solid rgba(247,237,225,.35); padding: 7px 16px; border-radius: 99px; backdrop-filter: blur(8px); background: rgba(28,17,12,.35); }
.hero-text { position: relative; z-index: 2; margin-top: -24px; padding: 0 20px 44px; max-width: 620px; }
.hero h1 { font-size: clamp(3rem, 14vw, 5.4rem); font-weight: 200; text-transform: uppercase; letter-spacing: .04em; line-height: .95; }
.hero h1 { margin-bottom: 28px; }
.hero h1 em { display: block; font-style: normal; font-weight: 300; color: var(--gold); letter-spacing: .14em; font-size: .62em; margin-top: .25em; }

.hero-trio { display: none; }
@media (min-width: 900px) {
  .hero { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 110px 0 5vh; }
  .hero-media { display: none; }
  .hero-text { order: -1; margin: 0; padding: 0 4vw; max-width: none; text-align: center; }
  .hero h1 { font-size: clamp(3rem, 4.6vw, 6rem); margin-bottom: 22px; }
  .hero h1 em { display: inline; font-size: 1em; margin: 0 0 0 .3em; letter-spacing: .08em; }
  .topnav { padding: 36px 4vw 0; }
  .hero-trio { --w: min(16.5vw, 30vh); display: flex; justify-content: center; align-items: flex-start; gap: 1.4vw; width: 100%; padding: 4vh 3vw 0; }
  .hero-trio figure { margin: 0; width: var(--w); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.5); opacity: 0; transform: translateY(24px); animation: trioIn 1s ease-out forwards; }
  .hero-trio img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; }
  .hero-trio .f1, .hero-trio .f5 { margin-top: 6vh; }
  .hero-trio .f2, .hero-trio .f4 { margin-top: 2.5vh; }
  .hero-trio .f3 { width: calc(var(--w) * 1.14); }
  .hero-trio .f1 { animation-delay: .05s; } .hero-trio .f2 { animation-delay: .2s; } .hero-trio .f3 { animation-delay: .35s; }
  .hero-trio .f4 { animation-delay: .5s; } .hero-trio .f5 { animation-delay: .65s; }
}
@keyframes trioIn { to { opacity: 1; transform: none; } }

/* ---------- Elválasztó animációk ---------- */
.divider { position: relative; max-width: 1080px; margin: 56px auto 0; padding: 0 20px; height: 124px; }
.divider .ground { position: absolute; left: 20px; right: 20px; bottom: 14px; height: 2px; background: repeating-linear-gradient(90deg, rgba(247,237,225,.28) 0 6px, transparent 6px 14px); border-radius: 2px; }

/* ugráló karácsonyfa */
.hopper { position: absolute; bottom: 14px; left: 20px; width: 58px; height: 80px; }
.play .hopper { animation: travel 3.6s cubic-bezier(.4,0,.6,1) forwards; }
@keyframes travel { from { left: 20px; } to { left: calc(100% - 78px); } }
.hopper .bounce { position: absolute; inset: 0; transform-origin: 50% 100%; }
.play .hopper .bounce { animation: hop .72s ease-in-out 5; }
@keyframes hop {
  0%   { transform: translateY(0) scale(1.12, .86); }
  18%  { transform: translateY(-4px) scale(.94, 1.08); }
  50%  { transform: translateY(-40px) rotate(-8deg) scale(1); }
  82%  { transform: translateY(-4px) scale(.96, 1.04); }
  100% { transform: translateY(0) scale(1.12, .86); }
}
.hopper .shadow { position: absolute; left: 50%; bottom: -5px; width: 34px; height: 6px; margin-left: -17px; border-radius: 50%; background: rgba(0,0,0,.35); }
.play .hopper .shadow { animation: shadow .72s ease-in-out 5; }
@keyframes shadow { 50% { transform: scale(.5); opacity: .4; } }
.hopper svg { width: 100%; height: 100%; overflow: visible; }
.hopper .star { transform-origin: 23px 6px; }
.play .hopper .star { animation: starpop .6s ease-out 3.6s both, starglow 2.4s ease-in-out 4.2s infinite; }
@keyframes starpop { 0% { transform: scale(1); } 50% { transform: scale(1.9) rotate(72deg); } 100% { transform: scale(1.2) rotate(144deg); } }
@keyframes starglow { 50% { filter: drop-shadow(0 0 6px #ffd98a); } }
.divider .caption { position: absolute; left: 20px; right: 20px; top: 0; text-align: center; font-family: var(--display); font-weight: 300; letter-spacing: .2em; text-transform: uppercase; font-size: .7rem; color: var(--cream-dim); opacity: 0; transition: opacity .8s 3.4s; }
.play .caption { opacity: 1; }

/* ajándékdoboz */
.divider[data-anim="gift"] { height: 350px; margin-top: 56px; display: grid; place-items: end center; }
.divider[data-anim="gift"] .ground { bottom: 44px; }
.gift { position: relative; width: 92px; height: 98px; margin-bottom: 44px; }
.gift::before { content: ""; position: absolute; left: 50%; top: 10px; width: 120px; height: 90px; margin-left: -60px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,214,140,.55), rgba(255,214,140,0)); opacity: 0; transform: scale(.4); transform-origin: 50% 100%; }
.play .gift::before { animation: glowup .9s ease-out 1.5s forwards, glowpulse 2.6s ease-in-out 2.4s infinite; }
@keyframes glowup { to { opacity: 1; transform: scale(1); } }
@keyframes glowpulse { 50% { opacity: .55; transform: scale(.9); } }
.gift svg { position: relative; z-index: 20; width: 100%; height: 100%; overflow: visible; }
.gift .box { transform: translateY(-140px); opacity: 0; }
.play .gift .box { animation: drop 1.1s cubic-bezier(.3,0,.4,1) forwards; }
@keyframes drop {
  0% { transform: translateY(-140px); opacity: 0; }
  20% { opacity: 1; }
  55% { transform: translateY(0) scale(1.08, .9); }
  68% { transform: translateY(-16px) scale(.97, 1.04); }
  82% { transform: translateY(0) scale(1.04, .96); }
  91% { transform: translateY(-4px); }
  100% { transform: translateY(0); opacity: 1; }
}
.gift .lid { transform-box: fill-box; transform-origin: 0% 100%; }
.play .gift .lid { animation: lid .55s cubic-bezier(.3,1.6,.5,1) 1.25s forwards; }
@keyframes lid { to { transform: translate(-2px, -3px) rotate(-32deg); } }
.gift .burst .pic { --w: min(100px, 26vw); --px: calc(var(--d) * min(76px, 20vw)); --py: calc(-200px - (1.5 - var(--ad)) * 14px); --pr: calc(var(--d) * 7deg); position: absolute; left: 50%; top: 34px; width: var(--w); margin-left: calc(var(--w) / -2); padding: 5px 5px 16px; z-index: var(--z, 0); background: #fffaf3; border-radius: 3px; box-shadow: 0 8px 18px rgba(0,0,0,.4); opacity: 0; transform: translate(0, 10px) scale(.2); }
.gift .burst .pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.play .gift .burst .pic { animation: fly 1s cubic-bezier(.2,1.3,.5,1) calc(1.5s + var(--i) * 90ms) forwards, float 3.2s ease-in-out calc(2.7s + var(--i) * 200ms) infinite alternate; }
@keyframes fly {
  0% { opacity: 0; transform: translate(0, 10px) scale(.2) rotate(0deg); }
  25% { opacity: 1; }
  100% { opacity: 1; transform: translate(var(--px), var(--py)) scale(1) rotate(var(--pr)); }
}
@keyframes float {
  from { opacity: 1; transform: translate(var(--px), var(--py)) scale(1) rotate(var(--pr)); }
  to { opacity: 1; transform: translate(var(--px), calc(var(--py) - 6px)) scale(1) rotate(calc(var(--pr) * -.4)); }
}
/* mobilon 4, gépen 6 kép enyhén egymásra csúszó legyezőben – mindig a doboz fölött */
.gift .burst .pic.csak-gep { display: none; }
@media (min-width: 760px) {
  .divider[data-anim="gift"] { height: 410px; margin-top: 28px; }
  /* az ív szélessége a képernyőhöz igazodik (kisebb laptopon sem lóg ki) */
  .gift .burst .pic { --w: min(150px, 14vw); --px: calc(var(--d) * min(128px, (100vw - 220px) / 5)); --py: calc(-262px - (1.5 - var(--ad)) * 16px); --pr: calc(var(--d) * 5deg); padding: 6px 6px 20px; }
  .gift .burst .pic.csak-gep { display: block; }
}
.gift-text { position: absolute; left: 20px; right: 20px; bottom: 0; margin: 0; text-align: center; opacity: 0; transform: translateY(8px); transition: opacity .8s 1.9s, transform .8s 1.9s; font-family: var(--display); font-weight: 300; font-size: 1.05rem; letter-spacing: .04em; color: var(--gold-soft); }
.play .gift-text { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .play .hopper, .play .hopper .bounce, .play .hopper .shadow, .play .gift .box, .play .gift .lid, .play .gift .burst .pic { animation: none !important; }
  .gift .box { transform: none; opacity: 1; }
  .hero-trio figure { animation: none !important; opacity: 1; transform: none; }
  .gift .burst .pic { opacity: 1; transform: translate(var(--px), var(--py)) rotate(var(--pr)); }
  .memory-text p { opacity: 1 !important; transform: none !important; }
  .hero-img { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 28px; border-radius: 99px; border: 0;
  font: 500 .95rem var(--sans); letter-spacing: .04em; text-decoration: none; cursor: pointer;
  transition: transform .15s, background .25s, box-shadow .25s;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: var(--ink); box-shadow: 0 8px 26px rgba(214,169,103,.28); }
.btn-gold:hover { box-shadow: 0 10px 34px rgba(214,169,103,.45); }
.btn-gold:disabled { opacity: .6; }
.btn-ghost { background: transparent; color: inherit; border: 1px solid currentColor; opacity: .9; }
.btn-ghost:hover { opacity: 1; background: rgba(214,169,103,.1); }
.btn-wide { width: 100%; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--cream); font-size: 1.5rem; cursor: pointer; }
.icon-btn:disabled { opacity: .25; }

/* ---------- Szakaszok ---------- */
main { max-width: 1080px; margin: 0 auto; }
.section { padding: 64px 20px 16px; }
.sub { color: var(--cream-dim); margin: 0 0 24px; font-weight: 300; }
.latte {
  background: var(--latte); color: var(--ink); border-radius: 28px; margin: 40px 12px 0; padding: 48px 22px;
}
.latte .eyebrow { color: #a5743c; }
.latte { background: linear-gradient(160deg, #f3e8da 0%, #ead9c4 100%); }
.latte p { color: var(--ink-dim); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* lépések + polaroidok */
.steps-grid { display: grid; gap: 40px; }
.steps ol { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li > span { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #c79a5e; color: #a5743c; font-family: var(--display); font-size: 1.1rem; }
.steps h3 { font-weight: 500; }
.steps p { margin: 4px 0 0; font-size: .95rem; }
.step-photo { margin: 0; background: #fffaf3; padding: 8px 8px 26px; border-radius: 4px; box-shadow: 0 16px 34px rgba(58,42,32,.25); transform: rotate(-1.5deg); }
.step-photo img { width: 100%; height: auto; }
@media (min-width: 760px) {
  .latte { margin: 56px 20px 0; padding: 64px 56px; }
  .steps-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
}

/* emlék-rész: telefonon négyzetes, gépen széles kép; a szöveg a kép alsó részén */
.memory { margin: 56px auto 0; max-width: 1080px; position: relative; }
.memory-photo { position: relative; margin: 0; }
.memory-img { position: relative; z-index: 1; width: 100%; height: auto; display: block;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 72%, transparent 100%); }
.memory-glow { position: absolute; inset: 8% 4%; width: 92%; height: 84%; object-fit: cover; filter: blur(46px) saturate(1.3); opacity: .5; z-index: 0; }
.memory-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 7%; margin: 0; padding: 0 16px; text-align: center; }
.memory-text p { margin: 0 auto; opacity: 0; transform: translateY(10px); transition: opacity 1s ease, transform 1s ease; }
.memory-text.in p { opacity: 1; transform: none; }
.memory-big { font-family: var(--display); font-weight: 300; font-size: clamp(1.35rem, 6.1vw, 2.9rem); line-height: 1.25; letter-spacing: .02em; color: var(--gold-soft); white-space: nowrap; text-shadow: 0 2px 16px rgba(0,0,0,.7), 0 0 2px rgba(0,0,0,.4); }
.memory-text.reveal { opacity: 1; transform: none; }
@media (min-width: 760px) {
  .memory-img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 76%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 76%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-composite: intersect; }
  .memory-text { bottom: 6%; }
  .memory-big { font-size: clamp(2rem, 3.4vw, 3rem); }
}

/* ---------- Galéria ---------- */
.gal-title { margin-bottom: 22px; font-size: clamp(1.25rem, 5.8vw, 2.3rem); white-space: nowrap; text-align: center; }
/* a három oszlop mindig egy vonalban végződik: az oszlopok egyforma magasak, a képek kitöltik őket (a széleken kicsit vágva) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-items: stretch; }
.gallery > div { display: flex; flex-direction: column; gap: 6px; }
.gallery button { all: unset; display: flex; flex: 1 0 auto; cursor: zoom-in; border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.gallery img { flex: 1; width: 100%; height: auto; min-height: 0; object-fit: cover; transition: transform .6s ease; }
.gallery button:hover img { transform: scale(1.04); }
#more { width: 100%; margin-top: 14px; color: var(--cream); }
@media (min-width: 640px) { .gallery, .gallery > div { gap: 10px; } .gallery button { border-radius: 12px; } }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(20,14,11,.96); display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.lightbox img { max-width: 100vw; max-height: 100svh; object-fit: contain; }
.lb-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 48px; height: 48px; font-size: 2rem; background: none; border: 0; color: var(--cream); cursor: pointer; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 72px; font-size: 2.4rem; background: rgba(0,0,0,.25); border: 0; color: var(--cream); cursor: pointer; }
.lb-prev { left: 0; border-radius: 0 10px 10px 0; } .lb-next { right: 0; border-radius: 10px 0 0 10px; }

/* ---------- Csomagok ---------- */
.packages { display: grid; gap: 18px; margin-top: 22px; }
@media (min-width: 900px) {
  /* gépen: két vízszintes kártya egymás mellett, a kép bal oldalt saját álló arányában */
  .packages { grid-template-columns: repeat(2, 1fr); }
  .packages .pkg { flex-direction: row; }
  .packages .pkg-img { width: 42%; aspect-ratio: 2/3; height: auto; align-self: stretch; object-fit: cover; flex: none; }
  .pkg .tag { top: 14px; left: 14px; }
}
.pkg { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); position: relative; display: flex; flex-direction: column; overflow: hidden; }
.pkg.featured { border-color: var(--gold); box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.pkg-img { aspect-ratio: 2/3; object-fit: cover; width: 100%; }
.pkg-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pkg .tag { position: absolute; top: 14px; left: 14px; background: var(--berry); color: var(--cream); font-size: .66rem; font-weight: 600; padding: 4px 11px; border-radius: 99px; text-transform: uppercase; letter-spacing: .12em; }
.pkg h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .2em; }
.pkg .price { font-family: var(--display); font-weight: 300; font-size: 2rem; color: var(--gold-soft); margin: 6px 0 2px; }
.pkg .price small { display: block; font-family: var(--sans); font-size: .8rem; font-weight: 400; color: var(--cream-dim); margin-top: 2px; }
.pkg .dur { color: var(--cream-dim); font-size: .85rem; }
.pkg ul { padding: 0; list-style: none; margin: 14px 0 20px; display: grid; gap: 6px; font-size: .93rem; font-weight: 300; }
.pkg li::before { content: "✦"; color: var(--gold); margin-right: 9px; font-size: .7rem; }
.pkg .btn { margin-top: auto; }
.pkg-note { margin: 18px 0 0; font-size: .88rem; }

/* ---------- Naptár ---------- */
.cal-section { scroll-margin-top: 8px; }
.cal-banner { display: flex; flex-direction: column; gap: 22px; margin-bottom: 8px; }
.cal-banner img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.cal-q { margin: 0 0 8px; font-family: var(--display); font-weight: 300; font-size: 1.15rem; color: var(--cream-dim); }
.cal-q em { font-style: normal; color: var(--gold-soft); }
.cal-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 18px 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head h3 { font-size: 1.25rem; font-weight: 300; letter-spacing: .06em; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-dow span { text-align: center; font-size: .7rem; letter-spacing: .1em; color: var(--cream-dim); padding: 4px 0; }
.day {
  aspect-ratio: 1; border-radius: 12px; border: 1px solid transparent; background: transparent;
  color: rgba(247,237,225,.25); font: 400 .95rem var(--sans); position: relative; padding: 0;
}
.day.open, .day.full { background: var(--bg-3); color: var(--cream); border-color: var(--line); cursor: pointer; }
.day.open::after, .day.full::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 6px; height: 6px; border-radius: 50%; transform: translateX(-50%); background: #8fc49a; box-shadow: 0 0 6px #8fc49a; }
.day.few::after { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.day.full { color: var(--cream-dim); text-decoration: line-through; text-decoration-color: var(--berry); }
.day.full::after { background: var(--berry); box-shadow: none; }
.day.sel { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.day.sel::after { background: var(--ink); box-shadow: none; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .78rem; color: var(--cream-dim); margin: 14px 4px 0; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.dot.free { background: #8fc49a; } .dot.few { background: var(--gold); } .dot.full { background: var(--berry); }

.day-panel { margin-top: 18px; padding: 20px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); }
.day-panel h3 { margin-bottom: 14px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 640px) { .slots { grid-template-columns: repeat(4, 1fr); } }
.slot { min-height: 48px; border-radius: 12px; border: 1px solid var(--gold); background: transparent; color: var(--cream); font: 500 1rem var(--sans); cursor: pointer; }
.slot:hover { background: rgba(214,169,103,.12); }
.slot.taken { border-color: transparent; background: rgba(0,0,0,.18); color: rgba(247,237,225,.3); text-decoration: line-through; cursor: not-allowed; font-weight: 300; }
.slot.sel { background: var(--gold); color: var(--ink); }
.empty { color: var(--cream-dim); margin: 0; }
@media (min-width: 900px) {
  .cal-section { display: grid; grid-template-columns: 1fr 1.3fr; column-gap: 40px; align-items: start; }
  .cal-section > .cal-banner { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
  .cal-section > .sub { grid-column: 1; grid-row: 4; }
  .cal-section > .pkg-switch { grid-column: 2; grid-row: 1; }
  .cal-section > .cal-card { grid-column: 2; grid-row: 2; }
  .cal-section > .day-panel { grid-column: 2; grid-row: 3; }
}

/* ---------- Űrlap ---------- */
@media (min-width: 900px) {
  #foglalas { display: grid; grid-template-columns: 1fr 1.4fr; column-gap: 40px; align-items: start; }
  #foglalas > h2 { grid-column: 1 / -1; }
  #foglalas .chosen { margin-top: 0; position: sticky; top: 24px; flex-direction: column; align-items: flex-start; }
  #foglalas form { max-width: none; }
}
.chosen { background: var(--bg-3); border-radius: var(--radius); padding: 16px 18px; margin: 16px 0 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chosen strong { font-family: var(--display); font-weight: 300; font-size: 1.3rem; display: block; }
.chosen button { background: none; border: 0; color: var(--gold-soft); text-decoration: underline; font: inherit; cursor: pointer; }
form { display: grid; gap: 16px; max-width: 620px; }
label { display: grid; gap: 6px; font-size: .88rem; color: var(--cream-dim); }
input, select, textarea {
  font: 16px var(--sans); color: var(--cream); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; }
.check input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; }
.form-error { color: #ffa7a0; margin: 0; min-height: 1em; }

/* ---------- GYIK ---------- */
.faq-grid { display: grid; gap: 28px; }
.faq-photo { margin: 0; }
.faq-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: center 30%; border-radius: 20px; }
.faq details { border-bottom: 1px solid rgba(58,42,32,.15); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #a5743c; font-size: 1.3rem; line-height: 1; font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; }
@media (min-width: 760px) {
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
  .faq-photo img { aspect-ratio: 3/4; }
}

/* ---------- Kapcsolat ---------- */
.contact-card { display: grid; background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.contact-card > img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 30%; }
.contact-body { padding: 26px 22px; }
.contact-body h2 { font-size: 1.8rem; }
.contact-body p { color: var(--cream-dim); margin: 0 0 8px; }
.contact-body .btn { margin-top: 10px; }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
@media (min-width: 760px) {
  .contact-card { grid-template-columns: 1fr 1.2fr; align-items: center; }
  .contact-card > img { height: 100%; aspect-ratio: auto; }
  .contact-body { padding: 40px; }
}

/* ---------- Lábléc ---------- */
footer { text-align: center; padding: 30px 0 120px; color: var(--cream-dim); font-size: .8rem; margin-top: 0; }
/* úszó képsor: jobbról balra, lassan, megállás nélkül (egérrel fölé menve sem áll meg) */
.film-strip { overflow: hidden; margin: 0 0 34px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.film-strip-sor { display: flex; gap: 8px; padding-right: 8px; width: max-content; animation: filmUszik 70s linear infinite; will-change: transform; }
.film-strip img { flex: none; width: 210px; height: 140px; object-fit: cover; border-radius: 8px; filter: saturate(.9) brightness(.9); }
@keyframes filmUszik { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (min-width: 760px) {
  .film-strip-sor { gap: 10px; padding-right: 10px; animation-duration: 95s; }
  .film-strip img { width: 300px; height: 200px; border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .film-strip { overflow-x: auto; }
  .film-strip-sor { animation: none; }
}
.foot-brand { margin: 0 0 10px; display: flex; justify-content: center; }
.foot-brand img { height: 64px; width: auto; }
.foot-social { margin: 0 0 12px !important; }
.foot-social a { color: var(--cream-dim); text-decoration: none; border-bottom: 1px solid rgba(205,185,164,.35); }
footer p { margin: 0; }

/* ---------- Ragadós gomb (telefon) ---------- */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 20;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: var(--ink); text-align: center; text-decoration: none;
  font-weight: 600; letter-spacing: .04em; padding: 15px; border-radius: 99px; box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transition: transform .3s, opacity .3s;
}
.sticky-cta.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (min-width: 900px) { .sticky-cta { left: auto; right: 24px; width: 260px; } }

/* ---------- Visszaigazolás ---------- */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(20,14,11,.8); display: grid; place-items: center; padding: 20px; }
.modal-card { background: var(--bg-2); border: 1px solid var(--gold); border-radius: 24px; padding: 30px 24px; text-align: center; max-width: 420px; }
.modal-card .big { font-size: 3rem; }
.modal-card p { color: var(--cream-dim); }

[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }

/* vakuzó kis fényképező a galéria címe mellett */
.flash-cam { position: relative; display: inline-block; width: 1.05em; height: .8em; margin-left: .2em; vertical-align: -.02em; color: var(--gold); }
.flash-cam svg { width: 100%; height: 100%; display: block; overflow: visible; }
.flash-cam .burst { position: absolute; left: 82%; top: 38%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #fff; opacity: 0; pointer-events: none;
  box-shadow: 0 0 6px 4px #fff, 0 0 16px 10px rgba(255,244,214,.7), 0 0 34px 18px rgba(255,236,190,.3); animation: camflash 4.2s ease-out 1s infinite; }
.flash-cam .bulb { animation: bulbflash 4.2s ease-out 1s infinite; }
@keyframes camflash { 0%, 86% { opacity: 0; transform: scale(.3); } 87.5% { opacity: 1; transform: scale(1); } 93% { opacity: .4; transform: scale(1.3); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes bulbflash { 0%, 86% { fill: currentColor; } 88% { fill: #fff; } 100% { fill: currentColor; } }
@media (prefers-reduced-motion: reduce) { .flash-cam .burst, .flash-cam .bulb { animation: none; } }

/* csomagválasztó a naptár fölött */
.pkg-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; }
.pkg-switch button { display: grid; gap: 2px; padding: 12px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); color: var(--cream); font: inherit; cursor: pointer; text-align: center; transition: background .2s, border-color .2s; }
.pkg-switch button strong { font-family: var(--display); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; }
.pkg-switch button span { font-size: .8rem; color: var(--cream-dim); }
.pkg-switch button[aria-checked="true"] { border-color: var(--gold); background: linear-gradient(135deg, rgba(236,208,156,.18), rgba(214,169,103,.08)); }
.pkg-switch button[aria-checked="true"] span { color: var(--gold-soft); }

/* a stúdió karácsonyi termei */
.studio-rooms { padding-top: 56px; }
.studio-rooms .sub { margin-bottom: 20px; }
.rooms { display: grid; gap: 14px; }
.rooms figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; }
.rooms img { width: 100%; height: auto; display: block; }
.rooms figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(180deg, transparent, rgba(28,17,12,.85)); font-size: .9rem; }
.rooms figcaption strong { font-family: var(--display); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; margin-right: 8px; }
.rooms figcaption span { color: var(--cream-dim); }
.credit { font-size: .75rem; color: var(--cream-dim); margin-top: 10px; }
@media (min-width: 760px) { .rooms { grid-template-columns: 1fr 1fr; } }

/* időpontkérő űrlap */
.req-form { display: grid; gap: 22px; max-width: 640px; }
.req-form .field { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.req-form legend { font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: .03em; margin-bottom: 10px; padding: 0; }
.req-form legend small { font-family: var(--sans); font-size: .8rem; color: var(--cream-dim); font-weight: 300; }
.req-form .pkg-switch { margin: 0; }
.options { display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: 22px 1fr; gap: 6px 8px; align-items: center; }
.opt-n { color: var(--gold); font-family: var(--display); grid-row: span 2; align-self: start; padding-top: 12px; }
.opt select { appearance: none; -webkit-appearance: none; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d6a967' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.hint { margin: 0; font-size: .82rem; color: var(--cream-dim); }
@media (min-width: 640px) { .opt { grid-template-columns: 22px 1.4fr 1fr; } .opt-n { grid-row: auto; padding: 0; align-self: center; } }
@media (min-width: 900px) {
  .cal-section > .req-form { grid-column: 2; grid-row: 1 / span 4; }
}

/* helyszín a lépések és az emlék-kép között */
.place { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 48px 24px 0; }
.place svg { width: 30px; height: 30px; color: var(--gold); }
.place p { margin: 0; display: grid; gap: 4px; color: var(--cream-dim); }
.place .eyebrow { margin: 0; }
.place strong { font-family: var(--display); font-weight: 300; font-size: 1.6rem; color: var(--cream); letter-spacing: .02em; }
.place .btn { min-height: 42px; padding: 0 22px; margin-top: 6px; color: var(--gold-soft); }
.place + .memory { margin-top: 28px; }

/* kapcsolat */
.contact-sec { text-align: center; padding-top: 64px; }
.contact-sec h2 { margin-bottom: 4px; }
.contact-brand { margin: 0 0 22px; font-family: var(--display); letter-spacing: .14em; font-size: 1.05rem; color: var(--gold); }
.contact-sec .contact-links { display: grid; gap: 10px; max-width: 360px; margin: 0 auto; grid-template-columns: 1fr; }
.contact-sec .btn { color: var(--cream); }
@media (min-width: 640px) { .contact-sec .contact-links { grid-template-columns: 1fr 1fr; max-width: 520px; } }

.check a { color: var(--gold-soft); }

/* nyitókép: a <picture> ne törje meg az elrendezést */
.hero-media picture { display: block; }
/* mobilon a lábléc linkjei könnyen eltalálhatók legyenek (min. ~40px magas érintési felület) */
@media (max-width: 759px) {
  footer a { display: inline-block; padding: 11px 6px; }
}
/* tablet / közepes szélesség: a nyitókép ne tolja le a címet az első képernyőről */
@media (min-width: 600px) and (max-width: 899px) {
  .hero-img { height: 68vh; height: 68svh; object-fit: cover; object-position: 50% 22%; margin-top: 0; }
}

/* csomagkártyák: a <picture> ne számítson külön elemnek (a kép marad a kártya közvetlen része) */
.pkg picture { display: contents; }
/* mobilon/tableten fekvő kép a kártya tetején; gépen (900px felett) marad az álló kép bal oldalt */
@media (max-width: 899px) {
  .pkg-img { aspect-ratio: 3 / 2; }
}
