:root {
  --bg: #fbf7f1;
  --surface: #ffffff;
  --surface-soft: #f4ede4;
  --text: #2f2a27;
  --muted: #756d66;
  --lavender: #8f6ab8;
  --lavender-dark: #684873;
  --sage: #7f9277;
  --sand: #e9dccb;
  --line: rgba(47, 42, 39, 0.12);
  --shadow: 0 24px 70px rgba(54, 43, 37, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 18px; color: var(--muted); }
h1, h2, h3 { margin: 0 0 18px; line-height: 1.08; letter-spacing: -0.04em; }
h1 { font-size: clamp(44px, 7vw, 88px); }
h2 { font-size: clamp(32px, 4vw, 54px); }
h3 { font-size: 24px; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.container.narrow { width: min(820px, calc(100% - 40px)); text-align: center; }
.section-pad { padding: 110px 0; }
.section-pad-sm { padding: 80px 0; }
.center { text-align: center; }
.mt-36 { margin-top: 36px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(54, 43, 37, 0.08);
}
.site-header.scrolled { box-shadow: 0 18px 50px rgba(54, 43, 37, 0.14); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(104, 72, 115, 0.18);
  box-shadow: 0 10px 26px rgba(104, 72, 115, 0.18);
}
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-size: 16px; }
.brand-text small { color: var(--muted); font-size: 12px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 650;
  color: var(--muted);
  transition: 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); background: var(--surface-soft); }
.main-nav .nav-cta { color: #fff; background: var(--lavender-dark); }
.main-nav .nav-cta:hover { color: #fff; background: var(--lavender); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--text); border-radius: 4px; }

.hero { position: relative; overflow: hidden; padding-top: 90px; }
.hero-bg {
  position: absolute;
  inset: -120px 0 auto auto;
  width: min(58vw, 820px);
  height: 620px;
  background: radial-gradient(circle at 35% 35%, rgba(143, 106, 184, 0.22), transparent 45%), radial-gradient(circle at 70% 55%, rgba(127, 146, 119, 0.18), transparent 42%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 0.82fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lavender-dark);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.lead { font-size: clamp(18px, 2vw, 23px); max-width: 660px; color: #5f5750; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lavender-dark); color: #fff; box-shadow: 0 16px 30px rgba(104, 72, 115, 0.22); }
.btn-primary:hover { background: var(--lavender); }
.btn-soft { background: #fff; color: var(--text); border-color: var(--line); }
.btn-soft:hover { box-shadow: 0 16px 40px rgba(54, 43, 37, 0.08); }
.text-link { color: var(--lavender-dark); font-weight: 800; }
.text-link:hover { text-decoration: underline; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 640px; }
.hero-stats div { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.56); }
.hero-stats strong { display: block; font-size: 18px; }
.hero-stats span { display: block; color: var(--muted); font-size: 13px; }
.hero-card { position: relative; }
.hero-card img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.logo-showcase {
  padding: 22px;
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(244,237,228,0.72));
  border: 1px solid rgba(104, 72, 115, 0.12);
  box-shadow: var(--shadow);
}
.hero-logo-main {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: 50% !important;
  box-shadow: 0 20px 55px rgba(104, 72, 115, 0.16) !important;
}
.floating-card {
  position: absolute;
  left: -24px;
  bottom: 32px;
  min-width: 230px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(54, 43, 37, 0.16);
  backdrop-filter: blur(18px);
}
.floating-card span { display: block; color: var(--muted); font-size: 13px; }
.floating-card strong { font-size: 18px; }

.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: start; }
.intro-text { font-size: 18px; }
.feature-strip { padding: 30px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .apartment-card, .contact-panel, .contact-form, .booking-shell, .location-card, .map-placeholder {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgba(54, 43, 37, 0.06);
}
.feature-card { padding: 28px; }
.icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; background: var(--surface-soft); color: var(--lavender-dark); font-weight: 900; }
.section-head { max-width: 760px; margin: 0 auto 42px; }
.section-head p { font-size: 18px; }
.cards.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.apartment-card { overflow: hidden; }
.apartment-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 24px; }
.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: var(--lavender-dark);
  background: #f3eaf5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}
ul { padding-left: 18px; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 0.9fr; grid-template-rows: 220px 220px; gap: 18px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(54, 43, 37, 0.08); }
.gallery-grid img:first-child { grid-row: span 2; }
.booking-section { background: linear-gradient(180deg, transparent, #f4ede4 45%, transparent); }
.booking-shell { padding: 16px; overflow: hidden; }
#appartman-embed-iframe-wrapper { width: 100%; background: #fff; border-radius: 22px; overflow: hidden; }
#appartman-embed-iframe { width: 100%; min-height: 760px; border: 0; display: block; }
.location-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 42px; background: linear-gradient(135deg, #ffffff, #f4ede4); }
.site-footer { padding: 34px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-grid p { margin: 6px 0 0; }
.footer-grid div:last-child { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-grid a { color: var(--muted); font-weight: 750; }
.footer-grid a:hover { color: var(--lavender-dark); }

.page-hero { padding-top: 100px; }
.apartment-list .container { display: grid; gap: 34px; }
.apartment-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 45px rgba(54, 43, 37, 0.08);
}
.apartment-detail.reverse { grid-template-columns: 1.1fr 0.9fr; }
.apartment-detail.reverse > img, .apartment-detail.reverse .apartment-media { order: 2; }
.apartment-detail > img, .apartment-main-photo { border-radius: 24px; width: 100%; height: 390px; object-fit: cover; }
.info-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.info-grid span { padding: 8px 12px; border-radius: 999px; background: var(--surface-soft); color: var(--text); font-weight: 750; font-size: 14px; }
.check-list { list-style: none; padding: 0; margin: 0 0 20px; }
.check-list li { margin: 8px 0; padding-left: 28px; position: relative; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 900; }
.price-row { margin: 18px 0 22px; padding: 16px; background: #faf7f1; border-radius: 16px; color: var(--muted); }
.cta-band { background: #fff; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: start; }
.contact-panel, .contact-form { padding: 34px; }
.contact-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item span, .contact-item small { display: block; color: var(--muted); }
.contact-item strong { display: block; margin-top: 4px; font-size: 18px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 16px; font-weight: 800; }
input, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbf7f1;
  color: var(--text);
  font: inherit;
}
input:focus, textarea:focus { outline: 2px solid rgba(143, 106, 184, 0.22); border-color: var(--lavender); }
.map-placeholder {
  min-height: 380px;
  display: grid;
  place-items: center;
  padding: 40px;
  text-align: center;
  background: radial-gradient(circle at 20% 20%, rgba(143,106,184,.18), transparent 35%), radial-gradient(circle at 80% 70%, rgba(127,146,119,.20), transparent 42%), #fff;
}

.reveal { opacity: 0; transform: translateY(18px); transition: 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* V29 - teljesítmény javítás: az első képernyős szöveg és kép nem vár JavaScript animációra. */
.hero .reveal,
.page-hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

@media (max-width: 940px) {
  .exterior-grid { grid-template-columns: 1fr; }
  .hero-property-main { min-height: 360px; }
  h1 { font-size: clamp(42px, 10vw, 72px); }
  .site-header { border-radius: 26px; align-items: flex-start; }
  .nav-toggle { display: block; margin-top: 5px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 12px;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: grid; }
  .main-nav a { display: block; }
  .hero-grid, .two-col, .feature-grid, .cards.three, .apartment-detail, .apartment-detail.reverse, .contact-grid { grid-template-columns: 1fr; }
  .apartment-detail.reverse > img, .apartment-detail.reverse .apartment-media { order: 0; }
  .hero-stats { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-grid img { height: 220px; }
  .gallery-grid img:first-child { grid-row: auto; grid-column: span 2; }
  .location-card, .footer-grid { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .exterior-grid img { height: 260px; }
  .hero-property-main { min-height: 300px; }
  .hero-logo-badge { width: 74px; height: 74px; }
  .container, .container.narrow { width: min(100% - 28px, 1180px); }
  .section-pad { padding: 76px 0; }
  .section-pad-sm { padding: 58px 0; }
  .brand-text small { display: none; }
  .brand-logo { width: 46px; height: 46px; flex-basis: 46px; }
  .floating-card { position: static; margin: 14px 0 0; }
  .logo-showcase { padding: 14px; border-radius: 28px; }
  .hero-actions { display: grid; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img:first-child { grid-column: auto; }
  .apartment-detail { padding: 14px; }
  .apartment-detail > img, .apartment-main-photo { height: 260px; }
  .mini-gallery { grid-template-columns: repeat(3, 1fr); }
  .mini-gallery img { height: 74px; }
  .contact-panel, .contact-form, .location-card { padding: 24px; }
  #appartman-embed-iframe { min-height: 920px; }
}


/* V6: lenyíló apartman menü és lapozható galéria */
.nav-dropdown { position: relative; }
.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: 0.2s ease;
}
.nav-drop-toggle:hover,
.nav-drop-toggle.active,
.nav-dropdown.open .nav-drop-toggle { color: var(--text); background: var(--surface-soft); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 230px;
  display: none;
  gap: 4px;
  padding: 10px;
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  z-index: 80;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: grid; }
.nav-dropdown-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 14px;
  white-space: nowrap;
}
.nav-dropdown-menu a.active { color: #fff; background: var(--lavender-dark); }

.apartments-overview .cards.three { align-items: stretch; }
.apartment-page-hero { padding-bottom: 36px; }
.apartment-single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: start;
}
.apartment-gallery,
.apartment-info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 45px rgba(54, 43, 37, 0.08);
}
.apartment-gallery { padding: 16px; overflow: hidden; }
.gallery-stage {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface-soft);
}
.gallery-main-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.gallery-main-button img {
  width: 100%;
  height: min(68vh, 620px);
  min-height: 430px;
  object-fit: cover;
  display: block;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  background: rgba(255,255,255,0.84);
  color: var(--lavender-dark);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(54, 43, 37, 0.14);
}
.gallery-arrow:hover { background: #fff; }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-counter {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(54,43,37,0.72);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.gallery-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.74;
  transition: 0.2s ease;
}
.gallery-thumbs button:hover,
.gallery-thumbs button.active { opacity: 1; border-color: var(--lavender); transform: translateY(-1px); }
.gallery-thumbs img {
  display: block;
  width: 100%;
  height: 86px;
  object-fit: cover;
}
.apartment-info-card { padding: 34px; position: sticky; top: 110px; }
.apartment-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.apartment-page-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(54,43,37,0.06);
}
.apartment-page-nav a { font-weight: 850; color: var(--lavender-dark); }
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(28, 22, 32, 0.88);
}
.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.4);
}
.lightbox-close,
.lightbox-arrow {
  position: fixed;
  z-index: 210;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
}
.lightbox-close { top: 22px; right: 22px; width: 52px; height: 52px; font-size: 34px; }
.lightbox-arrow { top: 50%; transform: translateY(-50%); width: 58px; height: 58px; font-size: 42px; }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
.lightbox-counter {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,0.13);
  font-weight: 850;
}

@media (max-width: 940px) {
  .exterior-grid { grid-template-columns: 1fr; }
  .hero-property-main { min-height: 360px; }
  .nav-dropdown { width: 100%; }
  .nav-drop-toggle { width: 100%; justify-content: space-between; }
  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
    background: var(--surface-soft);
  }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown.open .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu { display: grid; }
  .apartment-single-grid { grid-template-columns: 1fr; }
  .apartment-info-card { position: static; }
  .gallery-main-button img { height: 56vh; min-height: 330px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 620px) {
  .exterior-grid img { height: 260px; }
  .hero-property-main { min-height: 300px; }
  .hero-logo-badge { width: 74px; height: 74px; }
  .gallery-main-button img { height: 360px; min-height: 0; }
  .gallery-arrow { width: 40px; height: 40px; font-size: 28px; }
  .gallery-prev { left: 10px; }
  .gallery-next { right: 10px; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .gallery-thumbs img { height: 76px; }
  .apartment-info-card { padding: 24px; }
  .apartment-page-nav { border-radius: 24px; flex-direction: column; }
  .lightbox { padding: 14px; }
  .lightbox-arrow { width: 46px; height: 46px; font-size: 34px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}


.hero-property-main {
  width: 100%;
  min-height: 460px;
  max-height: 620px;
  object-fit: cover;
  display: block;
}
.property-showcase { overflow: hidden; border-radius: var(--radius-lg); }
.hero-logo-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  width: 92px;
  height: 92px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 16px 38px rgba(54, 43, 37, 0.18);
}
.hero-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: none;
}
.exterior-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 20px;
  align-items: stretch;
}
.exterior-grid figure {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 16px 45px rgba(54, 43, 37, 0.08);
}
.exterior-grid img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}
.exterior-grid figcaption {
  padding: 12px 4px 2px;
  color: var(--muted);
  font-weight: 750;
}


/* V8 responsive külső képek - végső felülírás */
@media (max-width: 940px) {
  .exterior-grid { grid-template-columns: 1fr; }
  .hero-property-main { min-height: 360px; }
}
@media (max-width: 620px) {
  .exterior-grid img { height: 260px; }
  .hero-property-main { min-height: 300px; }
  .hero-logo-badge { width: 74px; height: 74px; }
}


/* v11 - részletesebb apartman és felszereltség blokkok */
.amenity-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 12px 36px rgba(54, 43, 37, 0.06); padding: 34px; }
.amenity-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
.amenity-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 14px 0 0; list-style: none; }
.amenity-list li { padding: 9px 12px; border-radius: 999px; background: var(--surface-soft); color: var(--text); font-weight: 750; font-size: 14px; }
.room-note { margin-top: 18px; color: var(--muted); font-size: 15px; }
@media (max-width: 780px) { .amenity-columns { grid-template-columns: 1fr; } }

/* V12 - levendulásabb hangulat és elcsúszás javítások */
:root {
  --bg: #fbf7ff;
  --surface-soft: #f2eaf7;
  --lavender: #9b75c6;
  --lavender-dark: #5e3a73;
  --lavender-light: #efe3f7;
  --sage: #7d9476;
  --cream: #fffaf2;
  --line: rgba(94, 58, 115, 0.15);
  --shadow: 0 24px 70px rgba(94, 58, 115, 0.14);
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 8% 6%, rgba(155, 117, 198, 0.14), transparent 30%),
    radial-gradient(circle at 94% 18%, rgba(126, 148, 118, 0.12), transparent 28%),
    linear-gradient(180deg, #fffaf6 0%, #fbf7ff 42%, #fffaf6 100%);
}

.site-header {
  background: rgba(255, 250, 255, 0.9);
  border-color: rgba(94, 58, 115, 0.18);
}

.brand-logo {
  border-color: rgba(94, 58, 115, 0.28);
  box-shadow: 0 12px 30px rgba(94, 58, 115, 0.2);
}

.main-nav a:hover,
.main-nav a.active,
.nav-drop-toggle:hover,
.nav-drop-toggle.active,
.nav-dropdown.open .nav-drop-toggle {
  background: var(--lavender-light);
}

.nav-cta,
.btn-primary {
  background: linear-gradient(135deg, #5e3a73, #9b75c6);
  box-shadow: 0 18px 35px rgba(94, 58, 115, 0.26);
}

.nav-cta:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #71468a, #a985cf);
}

.hero,
.page-hero,
.booking-section {
  background-image:
    url('../img/lavender-pattern.svg'),
    radial-gradient(circle at 12% 20%, rgba(155, 117, 198, 0.12), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(155, 117, 198, 0.09), transparent 22%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: right 5% top 46px, left top, right top;
  background-size: 180px 180px, 620px 620px, 520px 520px;
}

.hero-bg {
  background:
    radial-gradient(circle at 35% 35%, rgba(155, 117, 198, 0.26), transparent 45%),
    radial-gradient(circle at 70% 55%, rgba(127, 146, 119, 0.18), transparent 42%);
}

h1, h2, h3,
.brand-text strong {
  color: #33213d;
}

.eyebrow {
  color: var(--lavender-dark);
}

.eyebrow::after {
  content: "✿";
  margin-left: 2px;
  color: var(--lavender);
  font-size: 13px;
  letter-spacing: 0;
}

.property-showcase {
  overflow: visible;
  isolation: isolate;
}

.hero-property-main {
  border: 8px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 80px rgba(94, 58, 115, 0.2);
}

.hero-card::before,
.apartment-gallery::before,
.amenity-panel::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-card::before {
  inset: -14px -14px auto auto;
  width: 120px;
  height: 120px;
  border-radius: 40px;
  background: rgba(155, 117, 198, 0.15);
  filter: blur(1px);
  z-index: -1;
}

.hero-logo-badge {
  border: 1px solid rgba(94, 58, 115, 0.18);
}

.floating-card {
  border-color: rgba(94, 58, 115, 0.16);
  box-shadow: 0 20px 60px rgba(94, 58, 115, 0.18);
}

.feature-card,
.apartment-card,
.apartment-detail,
.apartment-gallery,
.apartment-info-card,
.amenity-panel,
.contact-panel,
.contact-form,
.booking-shell,
.location-card,
.map-placeholder {
  border-color: rgba(94, 58, 115, 0.14);
  box-shadow: 0 18px 48px rgba(94, 58, 115, 0.09);
}

.feature-card,
.apartment-card,
.apartment-info-card,
.amenity-panel,
.contact-panel,
.contact-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 255, 0.9));
}

.feature-card,
.apartment-card {
  position: relative;
}

.feature-card::after,
.apartment-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, rgba(94, 58, 115, 0.08), rgba(155, 117, 198, 0.6), rgba(126, 148, 118, 0.25));
}

.icon,
.tag,
.info-grid span,
.amenity-list li {
  background: #f2e7f8;
  color: #4f2d61;
}

.check-list li::before {
  color: var(--lavender-dark);
}

.gallery-stage {
  background: linear-gradient(135deg, #f6eefb, #fffaf2);
}

.gallery-arrow,
.gallery-counter,
.lightbox-counter {
  backdrop-filter: blur(12px);
}

.gallery-thumbs button.active {
  border-color: #7d4f9d;
  box-shadow: 0 8px 22px rgba(94, 58, 115, 0.18);
}

.booking-section {
  background-color: #fbf5ff;
}

.booking-shell {
  padding: 18px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(94, 58, 115, 0.28), rgba(155, 117, 198, 0.5), rgba(126, 148, 118, 0.26)) border-box;
  border: 1px solid transparent;
}

#appartman-embed-iframe-wrapper {
  border: 1px solid rgba(94, 58, 115, 0.12);
}

.location-card,
.map-placeholder {
  background:
    url('../img/lavender-pattern.svg') right 22px top 16px / 160px 160px no-repeat,
    linear-gradient(135deg, #ffffff, #f4e9f9 58%, #fff7eb);
}

.site-footer {
  background: linear-gradient(90deg, #fff, #f6edf9);
}

.apartment-page-nav {
  flex-wrap: wrap;
  border-radius: 28px;
}

.apartment-page-nav a {
  padding: 8px 10px;
  border-radius: 999px;
}

.apartment-page-nav a:hover {
  background: var(--lavender-light);
}

@media (max-width: 940px) {
  .main-nav {
    top: calc(100% + 8px);
    gap: 6px;
  }
  .hero,
  .page-hero,
  .booking-section {
    background-position: right -52px top 34px, left top, right top;
    background-size: 150px 150px, 460px 460px, 380px 380px;
  }
  .property-showcase { overflow: visible; }
}

@media (max-width: 620px) {
  h1 { letter-spacing: -0.055em; }
  .site-header { width: min(100% - 22px, 1180px); margin-top: 10px; }
  .brand-text strong { font-size: 15px; }
  .main-nav { top: calc(100% + 8px); }
  .hero-property-main { border-width: 5px; }
  .cards.three { gap: 18px; }
  .card-body { padding: 22px; }
  .booking-shell { padding: 10px; border-radius: 22px; }
  .apartment-gallery { padding: 10px; border-radius: 24px; }
  .gallery-stage { border-radius: 20px; }
  .amenity-panel { padding: 24px; }
}

/* V13 - folyamatos felső levendula átmenet javítás */
body {
  background-color: #fffaf7;
  background-image:
    radial-gradient(ellipse 82% 460px at 50% 118px, rgba(155, 117, 198, 0.22) 0%, rgba(242, 234, 247, 0.72) 42%, rgba(255, 250, 247, 0) 76%),
    radial-gradient(circle at 6% 130px, rgba(155, 117, 198, 0.16), rgba(255, 250, 247, 0) 310px),
    radial-gradient(circle at 94% 138px, rgba(155, 117, 198, 0.16), rgba(255, 250, 247, 0) 320px),
    radial-gradient(circle at 78% 420px, rgba(126, 148, 118, 0.10), rgba(255, 250, 247, 0) 340px),
    linear-gradient(180deg, #fffaf7 0%, #fbf4ff 36%, #fffaf7 78%, #fffaf7 100%);
  background-repeat: no-repeat;
  background-size: 100% 820px, 720px 420px, 720px 420px, 760px 520px, 100% 100%;
  background-position: top center, left top, right top, right 180px top 250px, top center;
  overflow-x: hidden;
}

.site-header {
  width: min(1440px, calc(100% - 28px));
  background: rgba(255, 250, 255, 0.78);
}

.hero,
.page-hero {
  background-color: transparent;
  background-image:
    url('../img/lavender-pattern.svg'),
    radial-gradient(circle at 50% 10%, rgba(155, 117, 198, 0.08), transparent 42%);
  background-position: right 7% top 58px, center top;
  background-size: 180px 180px, 100% 520px;
  background-repeat: no-repeat;
}

.hero-bg {
  width: min(70vw, 980px);
  height: 700px;
  right: -180px;
  top: -170px;
  opacity: 0.86;
}

/* A felső rész ne kártyaszerűen szakadjon meg a képernyő szélén. */
main { position: relative; }
main::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -120px;
  width: 100vw;
  height: 520px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 250, 247, 0.20), rgba(242, 234, 247, 0.44) 48%, rgba(255, 250, 247, 0.20));
}

@media (max-width: 940px) {
  .site-header { width: min(100% - 22px, 1440px); }
  .hero,
  .page-hero {
    background-position: right -38px top 42px, center top;
    background-size: 145px 145px, 100% 460px;
  }
}

@media (max-width: 620px) {
  body {
    background-size: 100% 700px, 520px 340px, 520px 340px, 520px 420px, 100% 100%;
  }
  .site-header { width: min(100% - 18px, 1440px); }
}

/* V14 - hero képbe belógó lebegő elem és fejléc takarás javítás */
.hero {
  padding-top: 118px;
}

/* A fejléc marad elegáns, de nem takarja ki agresszíven a hero tartalmat. */
.site-header {
  background: rgba(255, 250, 255, 0.92);
}

/* A képen lévő kis információs kártya feleslegesen belógott a kép alá/mellé. */
.hero-card .floating-card {
  display: none;
}

/* A logó jelvény marad, de teljesen a képen belül, kisebb és tisztább formában. */
.hero-logo-badge {
  left: 18px;
  top: 18px;
  bottom: auto;
  width: 76px;
  height: 76px;
  padding: 7px;
}

/* A hero fotó körül ne legyen kilógó dekoráció, ami úgy hat, mintha elcsúszott volna. */
.hero-card::before {
  display: none;
}

.property-showcase {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.hero-property-main {
  display: block;
  width: 100%;
}

@media (max-width: 940px) {
  .hero { padding-top: 96px; }
  .hero-logo-badge {
    width: 66px;
    height: 66px;
    left: 14px;
    top: 14px;
  }
}

@media (max-width: 620px) {
  .hero { padding-top: 78px; }
  .hero-logo-badge {
    width: 58px;
    height: 58px;
    left: 12px;
    top: 12px;
  }
}

/* Google Maps blokk - kapcsolat oldal */
.map-card {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 26px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid rgba(94, 58, 115, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(94, 58, 115, 0.09);
  background:
    url('../img/lavender-pattern.svg') left 20px bottom 18px / 150px 150px no-repeat,
    linear-gradient(135deg, #ffffff, #f7eefb 58%, #fff7eb);
  overflow: hidden;
}
.map-card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 14px;
}
.map-card-text h2,
.map-card-text p { margin: 0; }
.google-map-embed {
  min-height: 390px;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(94, 58, 115, 0.14);
  box-shadow: 0 14px 34px rgba(54, 43, 37, 0.10);
}
.google-map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
}
@media (max-width: 900px) {
  .map-card { grid-template-columns: 1fr; padding: 16px; }
  .google-map-embed,
  .google-map-embed iframe { min-height: 360px; }
}

/* Contact details update */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact a {
  color: inherit;
  text-decoration: none;
  opacity: .9;
}
.footer-contact a:hover {
  opacity: 1;
  text-decoration: underline;
}
@media (max-width: 760px) {
  .footer-contact {
    align-items: flex-start;
  }
}

/* V19 - ÁSZF oldal */
.terms-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.terms-side,
.terms-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,250,255,0.92));
  border: 1px solid rgba(94, 58, 115, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(94, 58, 115, 0.09);
}
.terms-side {
  position: sticky;
  top: 118px;
  padding: 28px;
}
.terms-side .btn {
  width: 100%;
  margin-top: 10px;
}
.terms-card {
  padding: clamp(26px, 4vw, 52px);
}
.terms-card section {
  padding: 28px 0;
  border-bottom: 1px solid rgba(94, 58, 115, 0.12);
}
.terms-card section:first-of-type { padding-top: 0; }
.terms-card section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.terms-card h2 {
  font-size: clamp(24px, 2.3vw, 34px);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.terms-card p {
  margin-bottom: 12px;
}
.terms-card a {
  color: var(--lavender-dark);
  font-weight: 800;
}
.terms-note {
  margin-bottom: 30px;
  padding: 18px 20px;
  border: 1px solid rgba(94, 58, 115, 0.16);
  border-radius: 22px;
  background:
    url('../img/lavender-pattern.svg') right 14px center / 110px 110px no-repeat,
    linear-gradient(135deg, #fbf4ff, #fffaf2);
  color: #4f4058;
}
@media (max-width: 940px) {
  .terms-layout { grid-template-columns: 1fr; }
  .terms-side { position: static; }
}


/* V21 - Süti tájékoztató és külső beágyazások */
.external-embed-placeholder {
  width: 100%;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-radius: 22px;
  border: 1px dashed rgba(94, 58, 115, 0.28);
  background:
    url('../img/lavender-pattern.svg') right 18px bottom 16px / 140px 140px no-repeat,
    linear-gradient(135deg, #fff, #f7eefb 62%, #fff8ec);
  text-align: center;
}
.booking-placeholder { min-height: 760px; }
.google-map-embed.external-embed-placeholder { min-height: 390px; }
.embed-placeholder-content { max-width: 560px; margin: 0 auto; }
.embed-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f0e3f6;
  color: var(--lavender-dark);
  font-size: 24px;
  font-weight: 900;
}
.embed-placeholder-content h3 { margin: 0 0 8px; }
.embed-placeholder-content p { margin: 0 0 18px; color: var(--muted); }
.embed-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(94, 58, 115, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(54, 43, 37, 0.20);
  backdrop-filter: blur(16px);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.cookie-inner h2 { margin: 0 0 6px; font-size: 20px; }
.cookie-inner p { margin: 0; color: var(--muted); }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.btn-cookie-secondary {
  border: 1px solid rgba(94, 58, 115, 0.20);
  background: #fff;
  color: var(--text);
}
.btn-cookie-secondary:hover { background: var(--surface-soft); }
.legal-page h2 { margin-top: 34px; }
.legal-updated, .small-note { color: var(--muted); font-size: 14px; }
.table-wrap { overflow-x: auto; margin: 20px 0; }
.policy-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 36px rgba(54, 43, 37, 0.06); }
.policy-table th, .policy-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.policy-table th { background: #f3eaf5; color: var(--lavender-dark); }
.policy-table tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  .cookie-inner { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: flex-start; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
  .booking-placeholder { min-height: 620px; }
}

/* v30 PageSpeed finomítás: a hero kép picture eleme ugyanúgy viselkedik, mint a korábbi img. */
.hero-picture {
  display: block;
  width: 100%;
}
.hero-picture .hero-property-main {
  width: 100%;
  height: auto;
}


/* v36 PageSpeed: responsive picture wrappers */
.exterior-grid picture { display: block; width: 100%; }
