/* ==========================================================================
   Ábrahám Fanni – Körömszalon
   Elegáns nude / pasztell arculat
   ========================================================================== */

:root {
  --cream: #fbf7f4;
  --sand: #f3e9e2;
  --nude: #e6d3c6;
  --blush: #eac9c4;
  --rose: #c1897f;
  --rose-dark: #a86f66;
  --cocoa: #7a5c52;
  --ink: #332723;
  --ink-soft: #6b5750;
  --gold: #c2a07a;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 12px rgba(122, 92, 82, 0.08);
  --shadow: 0 18px 44px rgba(122, 92, 82, 0.14);

  --maxw: 1140px;
  --gutter: 20px;
}

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

html { scroll-behavior: smooth; }

/* A böngésző beépített [hidden] szabályát felülírja minden olyan saját
   szabály, ami kifejezetten display értéket ad (például a .btn). Ezért a
   rejtettnek jelölt gombok mégis látszanának. Ez a sor helyreteszi. */
[hidden] { display: none !important; }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0.01em;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: 84px 0; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 400;
  margin: 0 0 14px;
}

.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(30px, 5.2vw, 46px); }
.section-head p { color: var(--ink-soft); margin: 16px 0 0; }

.divider {
  width: 54px; height: 1px;
  background: var(--nude);
  margin: 22px auto 0;
  position: relative;
}
.divider::after {
  content: "";
  position: absolute; top: -2px; left: 50%;
  width: 5px; height: 5px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--gold);
}

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(193, 137, 127, 0.34);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(193, 137, 127, 0.42);
}

.btn-ghost {
  background: transparent;
  color: var(--cocoa);
  border-color: var(--nude);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--white);
  border-color: var(--rose);
  color: var(--rose-dark);
  transform: translateY(-2px);
}

/* Kis, kör alakú ikongomb (Facebook a hero gombjai mellett) */
.btn-ikon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--nude);
  background: transparent;
  color: var(--cocoa);
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn-ikon svg { width: 20px; height: 20px; }
.btn-ikon:hover,
.btn-ikon:focus-visible {
  background: var(--white);
  border-color: var(--rose);
  color: var(--rose-dark);
  transform: translateY(-2px);
}

:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

/* ---------- Fejléc ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 247, 244, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-stuck {
  border-color: rgba(230, 211, 198, 0.9);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}
.brand {
  font-family: var(--font-display);
  font-size: 22px;
  text-decoration: none;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: var(--ink);
}
.brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--rose);
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--rose);
  transition: width 0.28s ease;
}
.nav-links a:hover { color: var(--rose-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { padding: 12px 22px; font-size: 12.5px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  z-index: 0;
}
.hero::before {
  width: 460px; height: 460px;
  background: radial-gradient(circle at 30% 30%, var(--blush), transparent 68%);
  top: -160px; right: -120px;
  opacity: 0.6;
}
.hero::after {
  width: 380px; height: 380px;
  background: radial-gradient(circle at 60% 40%, var(--sand), transparent 70%);
  bottom: -170px; left: -140px;
  opacity: 0.8;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 58px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 7.2vw, 72px);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: italic;
  color: var(--rose);
}
.hero-lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-note svg { width: 16px; height: 16px; color: var(--rose); flex: none; }

/* --- Szalon háttérkép a hero mögött ------------------------------------
   Töltsd fel: assets/kepek/szalon.jpg (fekvő, kb. 2000x1300 px).
   Amíg nincs kép, a .hero-bg rejtve marad és a pasztell háttér látszik.
   A képet a script.js csak akkor kapcsolja be, ha sikeresen betöltött. --- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
}
.hero.has-photo .hero-bg {
  opacity: 1;
  visibility: visible;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Krémszínű fátyol, hogy a szöveg minden fotón olvasható maradjon */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(251, 247, 244, 0.97) 0%,
      rgba(251, 247, 244, 0.92) 34%,
      rgba(251, 247, 244, 0.52) 62%,
      rgba(251, 247, 244, 0.14) 100%),
    linear-gradient(to bottom,
      rgba(251, 247, 244, 0.5) 0%,
      rgba(251, 247, 244, 0) 28%,
      rgba(251, 247, 244, 0) 72%,
      rgba(251, 247, 244, 0.75) 100%);
}

/* Ha van szalonkép, a fotó viszi a vizuált: a jobb oldali keret eltűnik,
   a szöveg kap több levegőt, és a hero magasabb lesz. */
.hero.has-photo { padding: 110px 0 120px; }
.hero.has-photo::before,
.hero.has-photo::after { display: none; }
.hero.has-photo .wrap { grid-template-columns: minmax(0, 680px) 1fr; }
.hero.has-photo .hero-frame { display: none; }
.hero.has-photo .hero-visual {
  align-self: end;
  min-height: 260px;
  position: relative;
}
/* Fotó fölött az átlátszó gomb és a lábjegyzet elveszne, ezért kapnak hátteret */
.hero.has-photo .btn-ikon {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.95);
  color: var(--rose-dark);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(122, 92, 82, 0.12);
}
.hero.has-photo .btn-ghost {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.95);
  color: var(--rose-dark);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(122, 92, 82, 0.12);
}
.hero.has-photo .btn-ghost:hover,
.hero.has-photo .btn-ghost:focus-visible {
  background: #fff;
  border-color: var(--rose);
}
.hero.has-photo .hero-note {
  background: rgba(251, 247, 244, 0.72);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 9px 18px 9px 14px;
  display: inline-flex;
  width: auto;
}

.hero.has-photo .hero-badge {
  left: auto;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
}

/* Közösségi ikongombok a foglalási megjegyzés alatt */
.hero-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.hero-social .btn-ikon { width: 44px; height: 44px; }
.hero-social .btn-ikon svg { width: 18px; height: 18px; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--sand), var(--blush) 55%, var(--nude));
  box-shadow: var(--shadow);
}
.hero-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-frame::after {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 190px 190px 20px 20px;
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  left: -22px;
  bottom: 42px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}
.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--rose-dark);
  font-weight: 500;
}
.hero-badge span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Jellemzők sáv ---------- */
.features {
  background: var(--white);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  padding: 44px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature svg { width: 26px; height: 26px; color: var(--rose); flex: none; margin-top: 3px; }
.feature h3 { font-size: 19px; margin-bottom: 4px; }
.feature p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* ---------- Rólam ---------- */
.about .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, var(--nude), var(--sand));
  box-shadow: var(--shadow);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 20px; }
.about p { color: var(--ink-soft); }
.about-signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--rose);
  margin-top: 26px;
}

/* ---------- Szolgáltatások / árlista ---------- */
.services { background: var(--white); }
.price-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  align-items: start;
}
@media (max-width: 720px) {
  .price-list { grid-template-columns: 1fr; gap: 20px; }
}
.price-card {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--nude);
}
.price-card h3 {
  font-size: 25px;
  margin-bottom: 6px;
}
.price-card .card-note {
  font-size: 13.5px;
  color: var(--rose);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.price-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.price-card li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--nude);
}
.price-card li:last-child { border-bottom: 0; padding-bottom: 0; }
.price-card li .name { font-size: 15.5px; }
.price-card li .dots {
  flex: 1;
  border-bottom: 1px dotted var(--nude);
  transform: translateY(-4px);
}
.price-card li .price {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--rose-dark);
  white-space: nowrap;
}
.price-foot {
  text-align: center;
  margin-top: 40px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- Galéria: két, egymással szemben mozgó sáv ---------- */
.marquee {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* A szélek finoman elhalványulnak, hogy a képek ne vágódjanak el élesen */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.marquee-row {
  overflow: hidden;
  display: flex;
}

.marquee-track {
  display: flex;
  gap: 16px;
  flex: none;
  will-change: transform;
  animation: marquee-balra var(--ido, 60s) linear infinite;
}
.marquee-row[data-irany="jobbra"] .marquee-track {
  animation-name: marquee-jobbra;
}

@keyframes marquee-balra {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-jobbra {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Megállítás, ha az egérrel fölé megyünk, vagy ha a nagyító nyitva van */
.marquee-row:hover .marquee-track { animation-play-state: paused; }
body.lb-open .marquee-track { animation-play-state: paused; }

.m-item {
  position: relative;
  flex: none;
  width: 260px;
  height: 260px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(140deg, var(--sand), var(--blush));
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}
.m-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.m-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(51, 39, 35, 0);
  transition: background 0.3s ease;
}
.m-item:hover::before { background: rgba(51, 39, 35, 0.16); }
.m-item:hover img { transform: scale(1.06); }

.gallery-cta { text-align: center; margin-top: 38px; }

/* Ha a látogató kérte a mozgás csökkentését, a sávok megállnak, és
   helyette ujjal vagy egérrel görgethetők. */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee-row {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .m-item { scroll-snap-align: center; }
}

@media (max-width: 780px) {
  .marquee { gap: 12px; }
  .marquee-track { gap: 12px; }
  .m-item { width: 180px; height: 180px; }
}

/* ---------- Galéria nagyító (lightbox) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(35, 26, 23, 0.94);
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 72px 84px;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }

.lb-stage {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-stage img {
  max-width: 100%;
  max-height: calc(100vh - 144px);
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.lightbox.loaded .lb-stage img { opacity: 1; transform: none; }

.lb-close,
.lb-nav {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.lb-close:hover,
.lb-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}
.lb-close svg,
.lb-nav svg { width: 22px; height: 22px; }

.lb-close { top: 22px; right: 22px; width: 46px; height: 46px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.lb-counter {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.22em;
}

.lightbox :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* A háttér ne görögjön, amíg a nagyító nyitva van */
body.lb-open { overflow: hidden; }

@media (max-width: 780px) {
  .lightbox { padding: 64px 12px 72px; }
  .lb-stage img { max-height: calc(100vh - 136px); }
  .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 12px; right: 12px; width: 42px; height: 42px; }
}

/* ---------- Foglalás ---------- */
.booking {
  background: linear-gradient(150deg, var(--sand), var(--blush));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.booking .wrap { position: relative; z-index: 1; max-width: 720px; }
.booking h2 { font-size: clamp(32px, 5.6vw, 50px); margin-bottom: 18px; }
.booking p { color: var(--cocoa); font-size: 17px; margin: 0 auto 32px; max-width: 520px; }
.booking-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.booking .btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--rose-dark);
}
.booking .btn-ghost:hover,
.booking .btn-ghost:focus-visible {
  background: #fff;
  border-color: var(--rose);
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 36px;
  text-align: left;
}
.step {
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.step b {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--rose);
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}
.step p { font-size: 14.5px; margin: 0; color: var(--cocoa); }

/* ---------- Tudnivalók ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--sand);
}
.faq-item { border-bottom: 1px solid var(--sand); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 22px 40px 22px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--rose);
  font-family: var(--font-body);
  font-weight: 300;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 16px;
  padding-right: 30px;
}

/* ---------- Házirend ---------- */
.rules-section { background: var(--white); }

.rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 20px;
  /* A kártyák soronként egyforma magasak, így nem lesz csipkézett a rács */
  align-items: stretch;
}

.rule {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 26px 26px 26px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.rule:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--nude);
}

.rule-ikon {
  flex: none;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--sand);
  color: var(--rose);
}
.rule-ikon svg { width: 21px; height: 21px; }

.rule h3 { font-size: 21px; margin-bottom: 6px; }
.rule p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

.rules-zaras {
  text-align: center;
  margin: 44px auto 0;
  font-size: 17px;
  color: var(--ink-soft);
}
.rules-zaras span {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--rose);
  margin-top: 8px;
}

@media (max-width: 780px) {
  .rule { padding: 22px 20px; gap: 15px; }
  .rule-ikon { width: 42px; height: 42px; }
}

/* ---------- Kapcsolat ---------- */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  text-align: center;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 34px 24px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
a.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--nude);
}
.contact-card svg { width: 26px; height: 26px; color: var(--rose); margin: 0 auto 14px; }
.contact-card h3 { font-size: 21px; margin-bottom: 6px; }
.contact-card p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* ---------- Lábléc ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 52px 0 32px;
  text-align: center;
}
.site-footer .brand { color: var(--white); display: inline-block; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 26px 0;
}
.footer-links a {
  text-decoration: none;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--blush); }
.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  margin: 0;
}

/* ---------- Lebegő foglalás gomb (mobil) ---------- */
.float-cta {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 70;
  display: none;
  gap: 10px;
  justify-content: center;
  transform: translateY(140%);
  transition: transform 0.35s ease;
}
.float-cta.show { transform: translateY(0); }

/* A két gomb egyenlően osztozik a sávon. Ha nincs telefonszám megadva, a
   hívás gomb rejtve marad, és az Instagram gomb tölti ki a helyet. */
.float-cta .btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 15px 12px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  gap: 8px;
  box-shadow: 0 -4px 30px rgba(122, 92, 82, 0.22), 0 10px 24px rgba(122, 92, 82, 0.22);
}
.float-cta .btn svg { width: 17px; }

/* A hívás gomb világos, hogy a kettő ránézésre elkülönüljön */
.btn-hivas {
  background: #ffffff;
  color: var(--rose-dark);
  border-color: #ffffff;
}
.btn-hivas:hover,
.btn-hivas:focus-visible {
  background: var(--cream);
  border-color: var(--rose);
  color: var(--rose-dark);
  transform: translateY(-2px);
}

/* ---------- Bejövő animáció ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Reszponzív ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero.has-photo { padding: 92px 0 100px; }
  .hero.has-photo .wrap { grid-template-columns: 1fr; }
  .hero.has-photo .hero-visual { display: none; }

  /* Mobilon a fotó élesen látszik, fölötte sötét fátyollal és világos
     szöveggel. A kép kap egy pici fényt és telítettséget, különben a
     sötétítés alatt sárossá válna. */
  /* Mobilon a kép széleit vágja a böngésző, ezért a körmös asztalra
     igazítjuk a kivágást, különben az ablak kerülne középre. */
  .hero.has-photo .hero-bg img {
    filter: brightness(1.05) saturate(1.06);
    object-position: 44% center;
  }
  .hero.has-photo .hero-bg::after {
    background:
      linear-gradient(to bottom,
        rgba(32, 25, 23, 0.76) 0%,
        rgba(32, 25, 23, 0.68) 42%,
        rgba(32, 25, 23, 0.76) 78%,
        rgba(32, 25, 23, 0.88) 100%);
  }

  .hero.has-photo .eyebrow { color: #f2d9d3; }
  .hero.has-photo h1 { color: #ffffff; text-shadow: 0 2px 26px rgba(0, 0, 0, 0.3); }
  .hero.has-photo h1 em { color: #f3c6bd; }
  .hero.has-photo .hero-lead { color: rgba(255, 255, 255, 0.93); }

  .hero.has-photo .btn-ikon {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.58);
    color: #ffffff;
    backdrop-filter: blur(8px);
    box-shadow: none;
  }
  .hero.has-photo .btn-ghost {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.58);
    color: #ffffff;
    backdrop-filter: blur(8px);
    box-shadow: none;
  }
  .hero.has-photo .btn-ghost:hover,
  .hero.has-photo .btn-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.3);
    border-color: #ffffff;
    color: #ffffff;
  }

  .hero.has-photo .hero-note {
    background: none;
    backdrop-filter: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.88);
  }
  .hero.has-photo .hero-note svg { color: #f3c6bd; }
  .hero-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .about .wrap { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .features-grid { grid-template-columns: 1fr; gap: 22px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  section { padding: 62px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--sand);
    box-shadow: var(--shadow-sm);
    padding: 8px 20px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--sand); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 14px 0; font-size: 15px; }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .float-cta { display: flex; }
  .booking-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.booking .btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--rose-dark);
}
.booking .btn-ghost:hover,
.booking .btn-ghost:focus-visible {
  background: #fff;
  border-color: var(--rose);
}

.booking-steps { grid-template-columns: 1fr; }
  .hero-badge { left: 10px; bottom: 14px; padding: 13px 18px; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 96px; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .price-card { padding: 28px 22px; }
}
