.legacy-home {
  --blue: #2389c9;
  --navy: #324158;
  --gray: #605e5e;
  --yellow: #f9db5c;
  margin: 0;
  background: #fff;
  color: var(--gray);
  font:
    300 16px/1.48 "Arima",
    Arial,
    sans-serif;
}

/* A hosszú árlista a főoldalon csak tableten és nagyobb kijelzőn jelenik meg. */
@media (max-width: 680px) {
  body.legacy-home > main > .legacy-prices {
    display: none;
  }
}
.legacy-home * {
  box-sizing: border-box;
}
.legacy-home h1,
.legacy-home h2,
.legacy-home h3,
.legacy-home .main-nav {
  font-family: "Aboreto", sans-serif;
}
.legacy-shell {
  width: 980px;
  max-width: calc(100% - 36px);
  margin-inline: auto;
}
.legacy-header {
  height: 92px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 100;
  color: var(--navy);
  border-top: 4px solid #1f3028;
  background: linear-gradient(180deg, #fff 0, #fff 44px, transparent 44px);
}
.legacy-contact {
  width: 78vw;
  max-width: 980px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
}
.legacy-contact a {
  color: var(--navy);
  text-decoration: none;
}
.legacy-szechenyi {
  display: block;
  width: 118px;
  height: 28px;
  object-fit: contain;
  object-position: left center;
  margin-right: auto;
}
.legacy-navline {
  width: 78vw;
  max-width: 980px;
  height: 48px;
  position: relative;
  display: flex;
  align-items: center;
}
.legacy-mark {
  position: absolute;
  left: -30px;
  top: 8px;
  width: 37px;
  height: 34px;
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.legacy-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.legacy-home .main-nav {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin-inline: auto;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 3px 14px rgba(17, 48, 61, 0.13);
}
.legacy-home .main-nav > a,
.legacy-more > button {
  color: var(--navy);
  font-size: 14px;
  font-weight: 400;
  -webkit-text-stroke: 0.16px currentColor;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  padding: 9px 11px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.legacy-home .main-nav > a:hover,
.legacy-home .main-nav > a:focus-visible,
.legacy-more > button:hover,
.legacy-more > button:focus-visible,
.legacy-more.open > button {
  color: var(--navy);
  background: rgba(35, 137, 201, 0.12);
  box-shadow: none;
  transform: none;
}
.legacy-home .main-nav > a:first-child {
  border-radius: 10px 0 0 10px;
}
.legacy-home .main-nav > a:not(:first-child),
.legacy-more {
  border-left: 1px solid rgba(35, 137, 201, 0.26);
}
.legacy-more {
  position: relative;
}
.legacy-more > button {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  border-radius: 0 10px 10px 0;
}
.legacy-more > button > span {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.28s ease;
}
.legacy-more.open > button > span {
  transform: rotate(225deg) translate(-1px, -1px);
}
.legacy-more > div {
  display: grid;
  position: absolute;
  right: -120px;
  top: calc(100% + 2px);
  width: 280px;
  overflow: hidden;
  padding: 6px 0;
  border: 0;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(18, 55, 72, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.22s;
}
.legacy-more.open > div {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.legacy-more div a {
  padding: 5px 10px;
  color: var(--navy);
  text-decoration: none;
  text-align: center;
  text-shadow: none;
  border-top: 1px solid rgba(35, 137, 201, 0.5);
  font:
    400 14px "Aboreto",
    sans-serif;
  -webkit-text-stroke: 0.16px currentColor;
  transition: color 0.18s ease, background 0.18s ease;
}
.legacy-more div a:first-child {
  border-top: 0;
}
.legacy-more div a:hover,
.legacy-more div a:focus-visible {
  color: #fff;
  background: var(--blue);
}
.legacy-social {
  position: fixed;
  left: 18px;
  top: 305px;
  z-index: 90;
  display: grid;
  gap: 11px;
}
.legacy-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  display: grid;
  place-items: center;
  font: 600 14px Arial;
}
.legacy-hero {
  height: 732px;
  position: relative;
  background: #4d829f;
  color: #fff;
  overflow: hidden;
}
.legacy-hero__background {
  position: absolute;
  z-index: 0;
  inset: -18% 0;
  background: url("/assets/background-fomenu-kezdokep.png") center 50% / cover no-repeat;
  transform: translate3d(0, var(--hero-background-shift, 0px), 0) scale(1.025);
  transform-origin: center;
  will-change: transform;
}
.legacy-hero:after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 16, 24, 0.06),
    rgba(5, 16, 24, 0.28)
  );
}
.legacy-hero__content {
  height: 100%;
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 96px;
}
.legacy-hero__logo {
  width: 225px;
  height: 208px;
  object-fit: contain;
  margin: 0 auto -3px;
}
.legacy-name {
  display: flex;
  justify-content: space-between;
  width: 620px;
  max-width: 100%;
  color: #fff;
  font:
    400 20px "Aboreto",
    sans-serif;
  margin: 0 auto 58px;
}
.legacy-name span:first-child { letter-spacing: .14em; }
.legacy-name span:last-child { letter-spacing: normal; }
.legacy-hero h1 {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 auto 82px;
  max-width: 980px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(8, 24, 35, 0.92), 0 7px 20px rgba(8, 24, 35, 0.62);
}
.legacy-hero__links {
  display: flex;
  justify-content: center;
  gap: 0;
  font-family: "Lobster", cursive;
  font-weight: 400;
  letter-spacing: .025em;
  font-size: 42px;
  line-height: 1;
}
.legacy-hero__links a {
  color: #fff;
  text-decoration: none;
  padding: 0 13px;
  text-shadow: 0 2px 4px rgba(8, 24, 35, 0.9), 0 6px 16px rgba(8, 24, 35, 0.68);
}
.legacy-hero__links a:first-child {
  color: var(--yellow);
}
.legacy-pill {
  width: 354px;
  max-width: 100%;
  height: 40px;
  border: 0;
  border-radius: 25px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto 0;
  font:
    500 16px "Arima",
    sans-serif;
  cursor: pointer;
}
.legacy-pill[data-open-booking] {
  text-transform: uppercase;
}
@media (min-width: 1051px) {
  .legacy-hero {
    height: clamp(860px, 92vh, 980px);
  }
  .legacy-hero__content {
    padding-top: 112px;
  }
  .legacy-name {
    margin-bottom: 70px;
  }
  .legacy-hero h1 {
    margin-bottom: 94px;
  }
  .legacy-intro .legacy-intro__photo {
    background: none;
    clip-path: inset(0);
  }
  .legacy-intro .legacy-intro__photo img {
    position: fixed;
    inset: -28px 0 auto auto;
    width: 60vw;
    max-width: none;
    height: calc(100vh + 56px);
    opacity: 1;
    object-fit: cover;
    object-position: center;
    transform: translate3d(0, var(--intro-fixed-image-shift, 0px), 0);
    will-change: transform;
  }
}
.legacy-intro {
  height: auto;
  min-height: 777px;
  position: relative;
  overflow: hidden;
  background: var(--blue);
}
.legacy-intro__copy {
  width: 40%;
  min-height: 777px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 50px clamp(34px, 4vw, 72px) 42px;
  color: #fff;
}
.legacy-intro h2,
.legacy-prices h2,
.legacy-services h2,
.legacy-events h2 {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--blue);
  margin: 0 0 34px;
}
.legacy-intro h2 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 26px;
  text-transform: uppercase;
}
.legacy-intro p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.48;
}
.legacy-intro__photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 60%;
  height: auto;
  z-index: 2;
  overflow: hidden;
}
.legacy-intro__photo img {
  position: absolute;
  left: 0;
  top: -9%;
  width: 100%;
  height: 118%;
  object-fit: cover;
  transform: translate3d(0, var(--intro-image-shift, 0px), 0) scale(1.025);
  will-change: transform;
}
.legacy-outline {
  height: 40px;
  border: 1px solid var(--blue);
  border-radius: 25px;
  color: var(--blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  width: 354px;
  max-width: 100%;
}
.legacy-intro .legacy-outline {
  width: 280px;
  margin: 26px auto 0;
  border-color: #fff;
  background: #fff;
  color: var(--blue);
  text-transform: uppercase;
}
.legacy-prices {
  min-height: 0;
  padding: 58px 0 72px;
  background: #292929;
  color: #fff;
}
.legacy-prices h2 {
  margin-bottom: 22px;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--blue);
  color: #fff;
  font-size: 42px;
  text-transform: uppercase;
}
.legacy-prices__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
}
.legacy-price-list p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: end;
  gap: 24px;
  margin: 0;
  padding: 13px 0 12px;
  border-bottom: 1px solid rgba(35, 137, 201, 0.95);
  font: 500 13px/1.32 "Arima", Arial, sans-serif;
  color: #fff;
}
.legacy-price-list p:first-child {
  padding-top: 0;
}
.legacy-price-list p span {
  min-width: 0;
}
.legacy-price-list strong {
  max-width: 150px;
  padding-bottom: 1px;
  text-align: right;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.legacy-price-info {
  padding-top: 30px;
  color: #fff;
}
.legacy-price-info p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  text-transform: uppercase;
}
.legacy-doc-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin: 34px 0 0;
}
.legacy-doc-links a {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  font: 600 13px/1.25 "Arima", Arial, sans-serif;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease;
}
.legacy-doc-links a:hover,
.legacy-doc-links a:focus-visible {
  color: #65b9eb;
  transform: translateY(-2px);
}
.legacy-doc-icon {
  width: 27px;
  height: 34px;
  position: relative;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 2px;
}
.legacy-doc-icon::before {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  width: 9px;
  height: 9px;
  background: #292929;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.legacy-doc-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 7px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor;
}
.legacy-services {
  min-height: 991px;
  padding: 35px 0 70px;
}
.legacy-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.legacy-service-grid article {
  position: relative;
  text-align: left;
}
.legacy-service-grid img {
  width: 475px;
  height: 351px;
  object-fit: cover;
}
.legacy-service-grid h3 {
  min-height: 90px;
  text-align: center;
  font-size: 36px;
  line-height: 1.15;
  color: var(--blue);
  margin: 10px 0;
}
.legacy-service-grid h3 a {
  color: inherit;
  text-decoration: none;
}
.legacy-service-grid p {
  font-size: 17px;
  margin: 0 10px 15px;
}
.legacy-service-grid .legacy-pill {
  width: 300px;
}
.legacy-events {
  height: 1357px;
  position: relative;
  background: #fff;
  overflow: hidden;
}
.legacy-events__side {
  position: absolute;
  left: 0;
  top: 0;
  width: 34%;
  height: 1357px;
  object-fit: cover;
}
.legacy-events__content {
  width: 620px;
  margin-left: calc(50% - 30px);
  padding-top: 64px;
}
.legacy-events h2 {
  margin-left: 60px;
  margin-bottom: 68px;
}
.legacy-events article {
  height: 336px;
  display: grid;
  grid-template-columns: 303px 1fr;
  align-items: center;
  margin: 0 0 33px;
}
.legacy-events article.reverse {
  grid-template-columns: 1fr 303px;
}
.legacy-events article.reverse img {
  grid-column: 2;
}
.legacy-events article.reverse div {
  grid-row: 1;
  grid-column: 1;
}
.legacy-events article img {
  width: 303px;
  height: 336px;
  object-fit: cover;
}
.legacy-events article div {
  text-align: center;
}
.legacy-events article h3 {
  font-family: "Arima", sans-serif;
  font-size: 26px;
  font-weight: 300;
  color: #2f2e2e;
}
.legacy-events article a {
  width: 160px;
  height: 42px;
  border-radius: 100px;
  background: #fff;
  color: #46aeee;
  box-shadow: 0 2px 13px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin: 25px auto;
}
.legacy-location {
  height: 899px;
  position: relative;
  color: #fff;
  overflow: hidden;
}
.legacy-location > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.legacy-location:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 22, 42, 0.22);
}
.legacy-location__quote {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 665px;
  transform: translate(-50%, -50%);
  width: 980px;
  max-width: 90%;
  text-align: center;
}
.legacy-location__quote h2 {
  font-size: 30px;
  color: var(--blue);
  letter-spacing: 0.42em;
}
.legacy-location__quote p {
  font-size: 18px;
  max-width: 530px;
  margin: auto;
}
.legacy-contact-section {
  min-height: 1090px;
  padding: 0 0 40px;
  background: #fff;
}
.legacy-contact-grid {
  display: grid;
  grid-template-columns: 319px 1fr;
  gap: 80px;
  padding-top: 0;
}
.legacy-contact-grid h2 {
  font-size: 36px;
  line-height: 1;
  color: var(--blue);
  margin: 0 0 18px;
}
.legacy-contact-grid h3 {
  font-size: 30px;
  color: var(--blue);
  margin: 25px 0 0;
}
.legacy-contact-grid p {
  font-size: 18px;
}
.legacy-large-link {
  display: block;
  color: var(--blue);
  font-size: 42px;
  text-decoration: none;
  margin-top: 20px;
}
.legacy-contact-grid .legacy-pill {
  width: 298px;
  margin: 0;
}
.legacy-map {
  min-height: 420px;
  background: url("/assets/pages/bg5.png") center/cover;
  display: grid;
  place-items: center;
}
.legacy-map a {
  background: rgba(50, 65, 88, 0.86);
  color: #fff;
  padding: 25px 35px;
  text-align: center;
  text-decoration: none;
  font:
    400 18px "Aboreto",
    sans-serif;
}
.legacy-map span {
  font:
    300 14px "Arima",
    sans-serif;
}
.legacy-details {
  display: grid;
  grid-template-columns: 412px 1fr;
  gap: 27px;
  margin-top: 105px;
}
.legacy-details > div {
  padding: 0 0;
  font-size: 18px;
}
.legacy-details a {
  color: var(--blue);
  font-family: "Aboreto", sans-serif;
  text-decoration: none;
}
.legacy-footer {
  height: 49px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  font-size: 12px;
}
.legacy-footer .legacy-shell {
  display: flex;
  justify-content: space-between;
}
.legacy-footer a {
  color: #fff;
}
.legacy-services .legacy-section-title {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.86);
}
.legacy-home .booking-dialog h2 {
  font-family: "Aboreto", sans-serif;
  color: var(--navy);
}

@media (max-width: 1050px) {
  .legacy-header {
    height: 70px;
    border-top: 0;
    background: transparent;
  }
  .legacy-contact {
    display: none;
  }
  .legacy-navline {
    width: 980px;
    max-width: calc(100% - 36px);
    height: 70px;
  }
  .legacy-mark {
    left: 0;
  }
  .legacy-home .menu-button {
    display: grid;
    margin-left: auto;
    color: var(--navy);
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 16px rgba(18, 55, 72, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .legacy-home .menu-button span {
    background: var(--navy);
  }
  .legacy-home .main-nav {
    position: absolute;
    top: 70px;
    z-index: 10;
    display: none;
    left: -18px;
    right: -18px;
    width: auto;
    max-width: none;
    padding: 18px;
    gap: 0;
    flex-direction: column;
    align-items: stretch;
    overflow-x: hidden;
    border: 1px solid rgba(35, 137, 201, 0.24);
    border-radius: 0 0 12px 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .legacy-home .main-nav.open {
    display: flex;
  }
  .legacy-home .main-nav > a,
  .legacy-more > button {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 13px 14px;
    font-size: 14px;
    color: var(--navy);
    border-bottom: 1px solid rgba(35, 137, 201, 0.2);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .legacy-home .main-nav > a:first-child,
  .legacy-more > button {
    border-radius: 0;
  }
  .legacy-more {
    border-left: 0;
  }
  .legacy-more > div {
    position: static;
    width: 100%;
    max-height: 0;
    margin-top: 0;
    padding-block: 0;
    border-width: 0;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: max-height 0.35s ease, opacity 0.22s ease, margin 0.3s ease, padding 0.3s ease, visibility 0.22s;
  }
  .legacy-more.open > div {
    max-height: 340px;
    margin-top: 6px;
    padding-block: 5px;
    border-width: 1px;
    opacity: 1;
    visibility: visible;
  }
  .legacy-more div a {
    min-height: 46px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .legacy-social {
    display: none;
  }
  .legacy-hero {
    height: 730px;
  }
  .legacy-hero__content {
    padding-top: 80px;
  }
  .legacy-hero__logo {
    width: 198px;
    height: 198px;
  }
  .legacy-name {
    width: min(520px, 100%);
    margin: 0 auto 47px;
    font-size: 13px;
  }
  .legacy-hero h1 {
    font-size: 29px;
  }
  .legacy-hero__links {
    font-size: 30px;
    flex-direction: column;
    gap: 12px;
  }
  .legacy-intro {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .legacy-intro__photo {
    position: relative;
    bottom: auto;
    width: 100%;
    height: 420px;
    order: 2;
  }
  .legacy-intro__copy {
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 55px 24px;
    order: 1;
  }
  .motion-ready .legacy-intro__copy.motion-item,
  .motion-ready .legacy-intro__copy.motion-item.motion-left,
  .motion-ready .legacy-intro__copy.motion-item.motion-right,
  .motion-ready .legacy-intro__copy.motion-item.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .legacy-prices {
    min-height: 0;
  }
  .legacy-prices__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .legacy-services {
    min-height: 0;
  }
  .legacy-service-grid {
    grid-template-columns: 1fr;
  }
  .legacy-service-grid img {
    width: 100%;
  }
  .legacy-events {
    height: auto;
    padding: 60px 20px;
  }
  .legacy-events__side {
    display: none;
  }
  .legacy-events__content {
    width: auto;
    margin: 0;
    padding: 0;
  }
  .legacy-events h2 {
    margin-left: 0;
  }
  .legacy-location {
    height: 650px;
  }
  .legacy-location__quote {
    top: 50%;
  }
  .legacy-contact-grid,
  .legacy-details {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .legacy-contact-section {
    padding: 55px 0;
  }
  .legacy-details {
    margin-top: 50px;
  }
  .legacy-footer {
    height: auto;
    padding: 18px 0;
  }
  .legacy-footer .legacy-shell {
    display: block;
  }
  .legacy-home h2,
  .legacy-intro h2,
  .legacy-prices h2,
  .legacy-services h2,
  .legacy-events h2 {
    font-size: 38px;
  }
}
@media (max-width:1050px) and (max-height:520px) and (orientation:landscape){.legacy-home .main-nav{padding-block:10px;gap:1px}.legacy-home .main-nav>a{padding-block:9px;font-size:14px}.legacy-home .legacy-more>button{padding-block:9px}}
@media (max-width: 560px) {
  .legacy-shell {
    max-width: calc(100% - 28px);
  }
  .legacy-hero {
    height: 680px;
  }
  .legacy-hero__content {
    padding-top: 66px;
  }
  .legacy-hero__logo {
    width: 168px;
    height: 168px;
  }
  .legacy-name {
    width: min(320px, calc(100vw - 28px));
    max-width: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    column-gap: clamp(4px, 2vw, 10px);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 14px;
    font-size: 17px !important;
    line-height: 1.2;
    white-space: nowrap;
  }
  .legacy-name span {
    flex: 0 0 auto;
  }
  .legacy-name span:first-child {
    letter-spacing: -0.02em;
  }
  .legacy-name span:last-child {
    letter-spacing: -0.055em;
  }
  .legacy-hero h1 {
    font-size: 23px;
    line-height: 1.35;
    margin-bottom: 42px;
  }
  .legacy-hero__links {
    font-size: 25px;
    gap: 6px;
  }
  .legacy-pill {
    margin-top: 13px;
  }
  .legacy-prices__grid {
    display: block;
  }
  .legacy-price-column {
    margin-top: 38px;
  }
  .legacy-price-list p {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 12px;
    padding: 14px 0 13px;
    font-size: 13px;
  }
  .legacy-price-list strong {
    max-width: 122px;
    font-size: 12px;
  }
  .legacy-price-info {
    padding-top: 34px;
  }
  .legacy-price-info p {
    font-size: 12px;
  }
  .legacy-doc-links {
    gap: 18px;
  }
  .legacy-doc-links a {
    gap: 10px;
    font-size: 11px;
  }
  .legacy-service-grid h3 {
    font-size: 29px;
  }
  .legacy-events article,
  .legacy-events article.reverse {
    height: auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 55px;
  }
  .legacy-events article img {
    width: 100%;
    height: 280px;
  }
  .legacy-events article.reverse img {
    order: 0;
  }
  .legacy-events article.reverse div {
    order: 1;
  }
  .legacy-location {
    height: 520px;
  }
  .legacy-large-link {
    font-size: 31px;
  }
  .legacy-details > div {
    font-size: 16px;
  }
}

/* Stabil, teljesítménybarát mozgásrendszer. */
.scroll-progress {
  position: fixed;
  z-index: 300;
  inset: 0 auto auto 0;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--brand-yellow, #f9db5c), #46aeee);
  box-shadow: 0 0 18px rgba(70, 174, 238, 0.7);
}
.legacy-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -18%;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 72%, rgba(70, 174, 238, 0.2), transparent 30%),
    linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.13) 46%, transparent 63%);
  mix-blend-mode: screen;
  animation: waterLight 11s ease-in-out infinite alternate;
}
.legacy-hero__content {
  transform: translate3d(0, calc(var(--hero-shift, 0) * 1px), 0);
  will-change: transform;
}
.legacy-home .main-nav > a {
  position: relative;
}
.legacy-home .main-nav > a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.legacy-home .main-nav > a:hover::after,
.legacy-home .main-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.legacy-home .legacy-pill,
.legacy-home .legacy-outline {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}
.legacy-home .legacy-pill::before,
.legacy-home .legacy-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.35), transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}
.legacy-home .legacy-pill:hover,
.legacy-home .legacy-outline:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 30px rgba(35, 137, 201, 0.25);
}
.legacy-home .legacy-pill:hover::before,
.legacy-home .legacy-outline:hover::before {
  transform: translateX(120%);
}
.legacy-service-grid article,
.legacy-events article {
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s ease;
}
.legacy-service-grid article:hover,
.legacy-events article:hover {
  transform: translateY(-7px);
}
.legacy-service-grid img,
.legacy-events article img,
.legacy-intro__photo img,
.legacy-location > img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.legacy-service-grid article:hover img,
.legacy-events article:hover img {
  transform: scale(1.025);
}
.legacy-intro__photo,
.legacy-service-grid article > img,
.legacy-events article > img {
  overflow: hidden;
}
.motion-ready .motion-item {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--motion-delay, 0ms);
}
.motion-ready .motion-item.motion-left {
  transform: translate3d(-42px, 0, 0);
}
.motion-ready .motion-item.motion-right {
  transform: translate3d(42px, 0, 0);
}
.motion-ready .motion-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.legacy-social a {
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}
.legacy-social a:hover {
  transform: translateX(5px) rotate(5deg);
  background: var(--blue);
}
@keyframes waterLight {
  from {
    transform: translate3d(-3%, -1%, 0) rotate(-1deg);
    opacity: 0.55;
  }
  to {
    transform: translate3d(4%, 2%, 0) rotate(1deg);
    opacity: 0.95;
  }
}
@media (max-width: 900px) {
  .legacy-hero__content {
    transform: none;
  }
  .motion-ready .motion-item.motion-left,
  .motion-ready .motion-item.motion-right {
    transform: translate3d(0, 28px, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .legacy-hero__background {
    transform: scale(1.025);
    will-change: auto;
  }
  .legacy-hero::before {
    animation: none;
  }
  .legacy-hero__content,
  .motion-ready .motion-item,
  .motion-ready .motion-item.motion-left,
  .motion-ready .motion-item.motion-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .legacy-intro__photo img {
    transform: none;
    will-change: auto;
  }
  .legacy-home .legacy-pill,
  .legacy-home .legacy-outline,
  .legacy-service-grid article,
  .legacy-events article,
  .legacy-service-grid img,
  .legacy-events article img {
    transition: none;
  }
}

/* Reszponzív címtördelés: a hosszú magyar szavak nem lóghatnak ki és nem
   szakadhatnak le néhány betűs sorokra. */
.legacy-home h1,
.legacy-home h2,
.legacy-home h3,
.legacy-home .legacy-large-link {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.legacy-services h2 {
  font-size: clamp(27px, 4vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.015em;
}
.legacy-service-grid h3 {
  font-size: clamp(26px, 3vw, 36px);
}
.legacy-location__quote h2 {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: clamp(0.12em, 1.8vw, 0.42em);
}
.legacy-large-link {
  font-size: clamp(26px, 4vw, 42px);
}
@media (max-width: 340px) {
  .legacy-services h2 {
    font-size: 24px;
  }
}

/* Egységes főoldali szegmensrács: szolgáltatások, események, megközelítés, footer. */
@media (min-width: 1051px) {
  .legacy-intro,
  .legacy-intro__copy {
    height: auto;
    min-height: 777px;
  }
  .legacy-intro__photo {
    top: 0;
    bottom: 0;
    height: auto;
  }
}

.legacy-section-title {
  max-width: 100%;
  margin: 0 0 30px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--blue);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.legacy-section-lead {
  max-width: 720px;
  margin: -8px 0 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.legacy-services {
  min-height: 0;
  padding: 58px 0 72px;
  background: #292929;
  color: #fff;
}
.legacy-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
}
.legacy-service-grid .legacy-service-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(35, 137, 201, 0.72);
  background: #242424;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  color: #fff;
}
.legacy-service-grid .legacy-service-card > img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.legacy-service-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 30px;
}
.legacy-service-grid .legacy-service-card h3 {
  min-height: 0;
  margin: 0 0 22px;
  text-align: left;
  color: #fff;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.12;
}
.legacy-service-grid .legacy-service-card h3 a {
  color: inherit;
  text-decoration: none;
}
.legacy-service-grid .legacy-service-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.58;
}
.legacy-service-lead {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(35, 137, 201, 0.7);
}
.legacy-service-fees {
  margin: 0 0 20px;
}
.legacy-service-fees > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(35, 137, 201, 0.55);
}
.legacy-service-fees dt,
.legacy-service-fees dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.38;
}
.legacy-service-fees dd {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}
.legacy-service-actions {
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding-top: 12px;
}
.legacy-service-actions .legacy-pill {
  width: min(300px, 100%);
  margin: 0 auto;
  text-transform: uppercase;
}

.legacy-events {
  height: auto;
  min-height: 0;
  padding: 58px 0 72px;
  overflow: visible;
  background: var(--blue);
  color: #fff;
}
.legacy-events .legacy-section-title {
  margin-left: 0;
  border-bottom-color: rgba(255, 255, 255, 0.86);
  color: #fff;
}
.legacy-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.legacy-events .legacy-event-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: rgb(38, 54, 79);
  box-shadow: 0 15px 38px rgba(8, 39, 58, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.legacy-events .legacy-event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 21px 48px rgba(8, 39, 58, 0.28);
}
.legacy-events .legacy-event-card__media {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #324158, #2389c9);
  text-align: left;
}
.legacy-events .card-media-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1b2830;
}
.legacy-events .card-media-frame__blur {
  position: absolute;
  z-index: 0;
  inset: -12%;
  width: 124%;
  height: 124%;
  max-width: none;
  object-fit: cover;
  filter: blur(22px);
  transform: scale(1.08);
  opacity: 0.82;
}
.legacy-events .card-media-frame__image {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.legacy-event-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font: 400 18px "Aboreto", sans-serif;
  letter-spacing: 0.12em;
}
.legacy-event-card time {
  width: 68px;
  height: 75px;
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  padding: 8px;
  background: #fff;
  color: rgb(38, 54, 79);
  border-radius: 10px;
  z-index: 3;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.16);
}
.legacy-event-card time b {
  display: block;
  font: 400 24px/1 "Aboreto", sans-serif;
}
.legacy-event-card time span {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.legacy-events .legacy-event-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
  text-align: left;
}
.legacy-events .legacy-event-card h3 {
  margin: 0 0 12px;
  color: rgb(38, 54, 79);
  font: 400 clamp(25px, 2.2vw, 32px)/1.14 "Aboreto", sans-serif;
  overflow-wrap: break-word;
}
.legacy-event-card__meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  color: rgb(38, 54, 79);
}
.legacy-event-card__meta span {
  padding: 7px 9px;
  border-radius: 999px;
  background: rgb(224, 239, 246);
  color: rgb(38, 54, 79);
  font-size: 11px;
}
.legacy-event-card__summary {
  margin: 0 0 20px;
  color: rgb(38, 54, 79);
  font-size: 18px;
  line-height: 1.6;
}
.legacy-events .legacy-event-card__link {
  width: auto;
  height: auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: auto auto 0;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(35, 137, 201, 0.24);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.legacy-events .legacy-event-card__link:hover,
.legacy-events .legacy-event-card__link:focus-visible {
  transform: translateY(-2px);
  background: #176da2;
  box-shadow: 0 11px 22px rgba(35, 137, 201, 0.32);
}
.legacy-event-empty {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  text-align: center;
  color: #fff;
}
.legacy-section-link {
  width: min(300px, 100%);
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 34px auto 0;
  border: 1px solid #fff;
  border-radius: 100px;
  color: #fff;
  text-decoration: none;
  font: 400 13px "Aboreto", sans-serif;
}

.legacy-location {
  height: auto;
  min-height: 0;
  padding: 78px 0 82px;
  isolation: isolate;
  background: url("/assets/current-location.png") center / cover no-repeat;
  color: #fff;
}
.legacy-location::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(16, 23, 31, 0.84), rgba(16, 23, 31, 0.58));
}
.legacy-location__content {
  position: relative;
  z-index: 1;
}
.legacy-location .legacy-location__quote {
  width: auto;
  max-width: none;
  position: static;
  left: auto;
  top: auto;
  transform: none;
  text-align: center;
}
.legacy-location .legacy-location__quote h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: 0.32em;
}
.legacy-location .legacy-location__quote p {
  max-width: 650px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(18px, 2.4vw, 25px);
  line-height: 1.55;
}
.legacy-location__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: stretch;
  margin-top: 58px;
}
.legacy-location__copy {
  padding: 34px;
  background: rgba(17, 25, 34, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(7px);
}
.legacy-location__copy h2 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
}
.legacy-location__copy h3 {
  margin: 28px 0 10px;
  color: #fff;
  font-size: 23px;
}
.legacy-location__copy p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.58;
}
.legacy-route-button {
  width: min(280px, 100%);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px auto 0;
  border-radius: 100px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font: 400 13px "Aboreto", sans-serif;
}
.legacy-map-embed {
  --map-header-crop: 68px;
  height: 520px;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #e7e7e7;
}
.legacy-map-embed iframe {
  width: 100%;
  height: calc(520px + var(--map-header-crop));
  min-height: calc(520px + var(--map-header-crop));
  display: block;
  border: 0;
  transform: translateY(calc(-1 * var(--map-header-crop)));
}
.legacy-location__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 45px;
}
.legacy-handwritten-link {
  color: #fff;
  font: 400 clamp(32px, 4vw, 46px)/1 "Lobster", cursive;
  text-decoration: none;
}
.legacy-location__actions .legacy-pill {
  width: min(320px, 100%);
  margin: 0;
}

.legacy-site-footer {
  padding: 42px 0 18px;
  background: var(--blue);
  color: #fff;
}
.legacy-site-footer a {
  color: #fff;
}
.legacy-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 58px;
}
.legacy-site-footer section {
  min-width: 0;
}
.legacy-site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.legacy-footer-block::before {
  width: 26px;
  display: block;
  content: "";
  margin-bottom: 14px;
  border-top: 2px solid rgba(255, 255, 255, 0.9);
}
.legacy-site-footer p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.45;
}
.legacy-site-footer strong {
  font-weight: 700;
}
.legacy-site-footer h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
.legacy-footer-social-row {
  display: flex;
  align-items: center;
  gap: 22px;
}
.legacy-facebook-mark {
  width: 28px;
  height: 28px;
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  font: 700 18px/1 Arial, sans-serif;
  text-decoration: none;
}
.legacy-site-footer__thanks {
  padding: 0;
  border: 0;
}
.legacy-site-footer__made {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 0 !important;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  text-align: center;
  font-style: normal;
  font-size: 11px !important;
  letter-spacing: 0.05em;
}
.legacy-site-footer__made a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}
.legacy-site-footer__made img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

@media (max-width: 1050px) {
  .legacy-service-grid,
  .legacy-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .legacy-location__grid,
  .legacy-site-footer__grid {
    grid-template-columns: 1fr;
  }
  .legacy-site-footer__grid {
    gap: 38px;
  }
}
@media (max-width: 680px) {
  .legacy-services,
  .legacy-events {
    padding: 50px 0 58px;
  }
  .legacy-service-grid,
  .legacy-event-grid {
    grid-template-columns: 1fr;
  }
  .legacy-service-grid .legacy-service-card > img {
    height: 250px;
  }
  .legacy-service-card__body {
    padding: 23px 20px 26px;
  }
  .legacy-service-grid .legacy-service-card h3 {
    max-width: 100%;
    font-size: clamp(17px, 5.6vw, 23px);
    letter-spacing: -0.01em;
  }
  .legacy-service-grid .legacy-service-card h3 a {
    max-width: 100%;
    display: block;
  }
  .legacy-service-fees > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .legacy-service-fees dd {
    text-align: left;
  }
  .legacy-location {
    padding: 58px 0 64px;
    background-position: 35% center;
  }
  .legacy-location__grid {
    margin-top: 42px;
  }
  .legacy-location__copy {
    padding: 26px 21px;
  }
  .legacy-map-embed {
    height: 390px;
    min-height: 390px;
  }
  .legacy-map-embed iframe {
    height: calc(390px + var(--map-header-crop));
    min-height: calc(390px + var(--map-header-crop));
  }
  .legacy-location__actions {
    flex-direction: column;
    gap: 22px;
  }
  .legacy-location__actions .legacy-pill {
    margin: 0;
  }
  .legacy-site-footer {
    padding-top: 40px;
  }
  .legacy-site-footer p {
    font-size: 13px;
  }
  .legacy-site-footer__made {
    flex-wrap: wrap;
    row-gap: 4px;
  }
}
