/* igazipillanatok.hu */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }

:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --ink: #1f1c19;
  --muted: #6b645c;
  --line: #ddd6cc;
  --accent: #8a6a4a;
  --accent-ink: #ffffff;
  --error: #a33a2c;
  --ok: #2f6b45;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --max-wide: 1600px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { width: 100%; max-width: calc(var(--max-wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: clamp(32px, 6vw, 72px); }
.section__title { text-align: center; margin-bottom: 1.2em; }

/* Fejléc */
.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px max(var(--gutter), calc((100% - var(--max-wide)) / 2)); background: var(--bg);
  transition: padding .35s ease, box-shadow .35s ease, color .35s ease; }
/* Tömör háttér görgetéskor: külön rétegen, hogy áttűnéssel jelenjen meg */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); opacity: 0; transition: opacity .35s ease; }
.is-scrolled .site-header { padding-block: 12px; box-shadow: 0 1px 0 var(--line), 0 8px 28px rgba(31,28,25,.06); }
.site-header--overlay { position: fixed; inset: 0 0 auto 0; color: #fff; background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0)); }
.is-scrolled .site-header--overlay { color: var(--ink); }
.is-scrolled .site-header::before { opacity: 1; }
.logo { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; text-decoration: none; letter-spacing: .02em; white-space: nowrap; transition: font-size .35s ease; }
.is-scrolled .site-header .logo { font-size: 1.5rem; }
body:not(.is-scrolled) .site-header--overlay .logo:hover, body:not(.is-scrolled) .site-header--overlay a:hover { color: #fff; opacity: .8; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; padding-block: 6px; position: relative; }
.site-nav ul:not(.lang) a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.site-header--overlay .site-nav ul:not(.lang) a::after { background: currentColor; }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.site-nav .lang a { opacity: .75; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; } .nav-toggle__bars::after { top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; z-index: 2; }
  .site-nav { position: fixed; inset: 0; background: var(--bg); color: var(--ink); flex-direction: column; justify-content: center; gap: 32px;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 18px; }
  .site-nav a { font-size: 1rem; }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .nav-open .site-header--overlay { color: var(--ink); background: none; }
  .nav-open .site-header { box-shadow: none; }
  .nav-open { overflow: hidden; }
  .logo { font-size: 1.45rem; }
}

/* Kezdőlap slideshow */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 480px; background: #111; color: #fff; overflow: hidden; }
.hero__slider, .hero .swiper-wrapper, .hero .swiper-slide, .hero .swiper-slide > a { height: 100%; }
.hero .swiper-slide { background: #111; overflow: hidden; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
/* Lassú ráközelítés („Ken Burns”) az éppen látható képen; váltakozó irányból */
@keyframes nr-kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
/* a kimenő dia (is-leaving) az áttűnés végéig folytatja a mozgást, így nem ugrik vissza látható állapotban */
.hero .swiper-slide-active .hero__img, .hero .swiper-slide.is-leaving .hero__img { animation: nr-kenburns var(--kb-duration, 7.5s) linear forwards; }
.hero .swiper-slide { will-change: opacity; }
.hero .swiper-fade .swiper-slide { transition-timing-function: ease-in-out; }
.hero .swiper-slide:nth-child(3n+1) .hero__img { transform-origin: 30% 40%; }
.hero .swiper-slide:nth-child(3n+2) .hero__img { transform-origin: 70% 60%; }
.hero .swiper-slide:nth-child(3n) .hero__img { transform-origin: 50% 30%; }
.hero__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 120px var(--gutter) clamp(96px, 13vh, 132px); pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0)); text-align: center; }
.hero__tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.2; margin: 0 auto; max-width: 18em; text-shadow: 0 1px 16px rgba(0,0,0,.35); }
.hero__button { pointer-events: auto; margin-top: clamp(20px, 3vh, 32px); }
@keyframes nr-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__tagline { animation: nr-rise 1.4s .3s cubic-bezier(.2,.7,.2,1) both; }
.hero__button { animation: nr-rise 1.4s .8s cubic-bezier(.2,.7,.2,1) both; }
/* Görgetésjelző: vékony vonal, rajta lefelé futó fénypont */
.hero__scroll { position: absolute; z-index: 6; left: 50%; bottom: 22px; width: 24px; height: 52px; margin-left: -12px; color: #fff; animation: nr-rise 1.4s 1.3s both; }
.hero__scroll::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.35); }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 16px; background: #fff; animation: nr-scroll 2.2s 2s ease-in-out infinite; }
@keyframes nr-scroll { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(36px); opacity: 0; } }
.hero__scroll:hover::before { background: rgba(255,255,255,.7); }
.hero .swiper-pagination { left: auto !important; right: var(--gutter); bottom: 28px !important; width: auto !important; z-index: 6; }
.hero .swiper-pagination-bullet { background: #fff; opacity: .45; width: 6px; height: 6px; transition: opacity .3s, transform .3s; }
.hero .swiper-pagination-bullet-active { opacity: 1; transform: scale(1.35); }
.hero .swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }
@media (max-width: 640px) { .hero .swiper-pagination { display: none; } }

.intro { text-align: center; padding-block: clamp(56px, 9vw, 112px) 0; max-width: 820px; scroll-margin-top: 60px; }
.ornament { display: block; width: 56px; height: 1px; background: var(--accent); margin: .4em auto 1.6em; }
.section__title::after { content: ""; display: block; width: 40px; height: 1px; background: var(--accent); margin: .55em auto 0; }
.section__more { text-align: center; margin: clamp(28px, 4vw, 44px) 0 0; }
.link-arrow { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--accent); }
.link-arrow::after { content: "→"; display: inline-block; margin-left: .6em; transition: transform .3s ease; }
.link-arrow:hover::after { transform: translateX(5px); }

/* Görgetésre beúszó elemek (csak ha fut a JavaScript, és nincsenek kikapcsolva az animációk) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .mosaic > .reveal:nth-child(2), .js .album-grid > .reveal:nth-child(3n+2) { transition-delay: .12s; }
.js .mosaic > .reveal:nth-child(3), .js .album-grid > .reveal:nth-child(3n) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .hero__tagline, .hero__button, .hero__scroll, .album-hero__caption { animation: none; }
  .hero .swiper-slide .hero__img { animation: none !important; }
  .hero__scroll::after { display: none; }
}
.intro .prose { color: var(--muted); font-size: 1.08rem; }
.intro .prose p { text-align: center; }

/* Galéria-kártyák */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.album-card { text-decoration: none; display: block; }
.album-card figure { margin: 0; }
.album-card__media { overflow: hidden; background: var(--line); }
.album-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1), opacity .8s ease; }
.album-card:hover img { transform: scale(1.06); }
.album-card:hover .album-card__title { color: var(--accent); }
.album-card__title { transition: color .3s; }
.album-card figcaption { padding-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.album-card__title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.album-card__meta { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.album-card.is-hidden { display: none; }

/* Kezdőlapi mozaik: egy nagy és több kisebb galéria, a cím a képre úszik */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.mosaic > * { grid-column: span 4; }
.mosaic > .album-card--lead { grid-column: span 7; grid-row: span 2; }
.mosaic > :nth-child(2), .mosaic > :nth-child(3) { grid-column: span 5; }
.mosaic--1 > .album-card--lead { grid-column: 1 / -1; grid-row: auto; }
.mosaic--1 .album-card--lead .album-card__media { aspect-ratio: 21/9; }
.mosaic--2 > * { grid-column: span 6 !important; grid-row: auto !important; }
.mosaic--2 .album-card__media { aspect-ratio: 4/3; }
.mosaic--4 > :nth-child(4) { grid-column: 1 / -1; }
.mosaic--4 > :nth-child(4) .album-card__media { aspect-ratio: 3/1; }
.mosaic--5 > :nth-child(n+4) { grid-column: span 6; }
.album-card--overlay, .album-card--overlay figure, .album-card--overlay .album-card__media { height: 100%; }
.album-card--overlay figure { position: relative; overflow: hidden; }
.album-card--overlay .album-card__media { position: relative; }
.album-card--overlay img { aspect-ratio: auto; height: 100%; }
.album-card--lead .album-card__media { min-height: 320px; }
.album-card--lead img { position: absolute; inset: 0; }
.mosaic--2 img, .mosaic--4 > :nth-child(4) img, .mosaic--1 img { position: absolute; inset: 0; }
.album-card--overlay figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 72px clamp(18px, 2.4vw, 32px) clamp(16px, 2vw, 26px); color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0)); transition: padding .5s ease; }
.album-card--overlay .album-card__title { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.album-card--lead .album-card__title { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.album-card--overlay .album-card__meta { color: rgba(255,255,255,.85); }
.album-card--overlay .album-card__title::after { content: ""; display: block; width: 0; height: 1px; background: currentColor; margin-top: 10px; transition: width .6s ease; }
.album-card--overlay:hover .album-card__title { color: #fff; }
.album-card--overlay:hover .album-card__title::after { width: 56px; }
.album-card--overlay:hover figcaption { padding-bottom: clamp(22px, 2.6vw, 34px); }
@media (max-width: 760px) {
  .mosaic > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .mosaic .album-card__media { aspect-ratio: 4/3 !important; min-height: 0; }
  .mosaic img { position: absolute; inset: 0; }
}

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filter { font: inherit; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; background: none; border: 1px solid var(--line); padding: 8px 16px; cursor: pointer; color: var(--ink); border-radius: 99px; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }

/* Oldalfejek, szöveg */
.page-head { padding-top: clamp(24px, 5vw, 56px); text-align: center; max-width: 860px; margin-inline: auto; }
.page-head .lead { color: var(--muted); font-size: 1.08rem; }
.breadcrumb { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.5em; }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.album__meta { color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1.25rem; }
.page { max-width: 860px; padding-bottom: clamp(40px, 6vw, 80px); }
.page__image { margin: 0 0 2em; }
.about__image { border-radius: 999px 999px 0 0; overflow: hidden; }
.about__image img { width: 100%; transition: opacity .9s ease; }
@media (min-width: 900px) {
  .about--split { max-width: calc(var(--max) + 2 * var(--gutter)); }
  .about--split .about__body { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .about--split .about__image { position: sticky; top: 110px; margin: 0; }
}
@media (max-width: 899px) { .about__image { max-width: 420px; margin-inline: auto; } }
.prose { font-size: 1.05rem; }
.prose p, .prose li { text-align: justify; hyphens: auto; }
.prose h2 { margin-top: 1.4em; }
.prose a { color: var(--accent); }
.prose ul { padding-left: 1.2em; }
.prose img { margin: 2em 0; }

/* Galéria: oszlopos (masonry) elrendezés */
.gallery { columns: 3 340px; column-gap: 12px; padding-bottom: clamp(40px, 6vw, 80px); }
.gallery__item { display: block; margin-bottom: 12px; break-inside: avoid; background: var(--line); aspect-ratio: var(--ratio); }
.gallery__item { overflow: hidden; cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.gallery__item:hover img { transform: scale(1.03); }
/* Betöltés közben a kép saját színe látszik, a kép pedig lágyan előtűnik */
/* Csak a még be nem töltött képeket rejti el a JavaScript (nr-fade osztály), így ha a szkript nem fut le, a képek akkor is látszanak */
img.nr-fade { opacity: 0; transition: opacity .8s ease; }
img.nr-fade.is-loaded { opacity: 1; }

/* Galéria nyitóképe */
.album-hero { position: relative; height: 82vh; height: 82svh; min-height: 440px; overflow: hidden; color: #fff; background: #222;
  display: flex; align-items: flex-end; justify-content: center; text-align: center; }
.album-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.2s ease; }
.album-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.1) 45%, rgba(0,0,0,.25) 100%); }
.album-hero__caption { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(48px, 8vh, 88px); max-width: 980px; animation: nr-rise 1.4s .3s cubic-bezier(.2,.7,.2,1) both; }
.album-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin-bottom: .2em; text-shadow: 0 1px 18px rgba(0,0,0,.3); }
.album-hero .breadcrumb a { color: rgba(255,255,255,.85); }
.album-hero .breadcrumb a:hover { color: #fff; }
.album-hero .album__meta { color: rgba(255,255,255,.9); margin: 0; }
.album__lead { padding-bottom: clamp(8px, 2vw, 24px); }
.album__lead .prose p { text-align: center; }
.album-hero + .gallery, .album-hero + .videos { padding-top: clamp(28px, 4vw, 56px); }
.album__lead + .gallery { padding-top: clamp(16px, 3vw, 40px); }

/* Videók */
.videos { display: grid; gap: 32px; max-width: 1000px; padding-bottom: 8px; }
.video { margin: 0; }
.video__frame { position: relative; background: #000; width: 100%; }
.video__frame iframe, .video__play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { padding: 0; cursor: pointer; background: #000; }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.video__play:hover img { opacity: 1; }
.video__icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(0,0,0,.55); border: 1.5px solid rgba(255,255,255,.85); }
.video__icon::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.video figcaption { font-family: var(--serif); font-size: 1.25rem; padding-top: 10px; }
.note { font-size: .82rem; color: var(--muted); }

/* CTA */
.cta { text-align: center; padding: clamp(56px, 9vw, 110px) var(--gutter); background: var(--surface); border-top: 1px solid var(--line); }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 1.6em; }
.cta--image { position: relative; overflow: hidden; color: #fff; background: #1f1c19; border-top: 0; padding-block: clamp(110px, 16vw, 200px); }
.cta__bg { position: absolute; inset: 0; }
.cta__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); will-change: transform; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(20,16,12,.45), rgba(20,16,12,.7)); }
.cta__inner { position: relative; z-index: 1; }
.cta--image h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); text-shadow: 0 1px 18px rgba(0,0,0,.3); }
.cta--image p { color: rgba(255,255,255,.88); font-size: 1.08rem; }
.button { display: inline-block; font: inherit; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); padding: 15px 30px; border-radius: var(--radius); transition: background .2s, color .2s; }
.button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.button--light { background: #fff; color: var(--ink); border-color: #fff; }
.button--light:hover { background: transparent; border-color: #fff; color: #fff; }
.button--ghost { background: rgba(0,0,0,.08); color: #fff; border-color: rgba(255,255,255,.85); }
.button--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Visszajelzések */
.testimonials { padding-block: clamp(64px, 10vw, 128px); border-top: 1px solid var(--line); }
.testimonials__slider { max-width: 1040px; margin: 0 auto; overflow: hidden; }
.testimonials .testimonial { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; margin: 0; background: var(--bg); }
.testimonials .testimonial--text { grid-template-columns: 1fr; text-align: center; }
.testimonial--text .testimonial__body { max-width: 780px; margin-inline: auto; }
.testimonial__media { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 4/5; }
.testimonial__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease; }
.testimonial__quote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.38; }
.testimonial__quote::before { content: "“"; display: block; font-style: normal; font-size: 5.5rem; line-height: .7; height: .45em; color: var(--accent); }
.testimonial__names { margin-top: 1.6em; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; }
.testimonial__names span { display: block; margin-top: 4px; color: var(--muted); letter-spacing: .1em; }
/* Váltáskor a régi idézet azonnal eltűnik, az új lágyan előtűnik: a két szöveg sosem látszik egymáson */
.testimonials .swiper-slide:not(.swiper-slide-active) { visibility: hidden; }
.testimonials .swiper-pagination { position: static; margin-top: 36px; text-align: center; }
.testimonials .swiper-pagination-bullet { background: var(--accent); }
@media (max-width: 760px) {
  .testimonials .testimonial { grid-template-columns: 1fr; text-align: center; }
  .testimonial__media { width: min(240px, 70%); margin: 0 auto; }
}

/* Űrlap */
.form { display: grid; gap: 20px; margin-top: 32px; text-align: left; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field__hint { font-size: .88rem; color: var(--muted); margin: -2px 0 8px; }
.field__error { color: var(--error); font-size: .9rem; margin: 6px 0 0; }
.has-error input, .has-error textarea { border-color: var(--error); }
.field--check label { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: .95rem; }
.field--check input { width: 18px; height: 18px; margin-top: 4px; flex: none; }
.form .button { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-left: 3px solid; background: var(--surface); margin-top: 24px; }
.alert--success { border-color: var(--ok); }
.alert--error { border-color: var(--error); }
.contact__direct { margin-top: 32px; color: var(--muted); }
.contact__direct a { color: var(--ink); }

/* Lábléc */
.site-footer { border-top: 1px solid var(--line); padding: 40px var(--gutter); font-size: .9rem; color: var(--muted); }
.site-footer__inner { max-width: var(--max-wide); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer .logo { color: var(--ink); font-size: 1.4rem; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; }
.social a, .copy a { text-decoration: none; }
.copy { margin: 0; }

.error-page { text-align: center; padding-block: 15vh; }

/* PhotoSwipe képaláírás */
.pswp__caption { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: #fff; font-family: var(--serif); font-size: 1.15rem; padding: 0 60px; }

@media (prefers-reduced-motion: reduce) { *:not(.swiper-slide):not(.swiper-wrapper) { transition: none !important; scroll-behavior: auto !important; } }

/* GYIK */
.faq { margin-top: 1em; }
.faq__item { border-bottom: 1px solid var(--line, rgba(0,0,0,.12)); }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.1em 2em 1.1em 0; position: relative; font-family: var(--serif, inherit); font-size: 1.25rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: .2em; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); }
.faq__item[open] summary::after { content: "–"; }
.faq__item .prose { padding: 0 0 1.2em; }


/* Oldalváltás: lágy áttűnés, a galéria borítóképe a kártyáról a galéria nyitóképére „repül”
   (Chrome, Edge, Safari 18+; a többi böngészőben a szokásos oldalváltás marad) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(root) { animation-duration: .45s; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-group(*) { animation-duration: .6s; animation-timing-function: cubic-bezier(.3,.7,.2,1); }
  ::view-transition-old(*), ::view-transition-new(*) { height: 100%; object-fit: cover; overflow: clip; }
}

/* Számok */
.stats { padding-top: clamp(40px, 6vw, 72px); }
.stats__list { list-style: none; margin: 0 auto; padding: clamp(24px, 3vw, 36px) 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px clamp(32px, 6vw, 96px); max-width: 980px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.stats__item { flex: 0 1 200px; align-items: center; }
.stats__item { display: flex; flex-direction: column; gap: 4px; }
.stats__value { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--accent); font-variant-numeric: lining-nums tabular-nums; }
.stats__label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Így dolgozunk */
.steps { padding-block: clamp(64px, 9vw, 112px); background: var(--surface); border-top: 1px solid var(--line); }
.steps__list { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: clamp(32px, 4vw, 56px); max-width: 1080px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps__item { position: relative; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; }
.steps__item::before { content: ""; position: absolute; left: 50%; margin-left: -24px; top: -1px; width: 48px; height: 1px; background: var(--accent); }
.steps__number { display: block; font-family: var(--serif); font-style: italic; font-size: 3rem; line-height: 1; color: var(--accent); margin-bottom: 14px; }
.steps__title { font-size: 1.6rem; margin-bottom: .35em; }
.steps__text { color: var(--muted); margin: 0 auto; max-width: 32em; }
.js .steps__list > .reveal:nth-child(2), .js .stats__list > .reveal:nth-child(2) { transition-delay: .12s; }
.js .steps__list > .reveal:nth-child(3), .js .stats__list > .reveal:nth-child(3) { transition-delay: .24s; }
.js .steps__list > .reveal:nth-child(4), .js .stats__list > .reveal:nth-child(4) { transition-delay: .36s; }

/* Következő galéria */
.next-album { position: relative; display: flex; align-items: flex-end; min-height: clamp(320px, 62vh, 620px); overflow: hidden; color: #fff; text-decoration: none; }
.next-album:hover { color: #fff; }
.next-album__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.next-album:hover .next-album__img { transform: scale(1.04); }
.next-album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.05) 60%); }
.next-album__caption { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: calc(var(--max-wide) + 2 * var(--gutter)); margin: 0 auto;
  padding: 0 var(--gutter) clamp(36px, 6vh, 64px); }
.next-album__label { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; opacity: .9; }
.next-album__label::after { content: "→"; display: inline-block; margin-left: .7em; transition: transform .35s ease; }
.next-album:hover .next-album__label::after { transform: translateX(6px); }
.next-album__title { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; }
.next-album__meta { font-family: var(--serif); font-style: italic; font-size: 1.2rem; opacity: .9; }

/* Filmszalag */
.filmstrip { overflow: hidden; padding-block: 10px; background: var(--bg); }
.filmstrip__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; width: max-content; animation: nr-filmstrip var(--filmstrip-duration, 90s) linear infinite; }
.filmstrip:hover .filmstrip__track { animation-play-state: paused; }
.filmstrip__item { display: block; height: clamp(170px, 22vw, 260px); overflow: hidden; }
.filmstrip__item img { height: 100%; width: auto; transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.filmstrip__item:hover img { transform: scale(1.05); }
.filmstrip:hover .filmstrip__item img { opacity: .75; }
.filmstrip:hover .filmstrip__item:hover img { opacity: 1; }
@keyframes nr-filmstrip { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 5px)); } }
@media (prefers-reduced-motion: reduce) {
  .filmstrip { overflow-x: auto; }
  .filmstrip__track { animation: none; }
  .filmstrip__track > li:nth-child(n) a[aria-hidden] { display: none; }
}
@media (max-width: 640px) {
  .stats__list { gap: 20px 12px; }
  .stats__list--3 .stats__item { flex-basis: 30%; }
  .stats__list--4 .stats__item { flex-basis: 45%; }
  .stats__value { font-size: 2.3rem; }
  .stats__label { font-size: .7rem; letter-spacing: .1em; }
}

/* Ajánlatkérő sáv: dátumválasztó */
.cta__date { max-width: 460px; margin: 0 auto; }
.cta__date label { display: block; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.cta__date-row { display: flex; gap: 10px; }
.cta__date input { flex: 1; min-width: 0; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.cta__date .button { flex: none; }
.cta__alt { margin: 18px auto 0 !important; font-size: .95rem; }
.cta--image .cta__alt a { color: #fff; }
@media (max-width: 480px) { .cta__date-row { flex-direction: column; } }

/* Ajánlatkérő oldal: űrlap + közvetlen elérhetőségek */
.contact { max-width: 1120px; }
.contact__layout { display: grid; gap: clamp(32px, 5vw, 64px); margin-top: 24px; }
@media (min-width: 980px) { .contact__layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } .contact__aside { position: sticky; top: 110px; } }
.form__intro h2 { margin-bottom: .25em; }
.form__intro p { color: var(--muted); margin: 0; }
.contact__aside { background: var(--surface); border: 1px solid var(--line); padding: 28px; margin-top: 32px; }
.contact__aside-title { font-size: 1.5rem; }
.contact-links { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.contact-links__item { display: flex; gap: 14px; align-items: center; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-links li:last-child .contact-links__item { border-bottom: 0; }
.contact-links__icon { width: 36px; height: 36px; padding: 8px; flex: none; border-radius: 50%; background: var(--bg); color: var(--accent); transition: background .2s, color .2s; }
.contact-links__item:hover .contact-links__icon { background: var(--accent); color: #fff; }
.contact-links__label { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-links__value { display: block; word-break: break-word; }
.contact__response { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ok); font-size: .95rem; }
.contact__response::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 10px; vertical-align: middle; box-shadow: 0 0 0 4px rgba(47,107,69,.15); }

/* Köszönőoldal */
.thanks { text-align: center; max-width: 680px; margin: 0 auto; padding-block: clamp(48px, 9vw, 110px); }
.thanks__lead { font-size: 1.12rem; color: var(--muted); }
.thanks__next { font-size: 1.5rem; margin-top: 1.8em; }
.thanks__steps { list-style: none; counter-reset: step; margin: 0 auto 2.2em; padding: 0; text-align: left; display: grid; gap: 14px; max-width: 520px; }
.thanks__steps li { counter-increment: step; display: flex; gap: 16px; align-items: baseline; background: var(--surface); border: 1px solid var(--line); padding: 14px 18px; }
.thanks__steps li::before { content: counter(step); font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--accent); flex: none; }

/* Mobilon alul megjelenő ajánlatkérő sáv */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(246,243,238,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .35s ease; }
  .show-mobile-cta .mobile-cta { transform: none; }
  .mobile-cta__button { flex: 1; text-align: center; padding-block: 13px; }
  .mobile-cta__call { flex: none; width: 50px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: var(--radius); color: var(--ink); }
  .mobile-cta__call svg { width: 22px; height: 22px; }
}

/* Háttérzene: kerek gomb a jobb alsó sarokban, mellette lejátszás közben LED-csík-szerű hangszintjelző,
   fölötte összecsukható vezérlősáv. Mobilon a feltűnő ajánlatkérő sáv fölé lép. */
.music { --led-on: #e2bb84; --led-hot: #f7e6c8; --led-off: rgba(255,255,255,.08); --music-bg: rgba(31,28,25,.86); --music-ink: #f1e4cf;
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 55;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; transition: transform .35s ease; }
.music-row { display: flex; align-items: center; gap: 8px; }
.music-row > *, .music.is-open .music-bar { pointer-events: auto; }

/* LED-kapszula (gombként is működik: kinyitja/becsukja a vezérlősávot) */
.music-ledbtn { padding: 0; border: 0; background: none; border-radius: 23px; cursor: pointer; color: inherit;
  opacity: 0; visibility: hidden; transform: translateX(8px) scale(.96); transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s; }
.music.is-led-on .music-ledbtn, .music.is-open .music-ledbtn { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.music-ledbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.music-led { display: block; width: 76px; height: 46px; border-radius: 23px; background: var(--music-bg);
  box-shadow: 0 4px 18px rgba(31,28,25,.18), inset 0 0 0 1px rgba(226,187,132,.14); }

/* Kerek fő gomb */
.music-toggle { flex: none; width: 46px; height: 46px; padding: 0; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: rgba(246,243,238,.9); color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(31,28,25,.12); opacity: .82; transition: opacity .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease; }
.music-toggle:hover, .music-toggle:focus-visible { opacity: 1; }
.music-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.music svg { display: block; width: 20px; height: 20px; }
.music-toggle__pause { display: none; }
.music-toggle.is-playing { opacity: 1; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.music-toggle.is-playing .music-toggle__note { display: none; }
.music-toggle.is-playing .music-toggle__pause { display: block; }
.music.is-blocked .music-toggle { opacity: 1; border-color: var(--accent); color: var(--accent); }

/* Vezérlősáv */
.music-bar { width: 318px; max-width: calc(100vw - 28px); box-sizing: border-box; padding: 9px 8px 6px 14px; border-radius: 18px;
  background: var(--music-bg); color: var(--music-ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(31,28,25,.22), inset 0 0 0 1px rgba(226,187,132,.14);
  opacity: 0; visibility: hidden; transform: translateY(10px); transform-origin: bottom right;
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
.music.is-open .music-bar { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.music-bar__title { display: flex; align-items: baseline; gap: 8px; margin: 0 6px 2px 0; font-size: .8rem; line-height: 1.35; min-width: 0; }
.music-bar__now { flex: none; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--led-on); }
.music-bar__marquee { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.music-bar__name { display: inline-block; }
.music-bar__marquee.is-long { text-overflow: clip; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.music-bar__marquee.is-long .music-bar__name { animation: music-marquee var(--dur, 10s) ease-in-out 1.5s infinite alternate; }
@keyframes music-marquee { 0%, 12% { transform: none; } 88%, 100% { transform: translateX(var(--shift, 0)); } }
.music-bar__controls { display: flex; align-items: center; gap: 0; }
.music-btn { flex: none; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--music-ink); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.music-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.music-btn:focus-visible, .music-vol:focus-visible { outline: 2px solid var(--led-on); outline-offset: 1px; }
.music-play { width: 42px; height: 42px; margin: 0 2px; background: var(--led-on); color: #1f1c19; }
.music-play:hover { background: var(--led-hot); color: #1f1c19; }
.music-ico-pause, .music-play.is-playing .music-ico-play, .music-ico-mute, .music-mute.is-muted .music-ico-vol { display: none; }
.music-play.is-playing .music-ico-pause, .music-mute.is-muted .music-ico-mute { display: block; }
.music-mute.is-muted { color: var(--led-on); }
.music-close svg { width: 18px; height: 18px; }
.music-bar__sep { flex: none; width: 1px; height: 22px; margin: 0 4px; background: rgba(255,255,255,.14); }
.music-vol { flex: 1; min-width: 56px; height: 40px; margin: 0 4px; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.music-vol::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--led-on) var(--fill, 40%), rgba(255,255,255,.18) var(--fill, 40%)); }
.music-vol::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); }
.music-vol::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--led-on); }
.music-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: var(--led-hot); border: 0; box-shadow: 0 0 6px rgba(226,187,132,.6); }
.music-vol::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--led-hot); border: 0; box-shadow: 0 0 6px rgba(226,187,132,.6); }

@media (max-width: 760px) {
  .music { right: 14px; }
  .show-mobile-cta .music { transform: translateY(calc(-68px - env(safe-area-inset-bottom))); }
  .music-led { width: 66px; height: 40px; }
  .music-toggle { width: 44px; height: 44px; }
  .music-btn { width: 44px; height: 44px; }
  .music-play { width: 44px; height: 44px; }
  .music-bar { padding-left: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .music.is-blocked .music-toggle { animation: music-pulse 1.8s ease-in-out infinite; }
}
@keyframes music-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(138,106,74,.45); } 70% { box-shadow: 0 0 0 12px rgba(138,106,74,0); } }
/* a lap legalján a lejátszó ne takarja a lábléc szövegét (pl. az adatkezelési linket) */
body:has(.music) .site-footer { padding-bottom: 76px; }
body:has(.music.is-open) .site-footer { padding-bottom: 170px; }
@media print { .music { display: none; } }