/* ==========================================================
   PANNIPIX — stíluslap
   Színek: háttér + űrlap színe a vázlat (IMG_2681) alapján
   ========================================================== */
:root {
  --bg: #fbfaf8;          /* háttérszín */
  --form: #f6f5f3;        /* űrlap színe */
  --card: #ffffff;
  --ink: #141414;
  --ink-soft: #3a3836;
  --muted: #8a8580;
  --line: #e7e4e0;
  --accent: #141414;

  /* "Szebbik" írás: NT Seawave (fonts/ mappába kell tenni, lásd lent). Amíg nincs ott, Italiana helyettesíti. */
  --f-display: "NT Seawave", "Italiana", "Didot", serif;
  --f-serif: "NT Seawave", "Bodoni Moda", "Didot", Georgia, serif;
  /* Sima szöveg: Avenir Next (Apple eszközökön beépített), máshol Nunito Sans */
  --f-sans: "Avenir Next", "Avenir", "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --track: .06em;         /* 5–10%-os betűritkítás a sima szövegen */

  --gutter: clamp(16px, 5vw, 40px);
  --radius: 4px;
  --header-h: 64px;
}

/* NT Seawave by Artem Nevsky — a licencelt fájlt tedd a site/fonts/ mappába ezzel a névvel */
@font-face {
  font-family: "NT Seawave";
  src: local("NT Seawave"), local("NTSeawave-Regular"),
       url("fonts/NTSeawave-Regular.woff2") format("woff2"),
       url("fonts/NTSeawave-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: var(--track);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }

.eyebrow {
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .01em;
  margin: 0;
}

.center { text-align: center; }

/* ---------- Fejléc ---------- */
.display, .d-title, .timeline h3, .style-item h3, .tab, .choice label,
.d-specs .v, .signature, .menu a, .d-price, .step-no, .faq summary { letter-spacing: .01em; }

/* A fejléc a hero fölött átlátszó (fehér logó), görgetéskor fehér hátterűre vált */
body { padding-top: var(--header-h); }
body.has-hero { padding-top: 0; }
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: background .45s ease, border-color .45s ease;
}
.header .logo-light { display: none; }
.has-hero .header:not(.scrolled) { background: transparent; border-bottom-color: transparent; }
.has-hero .header:not(.scrolled) .logo-dark { display: none; }
.has-hero .header:not(.scrolled) .logo-light { display: block; }
.has-hero .header:not(.scrolled) .icon-btn svg { stroke: #fff; }
.header .wrap {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.header .logo { grid-column: 2; }
.header .logo img { height: 22px; width: auto; }
.header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-btn { display: grid; place-items: center; width: 32px; height: 32px; }
.icon-btn svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.3; transition: stroke .45s; }

/* Menü */
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.menu.open { opacity: 1; visibility: visible; }
.menu a {
  font-family: var(--f-display);
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1.1;
}
.menu a small {
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: .2em;
  vertical-align: middle;
  color: var(--muted);
}
.menu .close { position: absolute; top: 16px; right: var(--gutter); }
.menu .menu-logo { position: absolute; top: 21px; left: 50%; transform: translateX(-50%); height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  max-height: 980px;
  overflow: hidden;
}
.hero img.bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}
/* Nyitókép-montázs: telefonon a tetoválós és a mosolygós kép, gépen mind a négy egymás mellett */
.hero img.bg { display: none; }
.hero-collage {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  background: var(--bg);
}
.hero-collage img { width: 100%; height: 100%; object-fit: cover; min-width: 0; min-height: 0; }
.hero-collage .desktop-only { display: none; }
.hero-collage .m1 { object-position: 50% 0; order: 2; }   /* telefonon jobbra: arc, gép és kar */
@media (min-aspect-ratio: 1/1) {
  .hero-collage { grid-template-columns: repeat(4, 1fr); }
  .hero-collage .desktop-only { display: block; }
  .hero-collage .m1 { object-position: 75% 10%; order: 0; }
}
body .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.32) 0, rgba(0,0,0,.10) 18%, rgba(0,0,0,.16) 45%, rgba(0,0,0,.24) 60%, rgba(0,0,0,.08) 85%); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0, rgba(0,0,0,0) 14%, rgba(0,0,0,0) 30%, rgba(0,0,0,.12) 55%, rgba(0,0,0,0) 80%);
}
.hero-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 12%;
  color: #fff;
}
.hero-inner img { width: min(560px, 76vw); filter: drop-shadow(0 2px 16px rgba(0,0,0,.18)); }
.tags {
  display: flex;
  gap: clamp(16px, 5vw, 44px);
  justify-content: center;
  flex-wrap: wrap;
  font-size: clamp(11px, 2.6vw, 14px);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 400;
}
.hero .tags { margin-top: 18px; text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.btn-hero {
  margin-top: clamp(28px, 5vw, 44px);
  min-width: min(300px, 78vw);
  color: #fff;
  border: 1px solid rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn-hero:hover { background: #fff; color: var(--ink); }

/* ---------- Szekciók ---------- */
section { position: relative; }
.section { padding: clamp(64px, 10vw, 120px) 0; }

/* ---------- Flash minták ---------- */
.flash-head { text-align: center; margin-bottom: clamp(40px, 7vw, 72px); }
.flash-head .display { font-size: clamp(26px, 5.4vw, 44px); margin-top: 14px; }

.series { margin-bottom: clamp(56px, 9vw, 96px); }
.series:last-child { margin-bottom: 0; }
.series-head { text-align: center; max-width: 620px; margin: 0 auto 28px; }
.series-head .display { font-size: clamp(24px, 4.8vw, 38px); }
.series-code {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}
.series-desc {
  margin: 10px auto 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* Húzható sor */
.rail-wrap { position: relative; }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 14px) / 3);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 0 8px;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.fits { justify-content: center; cursor: default; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging * { pointer-events: none; }
@media (min-width: 900px) {
  .rail { grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; }
}

.rail-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.rail-dots { display: flex; gap: 6px; }
.rail-dots span {
  width: 18px; height: 1px; background: var(--line);
  transition: background .3s, width .3s;
}
.rail-dots span.on { background: var(--ink); width: 28px; }
.rail-arrow { width: 30px; height: 30px; display: grid; place-items: center; opacity: .6; transition: opacity .2s; }
.rail-arrow:hover { opacity: 1; }
.rail-arrow svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.3; }
.rail-arrow[disabled] { opacity: .15; cursor: default; }

.card { scroll-snap-align: start; min-width: 0; }
.card-media {
  position: relative;
  background: var(--card);
  aspect-ratio: 4 / 5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.card-media img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-media .open-detail { position: absolute; inset: 0; }
.card-icons {
  position: absolute;
  top: 8px; right: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.card-icons button { width: 30px; height: 30px; display: grid; place-items: center; }
.card-icons svg { width: 20px; height: 20px; stroke: #7a7672; fill: none; stroke-width: 1.4; transition: fill .2s, stroke .2s, transform .2s; }
.fav.on svg { fill: var(--ink); stroke: var(--ink); }
.fav:active svg { transform: scale(.85); }

/* Név: vékony, klasszikus antikva (IMG_3583 mintájára); ár: sima betű (IMG_3582 mintájára) */
.card-name {
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-weight: 400;
  font-size: clamp(17px, 4.2vw, 26px);
  line-height: 1.25;
  margin: 14px 0 4px;
}
.card-price {
  display: block;
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: clamp(13px, 3.2vw, 17px);
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.btn-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 7px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: clamp(11px, 2.8vw, 14px);
  font-weight: 400;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost svg { width: 14px; height: 14px; stroke: var(--ink); fill: none; stroke-width: 1.5; flex: none; }

/* Tablet kép a sorozatok között */
.interlude { margin: clamp(56px, 9vw, 96px) auto; max-width: 820px; }
.interlude img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; filter: grayscale(1); }

/* ---------- A te történeted / egyedi terv ---------- */
.story { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; } }
.story-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 4.2;
  overflow: hidden;
  color: #fff;
}
@media (min-width: 900px) { .story-tile { aspect-ratio: 4 / 5; } }
.story-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.story-tile:hover img { transform: scale(1.04); }
.story-tile::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.14);
  transition: background .4s;
}
.story-tile:hover::after { background: rgba(0,0,0,.28); }
.story-text {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
}
.story-text .display { font-size: clamp(38px, 9vw, 64px); text-shadow: 0 2px 20px rgba(0,0,0,.2); }
.story-text .tags { margin-top: 22px; }
.story-cta {
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.7);
  padding-bottom: 4px;
  opacity: .9;
}

/* ---------- Néhány szó tőlem ---------- */
/* Teljes szélességű sáv, a tartalom középen */
.about-card { background: var(--form); padding: clamp(28px, 6vw, 72px) 0; }
.about-inner { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .about-inner { grid-template-columns: 1fr 1.1fr; } }
.about-inner img { width: 100%; border-radius: 14px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.about-text { text-align: center; color: var(--ink-soft); }
@media (min-width: 900px) { .about-text { text-align: left; } }
.about-text h2 { font-family: var(--f-sans); font-weight: 400; font-size: 17px; margin: 0 0 14px; color: var(--ink); }
.about-text p { margin: 0 0 1em; font-size: 15.5px; line-height: 1.8; }
.signature { font-family: var(--f-display); font-size: 30px; color: var(--ink); margin-top: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 30px;
  border-radius: var(--radius);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s;
}
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.btn-dark { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-dark:hover { background: #333; }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--ink-soft); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Stílusok ---------- */
.styles { background: var(--form); }
.style-item { padding: 28px 0; border-bottom: 1px solid var(--line); }
.style-item:first-child { border-top: 1px solid var(--line); }
.style-item h3 {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 4.4vw, 32px);
  margin: 0 0 8px;
  line-height: 1.2;
}
.style-item p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
@media (min-width: 900px) {
  .style-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .style-item, .style-item:first-child { border: 0; border-top: 1px solid var(--ink); }
}

/* ---------- Folyamat ---------- */
.process-title { font-size: clamp(28px, 5.6vw, 44px); margin-bottom: 26px; }
.tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  padding: 4px; background: #ecebe8; border-radius: 6px; margin-bottom: 36px;
}
.tab {
  padding: 11px 8px;
  border-radius: 4px;
  font-family: var(--f-serif);
  font-size: 15px;
  color: var(--ink-soft);
  transition: background .25s, color .25s;
}
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: #cfcac4;
}
.timeline li { position: relative; padding: 0 0 34px 38px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid var(--ink); background: var(--form);
}
.timeline li:first-child::before { background: var(--ink); }
.step-no { font-family: var(--f-serif); font-style: italic; font-size: 15px; color: var(--muted); }
.timeline h3 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(22px, 4.4vw, 28px); margin: 2px 0 6px; line-height: 1.2; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.timeline[hidden] { display: none; }

/* ---------- Űrlap ---------- */
.booking { background: var(--form); }
.booking .grid { display: grid; gap: clamp(48px, 8vw, 96px); }
@media (min-width: 960px) { .booking .grid { grid-template-columns: .9fr 1.1fr; align-items: start; } }

.form-head .display { font-size: clamp(30px, 6vw, 48px); margin: 12px 0 10px; }
.form-head p { color: var(--ink-soft); margin: 0 0 28px; font-size: 15.5px; }

.form { display: grid; gap: 22px; }
.form .row { display: grid; gap: 22px; }
@media (min-width: 600px) { .form .row.two { grid-template-columns: 1fr 1fr; } }
.field label, .field .label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: #fff; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #ecebe8; border-radius: 6px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  margin: 0; text-align: center; cursor: pointer;
  padding: 11px 8px; border-radius: 4px;
  font-family: var(--f-serif); font-size: 15px; letter-spacing: 0; text-transform: none;
  color: var(--ink-soft);
  transition: background .25s, color .25s;
}
.choice input:checked + label { background: var(--ink); color: #fff; }
.choice input:focus-visible + label { outline: 1px solid var(--ink); outline-offset: 2px; }

.file-drop {
  display: flex; align-items: center; gap: 14px;
  border: 1px dashed #c9c4be; border-radius: var(--radius);
  padding: 16px; background: var(--bg); cursor: pointer;
  font-size: 14.5px; color: var(--ink-soft);
}
.file-drop svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.3; flex: none; }
.file-drop input { display: none; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); cursor: pointer; }
.check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--ink); flex: none; }

.form-status { font-size: 15px; min-height: 1.4em; }
.form-status.ok { color: #2f6b3a; }
.form-status.err { color: #9b2c2c; }

.selected-design {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px; margin-top: 10px;
}
.selected-design img { width: 54px; height: 66px; object-fit: contain; background: #fff; }
.selected-design strong { font-family: var(--f-display); font-weight: 400; font-size: 20px; display: block; }
.selected-design span { font-size: 13px; color: var(--muted); }

/* ---------- Lábléc ---------- */
.footer { padding: 64px 0 40px; text-align: center; border-top: 1px solid var(--line); }
.footer img { height: 30px; margin: 0 auto 22px; }
.footer nav { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.footer small { color: var(--muted); font-size: 12px; letter-spacing: .1em; }

/* ---------- Minta részletek (modal) ---------- */
.sheet {
  position: fixed; inset: 0; z-index: 70;
  display: flex; justify-content: center; align-items: flex-end;
  visibility: hidden;
}
.sheet.open { visibility: visible; }
.sheet-backdrop {
  position: absolute; inset: 0; background: rgba(20,20,20,.4);
  opacity: 0; transition: opacity .35s;
}
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet-panel {
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: 100%;
  overflow-y: auto;
  background: var(--bg);
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  overscroll-behavior: contain;
}
.sheet.open .sheet-panel { transform: none; }
@media (min-width: 900px) {
  .sheet { align-items: center; padding: 32px; }
  .sheet-panel { max-height: calc(100vh - 64px); border-radius: 6px; transform: translateY(30px); opacity: 0; transition: transform .4s, opacity .4s; }
  .sheet.open .sheet-panel { opacity: 1; }
}
.sheet-top {
  position: sticky; top: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--gutter);
  background: rgba(251,250,248,.94);
  backdrop-filter: blur(8px);
}
.sheet-top img { height: 18px; }
.sheet-body { padding: 0 var(--gutter) 40px; display: grid; gap: 28px; }
@media (min-width: 900px) { .sheet-body { grid-template-columns: 1.05fr 1fr; gap: 48px; padding-bottom: 48px; } }
.d-main { background: #fff; aspect-ratio: 4 / 5; display: grid; place-items: center; }
.d-main img { width: 100%; height: 100%; object-fit: contain; }
.d-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.d-thumbs button { width: 74px; aspect-ratio: 4 / 5; background: #fff; border: 1px solid var(--line); padding: 0; overflow: hidden; opacity: .6; transition: opacity .2s, border-color .2s; }
.d-thumbs button.on { opacity: 1; border-color: var(--ink); }
.d-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.d-thumbs img.contain { object-fit: contain; }
.d-info .tags { justify-content: flex-start; color: var(--ink); font-size: 11.5px; gap: 8px 16px; }
.d-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 8vw, 58px); line-height: 1; margin: 14px 0 6px; }
.d-series { font-size: 13px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.d-price { font-family: var(--f-serif); font-size: 22px; margin: 14px 0 0; }
.d-desc { color: var(--ink-soft); font-size: 15px; margin: 14px 0 0; }
.d-specs { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 24px; }
.d-specs li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; }
.d-specs svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.3; margin-top: 2px; }
.d-specs .k { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.d-specs .v { font-family: var(--f-serif); font-size: 21px; line-height: 1.3; }
.d-specs .s { font-size: 15px; color: var(--ink-soft); }
.d-actions { display: grid; gap: 12px; }
.d-actions .fav.on svg { fill: var(--ink); }
.d-actions .btn-line.on { background: var(--form); }

/* ---------- Galéria oldal ---------- */
.gallery-hero { padding: clamp(56px, 10vw, 110px) 0 clamp(36px, 6vw, 60px); text-align: center; }
.gallery-hero .display { font-size: clamp(40px, 9vw, 72px); margin: 14px 0 12px; }
.gallery-hero p { color: var(--ink-soft); max-width: 520px; margin: 0 auto; }
.masonry { columns: 2; column-gap: 8px; padding-bottom: 80px; }
@media (min-width: 800px) { .masonry { columns: 3; column-gap: 14px; } }
.masonry button { display: block; width: 100%; margin-bottom: 8px; break-inside: avoid; overflow: hidden; }
@media (min-width: 800px) { .masonry button { margin-bottom: 14px; } }
.masonry img { width: 100%; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s; }
.masonry button:hover img { transform: scale(1.03); }

.lightbox {
  position: fixed; inset: 0; z-index: 80; background: rgba(15,15,15,.94);
  display: grid; place-items: center; padding: 56px 12px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 112px); object-fit: contain; }
.lightbox button { position: absolute; color: #fff; width: 44px; height: 44px; display: grid; place-items: center; }
.lightbox svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.2; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }

/* ---------- Flash sorozatok leírása (váltakozó, mozgó szöveg) ---------- */
.manifesto { background: var(--form); text-align: center; overflow: hidden; }
.manifesto-nav { display: flex; justify-content: center; gap: clamp(18px, 6vw, 48px); margin-bottom: 34px; flex-wrap: wrap; }
.manifesto-nav button {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 6px; position: relative;
  transition: color .3s;
}
.manifesto-nav button::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
}
.manifesto-nav button.on { color: var(--ink); }
.manifesto-nav button.on::after { animation: fill var(--dur, 7s) linear forwards; }
.manifesto.paused .manifesto-nav button.on::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

.manifesto-stage { display: grid; max-width: 760px; margin: 0 auto; }
.manifesto-item {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity 1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1), filter 1s ease;
  pointer-events: none;
}
.manifesto-item.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.manifesto-item.out { transform: translateY(-26px); }
.manifesto-item h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 8vw, 60px); line-height: 1.05; margin: 0 0 6px; }
.manifesto-item .sub { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.manifesto-item p { margin: 0 auto; max-width: 640px; font-size: clamp(16px, 2.6vw, 19px); line-height: 1.8; color: var(--ink-soft); }
.manifesto-item a { display: inline-flex; gap: 10px; align-items: center; margin-top: 24px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.manifesto-item a svg { width: 14px; height: 14px; stroke: var(--ink); fill: none; stroke-width: 1.4; }

/* ---------- Galéria gomb képpel ---------- */
/* Teljes szélesség: balra a szöveg, jobbra a kép */
.gallery-card {
  display: grid; align-items: stretch;
  grid-template-columns: 1fr;
  background: var(--form);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
@media (min-width: 720px) { .gallery-card { grid-template-columns: 1fr 1fr; } }
.gallery-card img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
@media (min-width: 720px) { .gallery-card img { aspect-ratio: auto; min-height: 520px; } }
.gallery-card:hover img { transform: scale(1.03); }
.gallery-card .txt { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(40px, 8vw, 96px) var(--gutter); text-align: center; }
.gallery-card .display { font-size: clamp(30px, 5.4vw, 48px); margin: 12px 0 26px; }

/* ---------- Gyakori kérdések ---------- */
.faq-grid { display: grid; gap: clamp(32px, 6vw, 72px); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.faq-grid > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 960px) { .faq-grid > img { aspect-ratio: 4 / 5; position: sticky; top: calc(var(--header-h) + 24px); } }
.faq-title { font-size: clamp(30px, 6vw, 46px); margin: 12px 0 26px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-family: var(--f-serif);
  font-size: clamp(19px, 3.6vw, 23px);
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat;
  transition: transform .35s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { overflow: hidden; }
.faq .answer p { margin: 0 0 22px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.8; }

.d-main { cursor: pointer; }

/* ---------- ÁSZF / adatvédelem ---------- */
.legal-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 26px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.legal-toc a { border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.legal-toc a:hover { border-color: var(--ink); }
.legal { padding-bottom: 96px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.8; overflow-wrap: anywhere; }
.legal h2 {
  font-family: var(--f-display); font-weight: 400; color: var(--ink);
  font-size: clamp(28px, 5vw, 40px); line-height: 1.15;
  margin: 72px 0 20px; padding-top: 28px; border-top: 1px solid var(--line);
}
.legal h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.legal h3 { font-family: var(--f-serif); font-weight: 500; color: var(--ink); font-size: 20px; line-height: 1.35; margin: 36px 0 10px; }
.legal p { margin: 0 0 12px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Megjelenési animáció ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .manifesto-item { transition: opacity .3s; transform: none; filter: none; }
}

body.locked { overflow: hidden; }

/* robotszűrő mező: embernek nem látszik */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Nyelvváltó (HU | EN) a fejlécben */
.lang { grid-column: 1; grid-row: 1; justify-self: start; display: flex; align-items: center; gap: 2px; font-size: 12px; letter-spacing: .14em; margin-left: -5px; }
.lang a { padding: 6px 5px; color: var(--muted); transition: color .3s; }
.lang a + a::before { content: "|"; margin-right: 7px; color: var(--line); }
.lang a.on { color: var(--ink); }
.has-hero .header:not(.scrolled) .lang a { color: rgba(255,255,255,.7); }
.has-hero .header:not(.scrolled) .lang a.on { color: #fff; }
.has-hero .header:not(.scrolled) .lang a + a::before { color: rgba(255,255,255,.4); }

@media (max-width: 359px) {
  .header .logo img { height: 17px; }   /* nagyon keskeny telefonon kisebb logó, hogy elférjen a nyelvváltó */
}

/* Telefonon a logó, a címkék és a gomb lejjebb, a kép alsó részén */
@media (max-aspect-ratio: 1/1) {
  .hero-inner { justify-content: flex-end; padding-top: 0; padding-bottom: clamp(130px, 25svh, 230px); }
}

/* ---------- Szöveg a hero gomb alatt ---------- */
.hero-note {
  max-width: 440px; margin: 18px auto 0; padding: 0 var(--gutter);
  text-align: center; font-size: clamp(13px, 3.4vw, 15px); line-height: 1.6;
  color: rgba(255,255,255,.92); text-shadow: 0 1px 12px rgba(0,0,0,.35);
}

/* Telefonon a szöveg a nyitókép alatt, középre igazítva (a képen túl zsúfolt lenne) */
.hero-note-below { display: none; }
@media (max-aspect-ratio: 1/1) {
  .hero-note-in { display: none; }
  .hero-note-below {
    display: block; max-width: 440px; margin: 0 auto; padding: 36px var(--gutter) 0;
    text-align: center; font-size: 15px; line-height: 1.7; letter-spacing: var(--track); color: var(--ink-soft);
  }
  .hero-note-below + .section { padding-top: 48px; }
}

/* ---------- „Talán Te is így vagy vele…” csempe ---------- */
.story-text .display.story-long { font-size: clamp(26px, 5.6vw, 44px); line-height: 1.15; max-width: 620px; }
.story-sub { margin: 18px 0 0; font-size: clamp(14px, 3.6vw, 17px); letter-spacing: .08em; opacity: .92; text-shadow: 0 1px 10px rgba(0,0,0,.3); }

/* ---------- Néhány szó tőlem ---------- */
.about-text .eyebrow { margin-bottom: 12px; }
.about-text .display.about-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 6vw, 44px); line-height: 1.15; letter-spacing: .01em; color: var(--ink); margin: 0 0 22px; }
.about-text .about-punch { font-family: var(--f-display); font-size: clamp(26px, 5vw, 34px); line-height: 1.25; letter-spacing: .01em; color: var(--ink); margin: 26px 0 0; }

/* ---------- Új vendégek / következő havi időpontok ---------- */
.open-slots { text-align: center; margin: clamp(56px, 9vw, 96px) auto 0; padding: clamp(36px, 6vw, 56px) var(--gutter); background: var(--form); }
.open-slots .display { font-size: clamp(30px, 6vw, 48px); margin: 12px 0 26px; }

/* ---------- Mintakártyák: telefonon kettő, nagyobban ---------- */
@media (max-width: 599px) {
  .rail { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .rail { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
}
