/* =========================================================
   Villányi Klaudia — jóga & hangtál
   Design tokenek + teljes stíluslap
   ========================================================= */

/* ---------- 1. Tokenek ---------- */
:root {
  /* Színek */
  --ink:        #22201c;
  --ink-soft:   #4a463f;
  --ink-mute:   #7a746a;
  --bg:         #f7f3ec;
  --bg-alt:     #f1ebe0;
  --sand:       #e6dccb;
  --line:       #ddd2be;
  --white:      #fffdf9;

  --brass:      #a8724a;
  --brass-dk:   #8a5b38;
  --sage:       #7c8b6f;
  --sage-dk:    #5f6d54;

  /* Tipográfia */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype",
                  Palatino, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1rem, 0.95rem + 0.24vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.11rem + 0.42vw, 1.45rem);
  --step-2:  clamp(1.44rem, 1.29rem + 0.72vw, 1.86rem);
  --step-3:  clamp(1.73rem, 1.49rem + 1.16vw, 2.38rem);
  --step-4:  clamp(2.07rem, 1.71rem + 1.8vw, 3.05rem);
  --step-5:  clamp(2.49rem, 1.94rem + 2.71vw, 3.91rem);
  --step-6:  clamp(2.99rem, 2.18rem + 4vw, 5rem);

  /* Ritmus */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 7rem;

  --wrap: 1180px;
  --wrap-narrow: 780px;

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(34 32 28 / 0.05),
               0 4px 12px rgb(34 32 28 / 0.05);
  --shadow-md: 0 2px 6px rgb(34 32 28 / 0.06),
               0 14px 34px rgb(34 32 28 / 0.09);
  --shadow-lg: 0 6px 18px rgb(34 32 28 / 0.08),
               0 30px 70px rgb(34 32 28 / 0.14);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.5s;

  --header-h: 76px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 var(--sp-2);
  font-variation-settings: "SOFT" 20, "WONK" 1;
}
h1 { font-size: var(--step-6); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
p  { margin: 0 0 var(--sp-2); }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection { background: var(--brass); color: var(--white); }

/* ---------- 3. Segéd ---------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); }

.section { padding-block: var(--sp-7); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: var(--sp-6); }

.eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass);
  margin: 0 0 var(--sp-2);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--center { justify-content: center; }

.lead {
  font-size: var(--step-1);
  color: var(--ink-soft);
  line-height: 1.55;
}

.section-head { max-width: 62ch; margin-bottom: var(--sp-5); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.muted { color: var(--ink-mute); }

/* ---------- 4. Gombok ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.85em 1.6em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--r-pill);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }

.btn--brass { --btn-bg: var(--brass); --btn-fg: var(--white); }
.btn--brass:hover { --btn-bg: var(--brass-dk); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); background: transparent; }

.btn--sm { padding: 0.6em 1.15em; font-size: 0.82rem; }
.btn--block { width: 100%; }

.btn .ico { width: 1em; height: 1em; flex: none; }

/* ---------- 5. Fejléc ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
              height 0.35s var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity 0.35s var(--ease), border-color 0.35s var(--ease);
}
.header.is-stuck::before { opacity: 1; border-bottom-color: var(--line); }

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.logo__mark { width: 30px; height: 30px; flex: none; color: var(--brass); }

.nav { display: flex; align-items: center; gap: var(--sp-3); }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  position: relative;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); }

/* Hamburger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger__box { display: block; width: 18px; height: 12px; position: relative; }
.burger__box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 5.25px; }
.burger__box span:nth-child(3) { top: 10.5px; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }

/* Mobil menü */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: calc(var(--header-h) + var(--sp-4)) 0 var(--sp-4);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
              visibility 0.35s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }

.mobile-menu__list {
  list-style: none;
  margin: 0 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-menu__list li { border-bottom: 1px solid var(--line); }
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 1.05rem 0;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  font-variation-settings: "SOFT" 20, "WONK" 1;
}
.mobile-menu__link span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brass);
  letter-spacing: 0.1em;
}
.mobile-menu__foot { padding-top: var(--sp-4); display: grid; gap: var(--sp-2); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--sp-6));
  padding-bottom: var(--sp-7);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 780px;
  max-height: 780px;
  right: -14vw;
  top: -18vw;
  background: radial-gradient(circle at center,
              rgb(168 114 74 / 0.18), rgb(168 114 74 / 0) 62%);
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-6);
  align-items: center;
}
.hero__title { margin-bottom: var(--sp-3); }
.hero__title em {
  font-style: italic;
  color: var(--brass);
  font-variation-settings: "SOFT" 60, "WONK" 1;
}
.hero__lead { max-width: 46ch; margin-bottom: var(--sp-4); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
}
.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.hero__stat span { font-size: var(--step--1); color: var(--ink-mute); }

.hero__media { position: relative; }
.hero__media .ph { aspect-ratio: 4 / 5; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

.hero__badge {
  position: absolute;
  left: -28px;
  bottom: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 250px;
}
.hero__badge svg { width: 26px; height: 26px; color: var(--sage); flex: none; }
.hero__badge b { display: block; font-size: 0.9rem; }
.hero__badge span { font-size: 0.78rem; color: var(--ink-mute); line-height: 1.4; }

/* ---------- 7. Képhelyek ---------- */
.ph {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: linear-gradient(145deg, var(--ph-a, #cfc3ad), var(--ph-b, #a89275));
  isolation: isolate;
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 0.28) 1px, transparent 1px);
  background-size: 5px 5px;
  opacity: 0.35;
  mix-blend-mode: overlay;
}
/* Valódi fotók: ugyanazokat a .ph méret-szabályokat öröklik,
   de kitöltik a keretet és nincs rajtuk szemcse-overlay. */
img.ph {
  width: 100%;
  object-fit: cover;
  object-position: center;
}
/* Kivágás finomhangolása: melyik magasság maradjon a képkivágás közepén.
   Álló fotó fekvő keretben ezzel állítható, hogy az arc benne legyen. */
img.ph[data-pos="top"]    { object-position: center 15%; }
img.ph[data-pos="upper"]  { object-position: center 30%; }
img.ph[data-pos="lower"]  { object-position: center 62%; }
img.ph[data-pos="bottom"] { object-position: center 82%; }

.ph__tag {
  position: absolute;
  z-index: 2;
  left: 10px;
  bottom: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgb(255 255 255 / 0.85);
  background: rgb(34 32 28 / 0.3);
  backdrop-filter: blur(6px);
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-pill);
}
.ph--1 { --ph-a: #d9cdb6; --ph-b: #9c7f5e; }
.ph--2 { --ph-a: #c2cbb8; --ph-b: #6d7c60; }
.ph--3 { --ph-a: #e0cdb9; --ph-b: #a8724a; }
.ph--4 { --ph-a: #cbc4bb; --ph-b: #6e6558; }
.ph--5 { --ph-a: #e3d6c0; --ph-b: #b08d63; }
.ph--6 { --ph-a: #b9c3bd; --ph-b: #5f6d67; }
.ph--7 { --ph-a: #ddc9b4; --ph-b: #8a5b38; }
.ph--8 { --ph-a: #cdd0c4; --ph-b: #7c8b6f; }

/* ---------- 8. Szolgáltatás kártyák ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-3);
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--sand);
}
.card__ico {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: var(--bg-alt);
  color: var(--brass);
  margin-bottom: var(--sp-1);
}
.card__ico svg { width: 24px; height: 24px; }
.card h3 { margin: 0; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }
.badge-new {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
  transform: translateY(-2px);
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: var(--r-pill);
}

.card__meta {
  margin-top: auto;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--step--1);
}
.card__price { font-weight: 700; }
.card__link {
  color: var(--brass);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.25s var(--ease);
}
.card__link:hover { gap: 0.6rem; }

/* ---------- 9. Órarend ---------- */
.tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
  padding: 0.35rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  width: fit-content;
  max-width: 100%;
}
.section--alt .tabs { background: var(--bg); }
.tab {
  border: 0;
  background: transparent;
  border-radius: var(--r-pill);
  padding: 0.55rem 1.05rem;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ink-mute);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--ink); color: var(--white); }

.schedule { display: grid; gap: 0.7rem; }
.schedule__empty {
  padding: var(--sp-5) var(--sp-3);
  text-align: center;
  color: var(--ink-mute);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
}

.slot {
  display: grid;
  grid-template-columns: 110px 1fr auto auto;
  gap: var(--sp-3);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-2) var(--sp-3);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
              transform 0.3s var(--ease);
  animation: slot-in 0.4s var(--ease) backwards;
}
.slot:hover {
  border-color: var(--sand);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}
@keyframes slot-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.slot__time { font-weight: 700; font-variant-numeric: tabular-nums; }
.slot__time small { display: block; font-weight: 400; font-size: 0.76rem; color: var(--ink-mute); }
.slot__name { font-family: var(--font-display); font-size: var(--step-1); font-variation-settings: "SOFT" 20, "WONK" 1; }
.slot__desc { font-size: 0.85rem; color: var(--ink-mute); }
.slot__level {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.lvl-kezdo   { background: #e7ede2; color: var(--sage-dk); }
.lvl-halado  { background: #f1e2d5; color: var(--brass-dk); }
.lvl-mindenki{ background: #e8e4dc; color: var(--ink-soft); }

/* ---------- 10. Kiemelt sáv (hangtál) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}
.feature--flip .feature__media { order: 2; }
.feature__media .ph { aspect-ratio: 1 / 1; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

.checklist { list-style: none; margin: var(--sp-3) 0 var(--sp-4); padding: 0; display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.96rem; color: var(--ink-soft); }
.checklist svg { width: 20px; height: 20px; flex: none; color: var(--sage); margin-top: 2px; }

/* ---------- 11. Retreat ---------- */
.retreats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--sp-3); }
.retreat {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.retreat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.retreat__img { aspect-ratio: 16 / 10; border-radius: 0; }
.retreat__body { padding: var(--sp-3); display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.retreat__date {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--brass);
  letter-spacing: 0.04em;
}
.retreat h3 { margin: 0; font-size: var(--step-2); }
.retreat p { font-size: 0.93rem; color: var(--ink-soft); }
.retreat__foot {
  margin-top: auto;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}
.retreat__place { font-size: 0.85rem; color: var(--ink-mute); display: flex; align-items: center; gap: 0.35rem; }
.retreat__place svg { width: 15px; height: 15px; }
.tagline {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--white);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.tagline--full { background: var(--ink); color: var(--white); }

/* ---------- 12. Bio ---------- */
.bio__media { position: relative; }
.bio__media .ph { aspect-ratio: 3 / 4; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.bio__quote {
  position: absolute;
  right: -24px;
  bottom: -20px;
  max-width: 260px;
  background: var(--ink);
  color: var(--bg);
  padding: var(--sp-3);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.45;
  box-shadow: var(--shadow-lg);
}
.creds { list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: grid; gap: 0.6rem; }
.creds li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.creds li:last-child { border-bottom: 0; }
.creds b { font-variant-numeric: tabular-nums; color: var(--brass); flex: none; min-width: 4.5rem; }

/* ---------- 13. Galéria ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 0.85rem;
}
.gallery__item {
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.gallery__item:hover { transform: scale(1.015); box-shadow: var(--shadow-md); }
.gallery__item .ph { width: 100%; height: 100%; border-radius: 0; }
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(4) { grid-row: span 2; }
.gallery__item:nth-child(6) { grid-column: span 2; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgb(22 20 18 / 0.9);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: var(--sp-4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__inner { display: flex; flex-direction: column; align-items: center; }
.lightbox__frame {
  display: block;
  max-width: min(88vw, 640px);
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  background: var(--sand);
  transform: scale(0.97);
  transition: transform 0.35s var(--ease);
}
.lightbox.is-open .lightbox__frame { transform: none; }
.lightbox__cap {
  margin-top: var(--sp-2);
  text-align: center;
  color: rgb(255 255 255 / 0.8);
  font-size: 0.9rem;
}
.lightbox__btn {
  position: absolute;
  background: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.2);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.lightbox__btn:hover { background: rgb(255 255 255 / 0.24); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- 14. Vélemények ---------- */
.quotes { position: relative; }
.quotes__track { display: grid; }
.quote {
  grid-area: 1 / 1;
  text-align: center;
  max-width: 70ch;
  margin-inline: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
.quote.is-active { opacity: 1; visibility: visible; transform: none; }
.quote__mark { font-family: var(--font-display); font-size: 4rem; line-height: 0.6; color: var(--sand); }
.quote p {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.45;
  font-style: italic;
  margin: var(--sp-2) 0 var(--sp-3);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.quote__who { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.quote__who span { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-mute); }

.dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: var(--sp-4); }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--sand);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s var(--ease), width 0.25s var(--ease);
}
.dot.is-active { background: var(--brass); width: 24px; border-radius: var(--r-pill); }

/* ---------- 15. GYIK ---------- */
.faq { display: grid; gap: 0.6rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); overflow: hidden; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  text-align: left;
  padding: 1.1rem var(--sp-3);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
}
.faq__q svg { width: 18px; height: 18px; flex: none; color: var(--brass); transition: transform 0.35s var(--ease); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 var(--sp-3) 1.2rem; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- 16. Kapcsolat / űrlap ---------- */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--sp-6); align-items: start; }
.contact__info { display: grid; gap: var(--sp-3); }
.info-row { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-row svg { width: 20px; height: 20px; color: var(--brass); flex: none; margin-top: 3px; }
.info-row b { display: block; font-size: 0.9rem; }
.info-row a, .info-row span { color: var(--ink-soft); font-size: 0.95rem; text-decoration: none; }
.info-row a:hover { color: var(--brass); }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  display: grid;
  gap: var(--sp-3);
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: var(--white);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b5442f; }
.field__err { font-size: 0.78rem; color: #b5442f; display: none; }
.field.has-error .field__err { display: block; }

.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.84rem; color: var(--ink-mute); }
.check input { margin-top: 3px; accent-color: var(--brass); }

.form__note { font-size: 0.8rem; color: var(--ink-mute); text-align: center; }

.form__ok {
  display: none;
  gap: 0.8rem;
  align-items: center;
  padding: var(--sp-3);
  background: #eaf0e5;
  border: 1px solid #cdddc2;
  border-radius: var(--r-md);
  color: var(--sage-dk);
  font-size: 0.93rem;
}
.form__ok.is-shown { display: flex; }
.form__ok svg { width: 22px; height: 22px; flex: none; }

/* ---------- 17. CTA sáv ---------- */
.cta-band {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  left: 50%; top: -60%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgb(168 114 74 / 0.35), transparent 65%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: var(--sp-2); }
.cta-band p { color: rgb(247 243 236 / 0.72); max-width: 52ch; margin-inline: auto; margin-bottom: var(--sp-4); }
.cta-band .btn--ghost { --btn-fg: var(--bg); border-color: rgb(247 243 236 / 0.3); }
.cta-band .btn--ghost:hover { border-color: var(--bg); }

/* ---------- 18. Lábléc ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-block: var(--sp-5) var(--sp-3); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-4); }
.footer h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: var(--sp-2); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer a { text-decoration: none; font-size: 0.92rem; color: var(--ink-soft); transition: color 0.2s var(--ease); }
.footer a:hover { color: var(--brass); }
.footer__about p { font-size: 0.92rem; color: var(--ink-soft); max-width: 34ch; margin-top: var(--sp-2); }
.socials { display: flex; gap: 0.5rem; margin-top: var(--sp-3); }
.socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  display: grid; place-items: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.socials a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.socials svg { width: 17px; height: 17px; }

.footer__bottom {
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
  font-size: 0.83rem;
  color: var(--ink-mute);
}

/* ---------- 18/b. Kitöltendő helyek jelölése ----------
   Sárgával kiemelt szövegrészek = még nem valódi adat.
   Ha kitöltötted, csak a class="todo"-t kell törölni róla. */
.todo {
  background: #fbeed3;
  box-shadow: 0 0 0 3px #fbeed3;
  border-radius: 2px;
  color: var(--brass-dk);
  font-style: normal;
}

/* ---------- 19. Scroll-animáció ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.09s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.27s; }

/* Vissza a tetejére */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 20. Reszponzív ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .hero__media { max-width: 460px; }
  .hero__badge { left: auto; right: -10px; }
  .feature, .contact { grid-template-columns: 1fr; gap: var(--sp-4); }
  .feature--flip .feature__media { order: 0; }
  .feature__media, .bio__media { max-width: 460px; }
  .bio__quote { right: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 165px; }
  .gallery__item:nth-child(4) { grid-row: span 1; }
}

@media (max-width: 760px) {
  :root { --sp-7: 4.5rem; --sp-6: 3.25rem; }
  .nav__list, .nav .btn { display: none; }
  .burger { display: grid; }
  .slot { grid-template-columns: 1fr; gap: 0.5rem; }
  .slot__level { justify-self: start; }
  .slot .btn { width: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .hero__media, .feature__media, .bio__media { max-width: none; }
  .hero__badge { position: static; margin-top: var(--sp-3); max-width: none; }
  .bio__quote { position: static; margin-top: var(--sp-3); max-width: none; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .cta-band { padding: var(--sp-5) var(--sp-3); }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery__item:nth-child(1), .gallery__item:nth-child(6) { grid-column: span 1; }
  .gallery__item:nth-child(1) { grid-row: span 1; }
}

/* ---------- 21. Mozgáscsökkentés / nyomtatás ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .mobile-menu, .to-top, .lightbox, .burger { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
