/* ==========================================================
   VarázsStúdió – stílus (sötét téma, önálló változat)
   A téma a <html data-theme="sotet"> attribútumból jön.
   ========================================================== */

:root {
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-caps: "Cinzel", "Times New Roman", serif;
  --font-body: "Jost", system-ui, sans-serif;
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --maxw: 1240px;
}

/* ---------- SÖTÉT: éjkék mesebolt, aranyfény ---------- */
html[data-theme="sotet"] {
  --bg: #080a18;
  --bg-2: #0e1126;
  --surface: rgba(255, 244, 222, .045);
  --surface-2: rgba(255, 244, 222, .08);
  --line: rgba(212, 179, 106, .28);
  --ink: #f4ecdd;
  --ink-soft: rgba(244, 236, 221, .72);
  --ink-mute: rgba(244, 236, 221, .5);
  --gold: #d4b36a;
  --gold-2: #f1dca4;
  --gold-deep: #a9823a;
  --btn-ink: #140f06;
  --hero-overlay: linear-gradient(180deg, rgba(8,10,24,.35) 0%, rgba(8,10,24,.15) 45%, rgba(8,10,24,.95) 100%);
  --glow: 0 0 40px rgba(212, 179, 106, .35);
  --shadow: 0 30px 80px rgba(0, 0, 0, .55);
  --paper: #120f0a;
  color-scheme: dark;
}


* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--btn-ink); }

.wrap { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }

/* ---------- tipográfia ---------- */
.eyebrow {
  font-family: var(--font-caps);
  font-size: 12.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before, .eyebrow.both::after {
  content: ""; width: 38px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.both::after { background: linear-gradient(90deg, var(--gold), transparent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }
h2 { font-size: clamp(40px, 5.4vw, 76px); }
h2 em, h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); max-width: 58ch; }
.section { padding: clamp(90px, 12vw, 160px) 0; position: relative; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { text-align: center; justify-items: center; }

/* ---------- gombok ---------- */
.btn {
  --x: 0px; --y: 0px;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px; border-radius: 999px;
  font-family: var(--font-caps); font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  transform: translate(var(--x), var(--y));
  overflow: hidden; isolation: isolate;
}
.btn-gold {
  color: var(--btn-ink);
  background: linear-gradient(120deg, var(--gold-deep), var(--gold) 40%, var(--gold-2) 55%, var(--gold) 70%, var(--gold-deep));
  background-size: 250% 100%;
  box-shadow: var(--glow);
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--surface); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--gold); }
.btn .play {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor;
  display: grid; place-items: center; font-size: 9px;
}

/* ==========================================================
   ELŐTÖLTŐ – kinyíló mesekönyv
   ========================================================== */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  pointer-events: none;
}
.loader .leaf {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background: var(--bg);
  transition: transform 1.3s var(--ease);
  pointer-events: auto;
}
.loader .leaf.l { left: 0; transform-origin: left center; }
.loader .leaf.r { right: 0; transform-origin: right center; }
.loader-inner {
  position: relative; z-index: 2; display: grid; justify-items: center; gap: 26px;
  transition: opacity .6s, transform .8s var(--ease);
}
.loader-row { display: flex; align-items: center; gap: 28px; }
.loader-line {
  width: clamp(60px, 16vw, 180px); height: 1px; background: var(--gold);
  box-shadow: 0 0 12px var(--gold), 0 0 26px var(--gold);
  transform: scaleX(0); transition: transform .3s linear;
}
.loader-line.l { transform-origin: right; }
.loader-line.r { transform-origin: left; }
.loader img { width: 110px; animation: float 3s ease-in-out infinite; }
.loader-pct { font-family: var(--font-caps); font-size: 11px; letter-spacing: .5em; color: var(--ink-mute); }
body.loaded .loader-inner { opacity: 0; transform: scale(.9); }
body.loaded .loader .leaf.l { transform: perspective(1400px) rotateY(88deg); }
body.loaded .loader .leaf.r { transform: perspective(1400px) rotateY(-88deg); }
body.loaded .loader .leaf { pointer-events: none; }
body.loaded .loader { visibility: hidden; transition: visibility 0s 1.4s; }

/* ==========================================================
   NAVIGÁCIÓ
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .4s, padding .4s, border-color .4s;
  padding: 22px 0; border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 12px 0;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 46px; height: auto; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand span { font-family: var(--font-display); font-size: 26px; font-weight: 500; letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 34px); list-style: none; }
.nav-links a {
  font-family: var(--font-caps); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  color: var(--ink-soft); position: relative; padding: 6px 0; transition: color .3s;
}
.nav-links a::after {
  content: "✦"; position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%) scale(0);
  color: var(--gold); font-size: 10px; transition: transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: translateX(-50%) scale(1); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav .btn { padding: 12px 22px; font-size: 11.5px; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: .4s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 27px; }
body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ==========================================================
   HERO – háttérvideó + telefonos meghívó
   ========================================================== */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 130px 0 90px; }
.hero-video, .hero-overlay, #sparkles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; transform: scale(1.06); }
.hero-overlay { background: var(--hero-overlay); }
html[data-theme="sotet"] .hero-overlay::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 70% 45%, rgba(212,179,106,.16), transparent 70%);
}
#sparkles { pointer-events: none; z-index: 1; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.hero-logo { width: clamp(170px, 17vw, 240px); margin-bottom: 18px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.25)); }
.hero h1 { font-size: clamp(46px, 6.4vw, 96px); margin: 20px 0 24px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
body.loaded .hero h1 .line > span { transform: none; }
body.loaded .hero h1 .line:nth-child(2) > span { transition-delay: .12s; }
body.loaded .hero h1 .line:nth-child(3) > span { transition-delay: .24s; }
.hero .lead { margin-bottom: 40px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-fade { opacity: 0; transform: translateY(24px); transition: 1s var(--ease) .5s; }
body.loaded .hero-fade { opacity: 1; transform: none; }

.phone-stage { position: relative; display: grid; place-items: center; perspective: 1200px; }
.phone {
  position: relative; width: min(310px, 72vw); aspect-ratio: 9/16; border-radius: 38px;
  padding: 10px; background: linear-gradient(145deg, var(--gold-2), var(--gold-deep) 45%, var(--gold) 70%, var(--gold-deep));
  box-shadow: var(--shadow), var(--glow);
  transform-style: preserve-3d; transition: transform .25s ease-out;
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; background: #000; }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; border-radius: 20px; background: #000; z-index: 2; opacity: .85; }
.phone-sound {
  position: absolute; right: 22px; bottom: 22px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(6px); display: grid; place-items: center; font-size: 17px;
}
@keyframes fill { to { transform: scaleX(1); } }
.phone-tag {
  position: absolute; z-index: 4; padding: 12px 18px; border-radius: 16px;
  background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(10px);
  border: 1px solid var(--line); font-size: 14px; box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.phone-tag b { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--gold); display: block; line-height: 1.1; }
.phone-tag.t1 { left: -6%; top: 16%; }
.phone-tag.t2 { right: -4%; bottom: 20%; animation-delay: -2.5s; }

/* ---------- termékbemutató (forgó diák) ---------- */
.showcase { display: grid; justify-items: center; gap: 26px; }
.show-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; position: relative; z-index: 5; }
.show-tabs .chip { backdrop-filter: blur(8px); }
.show-stage { display: grid; width: 100%; }
.slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: scale(.94) translateY(14px);
  transition: opacity .8s var(--ease), transform .9s var(--ease), visibility 0s .9s;
}
.slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .8s var(--ease) .15s, transform .9s var(--ease) .15s, visibility 0s; }
.show-dots { display: flex; justify-content: center; align-items: center; gap: 8px; }
.show-dots button { width: 34px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.show-dots button.first { margin-left: 18px; }
.show-dots button.first:first-child { margin-left: 0; }
.show-dots button i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.show-dots button.on i { animation: fill var(--dur, 15s) linear forwards; }
.show-dots.paused button.on i { animation-play-state: paused; }
.show-dots button.hold i { animation: none; transform: scaleX(1); }

/* 3D mesekönyv */
.book-slide { position: relative; display: grid; place-items: center; perspective: 1400px; padding-bottom: 40px; }
.book3d { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.book3d img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.book3d { width: min(300px, 64vw); aspect-ratio: var(--ratio, 1100/1145); transform-style: preserve-3d; transition: transform .25s ease-out; cursor: pointer; }
.book-inner {
  --t: 16px; position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transform: rotateY(-24deg) rotateX(6deg); animation: bookBob 6s ease-in-out infinite;
}
@keyframes bookBob { 0%, 100% { transform: rotateY(-24deg) rotateX(6deg); } 50% { transform: rotateY(-20deg) rotateX(4deg) translateY(-10px); } }
.b-back { position: absolute; inset: 0; border-radius: 3px 10px 10px 3px; background: #1d1630; box-shadow: 0 40px 80px rgba(0,0,0,.6), var(--glow); }
/* lapélek: jobb oldalt és alul, a borító széléhez képest kicsit beljebb (mint egy igazi keményfedeles könyvnél) */
.b-pages {
  position: absolute; top: 1.6%; bottom: 1.6%; right: 1.4%; width: calc(var(--t) - 2px); transform-origin: right center; transform: rotateY(90deg) translateX(-1px);
  background: repeating-linear-gradient(90deg, #f6eedd 0 2px, #d8cbb0 2px 3px);
}
.b-pages-b {
  position: absolute; left: 0; right: 1.4%; bottom: 1.6%; height: calc(var(--t) - 2px); transform-origin: center bottom; transform: rotateX(-90deg);
  background: repeating-linear-gradient(180deg, #efe5cf 0 2px, #cfc2a6 2px 3px);
}
.b-page {
  position: absolute; top: 1.6%; left: 0; width: 98.6%; height: 96.8%; object-fit: cover;
  transform: translateZ(calc(var(--t) - 2px)); border-radius: 0 6px 6px 0;
}
.b-cover {
  position: absolute; inset: 0; transform-origin: left center; transform: translateZ(var(--t));
  transform-style: preserve-3d; transition: transform 1.4s var(--ease);
}
.b-cover img, .b-cover-back, .b-gloss { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 3px 10px 10px 3px; backface-visibility: hidden; }
.b-cover img { object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
/* gerinc-hajlat és enyhe fényes bevonat a borítón */
.b-gloss {
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.42) 0, rgba(0,0,0,.18) 1.6%, rgba(255,255,255,.22) 2.6%, rgba(0,0,0,.14) 4.2%, transparent 7%),
    linear-gradient(120deg, rgba(255,255,255,.16) 0, rgba(255,255,255,0) 38%, rgba(255,255,255,0) 70%, rgba(255,255,255,.06) 100%);
}
.b-cover-back { transform: rotateY(180deg); background: linear-gradient(90deg, #efe4cc, #f8f1e2); }
.book3d:hover .b-cover { transform: translateZ(var(--t)) rotateY(-42deg); }
.book-slide.peek .b-cover { animation: peek 2.8s var(--ease) .7s backwards; }
@keyframes peek {
  0%, 100% { transform: translateZ(var(--t)) rotateY(0); }
  35%, 65% { transform: translateZ(var(--t)) rotateY(-42deg); }
}
.book-slide .phone-tag.t1 { left: -2%; top: 8%; }
.book-slide .phone-tag.t2 { right: -2%; bottom: 14%; }
.book-more {
  position: absolute; z-index: 4; bottom: -6px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-caps); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; gap: 10px; white-space: nowrap;
}
.book-more span { transition: transform .4s var(--ease); }
.book-more:hover span { transform: translateX(6px); }
@keyframes float { 50% { transform: translateY(-12px); } }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-family: var(--font-caps); font-size: 10px; letter-spacing: .4em; color: var(--ink-mute);
  display: grid; justify-items: center; gap: 10px;
}
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- futó szalag ---------- */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.6vw, 34px); white-space: nowrap; color: var(--ink-soft); }
.marquee span.star { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   MESEKÖNYV
   ========================================================== */
.book { background: var(--bg-2); overflow: hidden; }
.book::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 45% at 25% 35%, rgba(212,179,106,.10), transparent 70%);
}
.book-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.book-stage { position: relative; perspective: 1400px; padding-bottom: 50px; }
.book-frame {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: #000;
  border: 1px solid rgba(241,220,164,.5); box-shadow: var(--shadow), var(--glow); transition: transform .3s ease-out;
}
.book-frame video, .book-frame .frame-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book-frame.no-video .book-play { display: none; }
/* könyvválasztó */
.book-head { margin-bottom: clamp(40px, 5vw, 64px); }
.book-pick { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }
.book-panel { position: relative; }
/* a nem választott könyv láthatatlanul a háttérben marad, így a két könyv elrendezése mérhető és egyforma lehet */
.book-panel:not(.is-on) { position: absolute; left: 0; right: 0; visibility: hidden; opacity: 0; pointer-events: none; }
.book-panel.is-on { animation: panelIn .8s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.book-title { font-size: clamp(32px, 3.2vw, 46px); margin-bottom: 20px; }
.book-title small {
  display: block; margin-top: 10px; font-family: var(--font-caps); font-size: 12px; font-weight: 400;
  letter-spacing: .25em; text-transform: uppercase; color: var(--gold);
}
.book-frame { cursor: zoom-in; }
/* mindkét könyvnél azonos méret: 4:3 fekvő keret (a rókás videók eredeti aránya) */
.book-frame { aspect-ratio: 4/3; width: 86%; margin-inline: 0; }
/* 3 példa-videó könyvenként, egy sorban */
.book-strip.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; overflow: visible; padding-bottom: 0; }
.book-strip.trio .page { flex: none; cursor: pointer; }
/* a videó sosem vágódik le: teljes egészében látszik (contain),
   a maradék helyet a saját képének elmosott, sötétített változata tölti ki */
.book-strip.trio .page img, .book-frame .frame-bg {
  z-index: 0; object-fit: cover; filter: blur(20px) brightness(.5) saturate(1.2); transform: scale(1.15);
}
.book-strip.trio .page:hover img { transform: scale(1.15); }
.book-strip.trio .page video { z-index: 1; object-fit: contain; }
.book-strip.trio .page:hover video { transform: none; }
.book-frame video { z-index: 1; object-fit: contain; }
.book-frame .frame-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.book-play, .page-play {
  position: absolute; z-index: 2; right: 26px; top: 26px; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; color: #fff;
  background: rgba(0,0,0,.4); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.3);
  transition: transform .5s var(--ease), background .3s, color .3s;
}
.book-frame:hover .book-play, .page:hover .page-play { background: #d4b36a; color: #140f06; transform: scale(1.08); }
.page-play { top: 18px; right: 18px; width: 46px; height: 46px; font-size: 13px; }
.page video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.page:hover video { transform: scale(1.05); }
.book-text .hero-ctas { justify-content: flex-start; }
.book-frame .frame { position: absolute; inset: 12px; border: 1px solid rgba(241,220,164,.55); border-radius: 16px; pointer-events: none; }
.book-cover {
  position: absolute; z-index: 2; width: 32%; right: -4%; bottom: 0; aspect-ratio: 1100/1145; object-fit: cover;
  border-radius: 4px 12px 12px 4px; border-left: 5px solid rgba(0,0,0,.4);
  box-shadow: var(--shadow), 0 0 0 1px rgba(241,220,164,.35), var(--glow);
  animation: bookFloat 6s ease-in-out infinite;
}
@keyframes bookFloat { 0%, 100% { transform: rotate(6deg); } 50% { transform: rotate(6deg) translateY(-12px); } }
.book-stage .seal {
  position: absolute; z-index: 3; left: -3%; bottom: 0;
  width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--glow);
}
.book-stage .seal img { width: 70px; }
.book-stage .seal svg { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.book-stage .seal text { font-family: var(--font-caps); font-size: 10.5px; letter-spacing: .3em; fill: var(--gold); }
.book-text .values { margin: 30px 0 38px; }
.book-text .wand-note {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 18px;
  border-radius: 999px; border: 1px solid rgba(212,179,106,.45); background: rgba(212,179,106,.09);
  color: #f1dca4; font-size: 14.5px; line-height: 1.4;
}
.book-text .wand-note::before { content: "✦"; color: var(--gold); font-size: 13px; }

.book-strip-wrap { position: relative; margin-top: clamp(26px, 3vw, 44px); }
.book-strip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.book-strip-head h3 { font-size: clamp(30px, 3.2vw, 46px); }
.book-strip-head h3 em { font-style: italic; color: var(--gold); }
.strip-nav { display: flex; gap: 10px; }
.strip-nav button {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  font-size: 18px; transition: .3s var(--ease);
}
.strip-nav button:hover { border-color: var(--gold); background: var(--gold); color: var(--btn-ink); }
.book-strip {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--gold-deep) transparent;
}
.book-strip::-webkit-scrollbar { height: 4px; }
.book-strip::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 4px; }
.page {
  flex: 0 0 min(500px, 82vw); scroll-snap-align: start; position: relative; aspect-ratio: 3/2;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; cursor: zoom-in;
  transition: box-shadow .6s var(--ease);
}
.page img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.page:hover { box-shadow: var(--shadow), var(--glow); }
.page:hover img { transform: scale(1.05); }
.page figcaption {
  position: absolute; inset: auto 0 0; z-index: 2; padding: 60px 24px 22px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
}
.page figcaption small { display: block; font-family: var(--font-caps); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: #f1dca4; }
.page figcaption b { display: block; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; line-height: 1.1; margin-top: 6px; }
.page figcaption span { font-size: 14px; opacity: .8; }

/* ==========================================================
   RÓLUNK + nyilatkozat
   ========================================================== */
.statement { font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 62px); line-height: 1.18; max-width: 22ch; }
.statement .w { opacity: .14; transition: opacity .5s; }
.statement .w.on { opacity: 1; }
.statement .w.gold { color: var(--gold); font-style: italic; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; margin-top: clamp(70px, 9vw, 120px); }
.about-visual { position: relative; aspect-ratio: 4/5; }
.about-visual .card {
  position: absolute; width: 58%; aspect-ratio: 9/16; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .8s var(--ease);
}
.about-visual .card img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .c1 { left: 0; top: 6%; transform: rotate(-7deg); }
.about-visual .c2 { right: 0; top: 0; transform: rotate(6deg); z-index: 2; }
.about-visual:hover .c1 { transform: rotate(-11deg) translateX(-14px); }
.about-visual:hover .c2 { transform: rotate(9deg) translateX(14px); }
.about-visual .seal {
  position: absolute; z-index: 3; left: 50%; bottom: -2%; transform: translateX(-50%);
  width: 130px; height: 130px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--glow);
}
.about-visual .seal img { width: 78px; }
.about-visual .seal svg { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.about-visual .seal text { font-family: var(--font-caps); font-size: 10.5px; letter-spacing: .3em; fill: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.about-text p { color: var(--ink-soft); margin-bottom: 18px; }
.about-text h3 { font-size: clamp(30px, 3vw, 44px); margin: 18px 0 22px; }
.values { list-style: none; display: grid; gap: 14px; margin-top: 30px; }
.values li { display: flex; gap: 16px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.values li b { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--gold); min-width: 34px; }

/* ==========================================================
   ELŐTTE / UTÁNA varázstükör
   ========================================================== */
.magic { background: var(--bg-2); overflow: hidden; }
.magic-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.ba {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); user-select: none; touch-action: none; cursor: ew-resize;
  --pos: 50%;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 var(--pos)); }
.ba .before { object-position: center 25%; }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--gold-2); box-shadow: 0 0 18px var(--gold); transform: translateX(-1px); }
.ba .knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); color: #140f06; font-size: 20px;
  box-shadow: 0 0 0 6px rgba(255,255,255,.12), var(--glow);
}
.ba .lbl {
  position: absolute; top: 18px; padding: 7px 14px; border-radius: 999px; z-index: 2;
  font-family: var(--font-caps); font-size: 10.5px; letter-spacing: .25em;
  background: rgba(0,0,0,.5); color: #fff; backdrop-filter: blur(6px);
}
.ba .lbl.b { left: 18px; } .ba .lbl.a { right: 18px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #140f06; }
.ba-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 34px; }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; letter-spacing: .04em; transition: .3s var(--ease);
}
.chip:hover { border-color: var(--gold); }
.chip.on { background: var(--gold); color: var(--btn-ink); border-color: var(--gold); }
.hint { font-size: 14px; color: var(--ink-mute); display: flex; gap: 10px; align-items: center; }

/* ==========================================================
   MESEVILÁGOK – videógaléria
   ========================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 46px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9/14;
  background: #000; border: 1px solid var(--line); cursor: pointer;
  transition: transform .6s var(--ease), opacity .5s, box-shadow .6s;
  transform-style: preserve-3d;
}
.tile.hide { display: none; }
.tile video, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s; }
.tile video { opacity: 0; }
.tile.playing video { opacity: 1; }
.tile:hover { box-shadow: var(--shadow), var(--glow); }
.tile:hover img, .tile:hover video { transform: scale(1.05); }
.tile .meta {
  position: absolute; inset: auto 0 0; padding: 70px 24px 24px; z-index: 2;
  background: linear-gradient(transparent, rgba(0,0,0,.82)); color: #fff;
}
.tile .meta small { font-family: var(--font-caps); font-size: 10.5px; letter-spacing: .3em; color: #f1dca4; }
.tile .meta h3 { font-size: 34px; margin-top: 6px; }
.tile .meta p { font-size: 14.5px; opacity: .8; }
.tile .open {
  position: absolute; top: 18px; right: 18px; z-index: 2; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0,0,0,.4); color: #fff; backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3); transition: transform .5s var(--ease), background .3s;
}
.tile:hover .open { transform: rotate(90deg) scale(1.08); background: #d4b36a; color: #140f06; }

/* ==========================================================
   SZOLGÁLTATÁSOK
   ========================================================== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.services .svc { display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 34px); }
/* tömör kártyák, hogy a cím és mindhárom kártya egyszerre kiférjen a képernyőre */
#szolgaltatasok .section-head { margin-bottom: clamp(28px, 3.5vw, 44px); gap: 14px; }
#szolgaltatasok .section-head h2 { font-size: clamp(34px, 3.6vw, 52px); }
.services .svc-top { margin-bottom: 14px; }
.services .svc-icon { width: 52px; height: 52px; font-size: 23px; }
.services .svc h3 { font-size: clamp(24px, 2.1vw, 31px); margin-bottom: 10px; }
.services .svc p { font-size: 15px; margin-bottom: 16px; }
.services .svc ul { grid-template-columns: 1fr; gap: 6px; font-size: 14px; margin-bottom: 22px; }
.services .svc-links, .services .svc > .more { margin-top: auto; }
.svc {
  --mx: 50%; --my: 50%;
  position: relative; padding: clamp(30px, 3.4vw, 46px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s;
  transform-style: preserve-3d;
}
.svc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(212,179,106,.18), transparent 60%);
}
.svc:hover { border-color: var(--gold); }
.svc:hover::before { opacity: 1; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.svc-num { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--gold); }
.svc-icon {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-size: 30px;
  border: 1px solid var(--line); background: var(--surface-2);
}
.svc h3 { font-size: clamp(30px, 2.8vw, 40px); margin-bottom: 14px; }
.svc p { color: var(--ink-soft); margin-bottom: 22px; }
.svc ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-bottom: 30px; font-size: 15px; }
.svc li::before { content: "✦ "; color: var(--gold); font-size: 11px; }
.svc .more { font-family: var(--font-caps); font-size: 12px; letter-spacing: .22em; color: var(--gold); display: inline-flex; gap: 10px; align-items: center; }
.svc .more span { transition: transform .4s var(--ease); }
.svc:hover .more span { transform: translateX(8px); }
.svc-links { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.svc:hover .svc-links .more:first-child span { transform: translateY(4px); }

/* ---------- lépések ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 38px; left: 12%; right: 12%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 14px); opacity: .6;
}
.step { text-align: center; position: relative; padding: 0 4px; }
.step .dot {
  width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: 30px; background: var(--bg); border: 1px solid var(--gold); box-shadow: var(--glow); position: relative;
  transition: transform .5s var(--ease);
}
.step:hover .dot { transform: translateY(-8px) rotate(-8deg); }
.step h4 { font-family: var(--font-display); font-size: clamp(19px, 1.65vw, 26px); font-weight: 500; margin-bottom: 8px; white-space: nowrap; }
.step p { font-size: 15.5px; color: var(--ink-soft); }

/* ==========================================================
   VARÁZSPÁLCA – élő meghívó-előnézet
   ========================================================== */
.wand { background: var(--bg-2); }
.wand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-caps); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  width: 100%; padding: 16px 20px; border-radius: 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); outline: none; transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select option { background: var(--bg); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,179,106,.15); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.themes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.themes button {
  aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; border: 2px solid transparent; position: relative;
  transition: transform .4s var(--ease), border-color .3s;
}
.themes button img { width: 100%; height: 100%; object-fit: cover; }
.themes button:hover { transform: translateY(-4px); }
.themes button.on { border-color: var(--gold); box-shadow: var(--glow); }

.invite-stage { display: grid; place-items: center; perspective: 1400px; }
.invite {
  position: relative; width: min(380px, 86vw); aspect-ratio: 9/14; border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow), var(--glow); transform-style: preserve-3d; transition: transform .3s ease-out;
  border: 1px solid rgba(241,220,164,.5); color: #fff;
}
.invite > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.invite::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 35%, transparent 55%, rgba(0,0,0,.8)); }
.invite .frame { position: absolute; inset: 12px; border: 1px solid rgba(241,220,164,.7); border-radius: 18px; z-index: 2; pointer-events: none; }
.invite .top, .invite .bottom { position: absolute; left: 0; right: 0; z-index: 3; text-align: center; padding: 0 26px; }
.invite .top { top: 34px; }
.invite .bottom { bottom: 36px; }
.invite .kicker { font-family: var(--font-caps); font-size: 11px; letter-spacing: .38em; color: #f1dca4; }
.invite .name {
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 56px; line-height: 1;
  background: linear-gradient(120deg, #f7e7bb, #d4b36a 40%, #fff3cf 55%, #c79d4a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.6)); margin-top: 6px; word-break: break-word;
}
.invite .age { font-family: var(--font-display); font-size: 22px; margin-top: 4px; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.invite .age b { font-size: 46px; color: #f1dca4; vertical-align: -6px; margin-right: 6px; }
.invite .when { font-size: 15px; line-height: 1.5; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.invite .when strong { font-weight: 500; display: block; font-size: 17px; }
.invite .pop { animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(.85); opacity: .2; } 100% { transform: none; opacity: 1; } }
.wand-note { font-size: 14px; color: var(--ink-mute); margin-top: 6px; }

/* ==========================================================
   GYIK
   ========================================================== */
.faq { max-width: 900px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa button {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 28px 0; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 500;
  transition: color .3s;
}
.qa button:hover { color: var(--gold); }
.qa .pm { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s; font-family: var(--font-body); font-size: 18px; }
.qa.open .pm { transform: rotate(135deg); background: var(--gold); color: var(--btn-ink); border-color: var(--gold); }
.qa .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.qa .a > div { overflow: hidden; }
.qa .a p { color: var(--ink-soft); padding-bottom: 28px; max-width: 70ch; }
.qa.open .a { grid-template-rows: 1fr; }

/* ==========================================================
   KAPCSOLAT
   ========================================================== */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); }
.contact-card {
  padding: clamp(28px, 3.4vw, 46px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.contact-list { list-style: none; display: grid; gap: 22px; margin: 34px 0; }
.contact-list li { display: flex; gap: 18px; align-items: center; }
.contact-list .ic { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 20px; flex: none; }
.contact-list small { display: block; font-family: var(--font-caps); font-size: 10.5px; letter-spacing: .25em; color: var(--ink-mute); }
.socials { display: flex; gap: 12px; }
.socials a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; transition: .3s; }
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.form .check input { width: 18px; height: 18px; accent-color: var(--gold); margin-top: 3px; flex: none; }
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, calc(100% + 60px)); z-index: 300;
  padding: 16px 26px; border-radius: 999px; background: var(--gold); color: var(--btn-ink); font-weight: 400;
  box-shadow: var(--shadow); transition: transform .6s var(--ease);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- CTA sáv + lábléc ---------- */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta-band .wrap { position: relative; z-index: 2; display: grid; justify-items: center; gap: 26px; }
.cta-band h2 { max-width: 16ch; }
footer { border-top: 1px solid var(--line); padding: 70px 0 40px; background: var(--bg-2); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.foot img { width: 190px; margin-bottom: 18px; }
.foot h5 { font-family: var(--font-caps); font-size: 12px; letter-spacing: .25em; color: var(--gold); margin-bottom: 18px; font-weight: 400; }
.foot ul { list-style: none; display: grid; gap: 10px; color: var(--ink-soft); }
.foot a:hover { color: var(--gold); }
.copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13.5px; color: var(--ink-mute); padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center;
  background: rgba(4, 5, 12, .9); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transition: .5s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox video { max-height: 88vh; max-width: 92vw; aspect-ratio: 9/16; border-radius: 22px; box-shadow: 0 0 80px rgba(212,179,106,.3); transform: scale(.9); transition: transform .6s var(--ease); }
.lightbox.open video { transform: none; }
.lightbox video.wide { aspect-ratio: auto; width: min(92vw, 1100px); height: auto; }
.lightbox img { display: none; max-width: 92vw; max-height: 88vh; border-radius: 22px; box-shadow: 0 0 80px rgba(212,179,106,.3); }
.lightbox.is-img img { display: block; }
.lightbox.is-img video { display: none; }
.lightbox .x { position: absolute; top: 24px; right: 24px; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 22px; }

/* ---------- egér csillagpor ---------- */
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 900; pointer-events: none;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1px solid var(--gold); transition: width .3s, height .3s, margin .3s, background .3s, opacity .3s;
  mix-blend-mode: normal; opacity: 0;
}
.cursor-dot.big { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(212,179,106,.12); }
.stardust { position: fixed; z-index: 899; pointer-events: none; color: var(--gold-2); font-size: 12px; animation: dust 1s ease-out forwards; text-shadow: 0 0 8px var(--gold); }
@keyframes dust { to { transform: translate(var(--dx), var(--dy)) rotate(160deg) scale(.2); opacity: 0; } }

/* ---------- görgetéses megjelenés ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ==========================================================
   RESZPONZÍV
   ========================================================== */
@media (max-width: 1020px) {
  .nav-links, .nav .btn { display: none; }
  .burger { display: block; }
  body.menu-open .nav-links {
    display: flex; flex-direction: column; justify-content: center; gap: 26px;
    position: fixed; inset: 0; background: var(--bg); z-index: -1;
  }
  body.menu-open .nav-links a { font-size: 18px; }
}
@media (max-width: 1020px) {
  .hero .wrap, .about-grid, .magic-grid, .wand-grid, .contact-grid, .book-grid { grid-template-columns: 1fr; }
  .book-stage { max-width: 640px; width: 100%; margin-inline: auto; }
    .hero { text-align: center; }
  .hero-logo { margin-inline: auto; }
  .hero .lead { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .showcase { margin-top: 30px; margin-bottom: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .services { gap: 16px; }
  .services .svc ul { grid-template-columns: 1fr; }
  .services .svc-links { gap: 10px 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .steps::before { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
  .about-visual { max-width: 460px; width: 100%; margin-inline: auto; }
}
@media (max-width: 760px) {
  .services { grid-template-columns: 1fr; }
  .book-strip.trio { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
  .book-strip.trio .page { flex: 0 0 66vw; }
  .book-frame { width: 100%; }
  .book-panel .book-cover { width: 26%; bottom: 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .brand span { font-size: 22px; }
  .gallery { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 9/13; }
  .svc ul, .row2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step h4 { white-space: normal; font-size: 24px; }
  .themes { grid-template-columns: repeat(3, 1fr); }
  .foot { grid-template-columns: 1fr; }
  .phone-tag.t1 { left: -2%; } .phone-tag.t2 { right: -2%; }
        .book-stage .seal { width: 96px; height: 96px; }
  .book-stage .seal img { width: 56px; }
  .book-stage .seal text { font-size: 9px; }
  .strip-nav { display: none; }
  .book-cover { right: 0; width: 34%; }
  .page { aspect-ratio: 4/3; }
  .page figcaption { padding: 50px 18px 16px; }
  .book-play { right: 18px; top: 18px; width: 46px; height: 46px; }
  .invite .name { font-size: 46px; }
}
@media (hover: none) { .cursor-dot { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .phone-tag, }

/* példa-videó kártyák: a felirat a videó ALATT van, így semmit nem takar ki a könyvből */
.book-strip.trio .page {
  aspect-ratio: auto; overflow: visible; background: none; border: none; border-radius: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.book-strip.trio .page:hover { box-shadow: none; }
.book-strip.trio .page-media {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #000; transition: box-shadow .6s var(--ease);
}
.book-strip.trio .page:hover .page-media { box-shadow: var(--shadow), var(--glow); }
.book-strip.trio .page-media img, .book-strip.trio .page-media video { position: absolute; inset: 0; width: 100%; height: 100%; }
.book-strip.trio .page figcaption { position: static; padding: 0 4px; background: none; color: var(--ink); }
.book-strip.trio .page figcaption span { color: var(--ink-mute); opacity: 1; }

/* a lebegő borító a keret mellé kerül, hogy ne takarja a videóban látható könyvet */
.book-panel .book-cover { width: 21%; right: -6%; bottom: 3%; }
.book-panel .book-stage .seal { width: 100px; height: 100px; left: -3%; }
.book-panel .book-stage .seal img { width: 58px; }
/* a 16:9-es farmos kártyák kitöltik a 4:3-as helyet (csak a háttér széle vágódik le) */
.book-strip.trio .page.fill video { object-fit: cover; }
.book-strip.trio .page.fill img { filter: none; transform: none; }

/* a 16:9-es farmos fővideó is kitölti a 4:3-as keretet, mint a rókásnál */
.book-frame.fill video { object-fit: cover; }

/* a mesekönyv-videók nem kattinthatók: nincs nagyító kurzor, nincs kiemelés */
.book-frame, .book-strip.trio .page { cursor: default; }
.book-strip.trio .page:hover .page-media { box-shadow: none; }

/* termékfüggő extra mezők (mesekönyv: méret + borító, meghívó: formátum) */
.extra-opts[hidden] { display: none; }
.extra-opts { align-items: end; animation: panelIn .5s var(--ease); }
.extra-opts label { line-height: 1.5; }
.field select:invalid { color: var(--ink-mute); }

/* telefonszám keskenyebb, postázási cím szélesebb */
.ship-opts { grid-template-columns: 1fr 1.6fr; align-items: start; }
.field-note { font-style: italic; font-size: 13.5px; color: var(--ink-mute); margin-top: -2px; }
@media (max-width: 620px) { .ship-opts { grid-template-columns: 1fr; } }

/* kisebb hézag a mesekönyv 3 videója és a Varázstükör között, kisebb előtte–utána kép */
#mesekonyv { padding-bottom: clamp(40px, 5vw, 70px); }
#varazstukor { padding-top: clamp(40px, 5vw, 70px); }
.magic-grid .ba { width: min(100%, 460px); justify-self: center; }

/* a mező-szintű, termékfüggő elemek (pl. Gyerek kora) is rejthetők */
.field[hidden], .field select[hidden] { display: none; }

/* Rendelés (bal, űrlap) | Kapcsolat (jobb) */
#kapcsolat .contact-grid { grid-template-columns: 1.25fr .75fr; align-items: start; }
#kapcsolat .order-col .contact-card { margin-top: 34px; }
#kapcsolat .contact-col { position: sticky; top: 120px; }
#kapcsolat .contact-title { font-size: clamp(32px, 3vw, 46px); }
@media (max-width: 1020px) {
  #kapcsolat .contact-grid { grid-template-columns: 1fr; }
  #kapcsolat .contact-col { position: static; }
}

/* ---------- Rendelés: összeg, fizetés, fotófeltöltés ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.order-sum { display: grid; gap: 6px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); animation: panelIn .5s var(--ease); }
.order-sum[hidden] { display: none; }
.order-sum .os-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.order-sum .os-row span { font-family: var(--font-caps); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); }
.order-sum strong { font-family: var(--font-display); font-size: 30px; font-weight: 500; color: var(--gold-2); }
.order-sum small { font-size: 13.5px; color: var(--ink-mute); font-style: italic; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.submit-row .btn[disabled], .btn[disabled] { opacity: .6; pointer-events: none; }
.pay-note { flex: 1 1 220px; font-size: 13px; color: var(--ink-mute); }
.pay-note strong { color: var(--ink-soft); font-weight: 500; }
.pay-note[hidden] { display: none; }
.dropzone {
  position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; cursor: pointer;
  padding: 26px 20px; border-radius: 14px; border: 1.5px dashed var(--line); background: var(--surface);
  transition: border-color .3s, background .3s, box-shadow .3s; font-size: 15px; color: var(--ink-soft);
}
.dropzone:hover, .dropzone.over { border-color: var(--gold); background: var(--surface-2); box-shadow: 0 0 0 4px rgba(212,179,106,.12); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone .dz-ic { color: var(--gold); font-size: 22px; line-height: 1; }
.dropzone strong { color: var(--gold-2); font-weight: 500; }
.dropzone .dz-sub { font-size: 13px; color: var(--ink-mute); }
.dropzone.full { opacity: .55; pointer-events: none; }
.dropzone.invalid { border-color: #e0806f; }
.photo-opts.invalid .dropzone { border-color: #e0806f; }
.photo-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-list:empty { display: none; }
.photo-list li { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 1; }
.photo-list img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-list .ph-noprev { display: grid; place-items: center; height: 100%; color: var(--gold); font-family: var(--font-caps); letter-spacing: .15em; font-size: 13px; }
.photo-list .ph-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: 11.5px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-list .ph-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(8,10,24,.75); color: var(--ink); font-size: 13px; line-height: 26px; padding: 0; }
.photo-list .ph-x:hover { background: var(--gold); color: var(--btn-ink); }
.upload-progress { display: grid; gap: 6px; }
.upload-progress[hidden] { display: none; }
.up-bar { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.up-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); transition: width .2s; }
.up-txt { font-size: 13px; color: var(--ink-mute); }

/* ---------- rendeles.html: fizetés utáni oldal ---------- */
.order-page { min-height: 100vh; display: grid; align-content: start; justify-items: center; padding: clamp(28px, 6vw, 70px) 20px 60px; }
.order-page .op-brand { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(26px, 5vw, 50px); color: var(--ink); text-decoration: none;
  font-family: var(--font-caps); letter-spacing: .18em; font-size: 15px; }
.order-page .op-brand img { width: 44px; }
.order-page .contact-card { width: min(100%, 680px); }
.op-state { display: grid; gap: 18px; text-align: center; justify-items: center; }
.op-state[hidden] { display: none; }
.op-state h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 5vw, 46px); line-height: 1.1; margin: 0; }
.op-state h1 em { color: var(--gold-2); }
.op-state p { color: var(--ink-soft); margin: 0; max-width: 46ch; }
.op-ic { font-size: 34px; color: var(--gold); }
.op-spin { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--surface-2); border-top-color: var(--gold); animation: opspin 1s linear infinite; }
@keyframes opspin { to { transform: rotate(360deg); } }
.op-upload { display: grid; gap: 16px; text-align: left; width: 100%; margin-top: 8px; }
.op-upload[hidden] { display: none; }
.field .dropzone { font-family: var(--font-body); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink-soft); line-height: 1.5; }
.order-page [hidden] { display: none !important; }
