.rise-in { animation: rise-in 1.15s var(--ease) var(--d, 0s) both; }

.page-hero {
  --pb-x: 0px; --pb-y: 0px;
  --pm-x: 0px; --pm-y: 0px;
  --pf-x: 0px; --pf-y: 0px;
  position: relative;
  z-index: 1;
  padding: calc(var(--hh) + clamp(28px, 3.4vw, 56px)) 0 clamp(130px, 12vw, 200px);
  overflow: clip;
  background: var(--bg);
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.page-hero__glow {
  position: absolute;
  left: -20vw;
  top: -24vw;
  width: 70vw;
  height: 70vw;
  max-width: 1000px;
  max-height: 1000px;
  border-radius: 50%;
  filter: blur(60px);
  background: radial-gradient(circle, #fffdfa 0%, rgba(247, 238, 229, .9) 45%, transparent 70%);
  transform: translate3d(var(--pb-x), var(--pb-y), 0);
}
.page-hero__arc {
  position: absolute;
  top: 46%;
  right: max(-180px, calc(50% - 920px));
  width: min(780px, 62vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #f5ebe3 0%, #f1e5db 34%, rgba(241, 229, 219, .4) 52%, rgba(241, 229, 219, 0) 66%);
  transform: translate3d(var(--pm-x), calc(-50% + var(--py, 0px) + var(--pm-y)), 0);
}
.page-hero__line {
  position: absolute;
  top: 44%;
  right: max(-90px, calc(50% - 820px));
  width: min(640px, 50vw);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(196, 168, 128, .45);
  -webkit-mask-image: linear-gradient(200deg, #000 30%, transparent 75%);
  mask-image: linear-gradient(200deg, #000 30%, transparent 75%);
  transform: translate3d(0, calc(-50% + var(--py, 0px)), 0);
}
.page-hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(36px, 5vw, 96px);
  align-items: center;
}
.page-hero--szoveg .page-hero__grid { grid-template-columns: minmax(0, 880px); }
.page-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 1.4rem + 3.3vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.018em;
  color: #2b2522;
  text-wrap: balance;
}
.page-title em { font-style: italic; letter-spacing: -.02em; }
.page-hero .lead { max-width: 33em; margin-top: 1.4rem; }
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 2.1rem;
}
.page-hero__media { justify-self: end; width: min(100%, 470px); margin-right: clamp(0px, 3vw, 48px); }
.page-hero .waves--hero { height: clamp(110px, 11vw, 200px); }

.breadcrumb { margin-bottom: clamp(1.2rem, 2vw, 1.8rem); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .3em .45em; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .45em; font-size: .8rem; line-height: 1.4; color: var(--mocha); }
.breadcrumb .ico { width: .95em; height: .95em; color: var(--gold); stroke-width: 1.8; }
.breadcrumb a {
  color: var(--mocha);
  text-decoration: none;
  background-image: linear-gradient(var(--taupe), var(--taupe));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .45s var(--ease), color .3s;
}
.breadcrumb a:focus-visible { background-size: 100% 1px; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

.arch-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  transform: translate3d(0, var(--py, 0px), 0);
}
.arch-frame::before {
  content: '';
  position: absolute;
  inset: -14px 14px 14px -14px;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(196, 168, 128, .6);
  transition: transform .55s var(--ease);
  pointer-events: none;
}
.arch-frame__clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: var(--sand);
  box-shadow: 0 40px 70px -40px rgba(90, 62, 44, .55), 0 0 0 1px rgba(255, 255, 255, .6);
}
.arch-frame__clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, calc(var(--py, 0px) * -.7), 0) scale(1.08);
  transition: filter .6s var(--ease);
}
.arch-frame--fekvo { aspect-ratio: 5 / 4.2; }

.section { position: relative; padding: clamp(64px, 7vw, 112px) 0; }
.section--szoros { padding-block: clamp(40px, 4.5vw, 72px); }
.section-head { max-width: 40rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.text-block {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.text-block__head { position: sticky; top: calc(var(--hh-scrolled) + 32px); }
.text-block--kozep { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.text-block--kozep .text-block__head { position: static; text-align: center; }
.text-block--kozep .text-block__head .lead { margin-inline: auto; }

.prose {
  max-width: 68ch;
  font-size: clamp(1rem, .96rem + .2vw, 1.09rem);
  line-height: 1.78;
  color: var(--text);
}
.prose > * + * { margin-top: 1.05em; }
.prose h2 {
  margin-top: 1.9em;
  font: 500 clamp(1.9rem, 1.3rem + 1.4vw, 2.6rem)/1.08 var(--serif);
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}
.prose h3 {
  margin-top: 1.7em;
  font: 500 clamp(1.45rem, 1.15rem + .7vw, 1.85rem)/1.15 var(--serif);
  color: var(--ink);
}
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose > :first-child { margin-top: 0; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose a {
  color: var(--taupe-d);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: color .3s;
}
.prose ul, .prose ol { display: grid; gap: .55em; }
.prose ul li { position: relative; padding-left: 1.7em; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: .2em;
  top: .62em;
  width: .52em;
  height: .52em;
  border-radius: 50%;
  background: rgba(216, 194, 164, .45);
  box-shadow: inset 0 0 0 1.3px var(--taupe);
}
.prose ol { counter-reset: tetel; }
.prose ol li { position: relative; padding-left: 2.3em; counter-increment: tetel; }
.prose ol li::before {
  content: counter(tetel);
  position: absolute;
  left: 0;
  top: .12em;
  display: grid;
  place-items: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  font: 600 .78em/1 var(--sans);
  color: var(--taupe-d);
  box-shadow: inset 0 0 0 1px rgba(160, 124, 102, .5);
}
.prose blockquote {
  margin: 1.6em 0 0;
  padding: .2em 0 .2em 1.4em;
  border-left: 1px solid var(--gold);
  font: italic 500 clamp(1.3rem, 1.05rem + .6vw, 1.6rem)/1.4 var(--serif);
  color: var(--ink);
}
.prose figure img { border-radius: 22px; }
.prose figcaption { margin-top: .7em; font-size: .82rem; color: var(--mocha); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95em; }
.prose th, .prose td { padding: .75em .9em; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; color: var(--ink); }
.table-wrap { overflow-x: auto; }

.media-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 120px);
  align-items: center;
}
.media-block__media { position: relative; justify-self: center; width: min(100%, 500px); }
.media-block--fordított .media-block__media { order: -1; }
.media-block__orb {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 135%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 235, 227, .95) 0%, rgba(241, 229, 219, .55) 40%, rgba(241, 229, 219, 0) 66%);
  transform: translate3d(-50%, calc(-50% + var(--py, 0px)), 0);
  pointer-events: none;
}
.media-block .check-list { margin-top: 1.6rem; }
.media-block__actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 2rem; }

.section--homok {
  padding: clamp(130px, 12vw, 200px) 0 clamp(120px, 11vw, 180px);
  overflow-x: clip;
  isolation: isolate;
}
.section__band {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 70% at 24% 50%, rgba(255, 252, 247, .85), transparent 70%),
    radial-gradient(40% 60% at 90% 20%, rgba(255, 244, 228, .5), transparent 70%),
    linear-gradient(180deg, #f4ebe2 0%, #efe3d7 100%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='none'%3E%3Cpath d='M0 70C260 20 520 40 760 80S1220 130 1440 60V720C1200 780 940 756 700 736S220 700 0 744Z' fill='%23fff'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='none'%3E%3Cpath d='M0 70C260 20 520 40 760 80S1220 130 1440 60V720C1200 780 940 756 700 736S220 700 0 744Z' fill='%23fff'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.section--homok .media-block__orb {
  background: radial-gradient(circle, rgba(255, 253, 249, .9) 0%, rgba(250, 242, 233, .55) 45%, rgba(250, 242, 233, 0) 68%);
}

.wave-divider {
  position: relative;
  height: clamp(70px, 8vw, 130px);
  margin-block: clamp(-30px, -2vw, -10px);
  pointer-events: none;
  overflow-x: clip;
}
.wave-divider svg {
  position: absolute;
  left: -6%;
  width: 112%;
  height: 100%;
  max-width: none;
  overflow: visible;
}
.wd-mist { fill: rgba(236, 222, 207, .5); }
.wave-divider .ribbon { stroke-width: 26; opacity: .9; }
.js .wave-divider:not(.is-drawn) path.lw-line { stroke-dashoffset: 1; }
.wave-divider.is-drawn path.lw-line { animation: draw-from 2.4s var(--ease) both; }
@keyframes draw-from { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.faq-block {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.faq { display: grid; gap: 12px; }
.faq__item {
  border-radius: 22px;
  background: rgba(255, 252, 249, .86);
  box-shadow: inset 0 0 0 1px rgba(184, 157, 119, .24), 0 18px 40px -32px rgba(110, 78, 58, .45);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.faq__item[open] {
  background: #fffdfb;
  box-shadow: inset 0 0 0 1px rgba(184, 157, 119, .4), 0 26px 50px -30px rgba(110, 78, 58, .45);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px 20px 26px;
  list-style: none;
  cursor: pointer;
  border-radius: inherit;
  font: 500 clamp(1.18rem, 1rem + .45vw, 1.42rem)/1.25 var(--serif);
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(160, 124, 102, .45);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--taupe-d);
  transform: translate(-50%, -50%);
  transition: transform .45s var(--ease), background-color .35s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--taupe); box-shadow: none; }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 26px 24px; }
.faq__answer.prose { max-width: none; font-size: 1rem; }

@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size .5s var(--ease), content-visibility .5s var(--ease) allow-discrete;
  }
  .faq__item[open]::details-content { block-size: auto; }
}

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 56px;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(239, 227, 218, .85), transparent 60%),
    #fffbf8;
  box-shadow: inset 0 0 0 1px rgba(184, 157, 119, .26), var(--shadow-soft);
}
.cta-card__waves {
  position: absolute;
  inset: auto -6% -2px;
  z-index: -1;
  width: 112%;
  height: clamp(44px, 5vw, 76px);
  max-width: none;
  pointer-events: none;
}
.cta-card__waves .wd-mist { fill: rgba(239, 227, 218, .55); }
.cta-card { padding-bottom: clamp(44px, 5.5vw, 76px); }
.cta-card .h3 { font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.3rem); text-wrap: balance; }
.cta-card .lead { margin-top: .8rem; }
.cta-card__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; justify-content: flex-end; }

.page-hero__note { margin-top: 18px; font-size: .92rem; color: var(--mocha); }

.dev-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 46rem;
  margin-top: 1.8rem;
  padding: 14px 18px;
  border: 1px dashed rgba(160, 124, 102, .55);
  border-radius: 16px;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--mocha);
  background: rgba(255, 252, 249, .7);
}
.dev-note strong { color: var(--ink); }
.dev-note a { color: var(--taupe-d); font-weight: 600; }

@media (hover: hover) and (pointer: fine) {
  .breadcrumb a:hover { color: var(--ink); background-size: 100% 1px; }
  .prose a:hover { color: var(--ink); }
  .media-block:hover .arch-frame::before,
  .page-hero__media:hover .arch-frame::before { transform: translate(-5px, 5px); }
  .media-block:hover .arch-frame__clip img { filter: saturate(1.05); }
  .faq__item summary:hover .faq__icon { box-shadow: inset 0 0 0 1px var(--taupe); }
  .faq__item:not([open]) summary:hover { color: var(--taupe-d); }
}

@media (max-width: 1080px) {
  .text-block,
  .faq-block { grid-template-columns: 1fr; }
  .text-block__head { position: static; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-card__actions { justify-content: flex-start; }
}

@media (max-width: 820px) {
  .page-hero { padding: calc(var(--hh) + 24px) 0 clamp(96px, 22vw, 130px); }
  .page-hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .page-hero__media { justify-self: center; width: min(100% - 40px, 400px); margin: 0; }
  .page-hero__arc { top: 72%; right: -50%; width: 140vw; }
  .page-hero__line { display: none; }
  .page-hero .waves--hero { height: 96px; }

  .media-block { grid-template-columns: 1fr; gap: 56px; }
  .media-block--fordított .media-block__media { order: 0; }
  .media-block__media { width: min(100% - 40px, 420px); }

  .section--homok { padding: 110px 0 110px; }
  .section--homok .band-waves .lw-line { display: none; }
  .faq__item summary { padding: 18px 16px 18px 20px; }
  .faq__answer { padding: 0 20px 20px; }
}

@media (max-width: 560px) {
  .page-hero__actions .btn,
  .media-block__actions .btn,
  .cta-card__actions .btn { width: 100%; }
  .arch-frame::before { inset: -10px 10px 10px -10px; }
}

.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; justify-self: start; }
.cta-band__link {
  font-size: .94rem;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
  text-shadow: 0 1px 14px rgba(90, 62, 44, .35);
}
@media (hover: hover) and (pointer: fine) {
  .cta-band__link:hover { text-decoration-thickness: 2px; }
}
@media (max-width: 560px) {
  .cta-band__actions { width: 100%; }
}
@media (min-width: 1281px) {
  .cta-band__inner:has(.cta-band__actions) { gap: 32px clamp(48px, 5vw, 80px); }
  .cta-band__actions { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (min-width: 821px) and (max-width: 1280px) {
  .cta-band__inner:has(.cta-band__actions) { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-inline: clamp(0px, 4vw, 56px); }
  .cta-band__inner:has(.cta-band__actions) .h2 { max-width: 22em; }
  .cta-band__inner:has(.cta-band__actions) .lead { max-width: 44em; }
}

.section:has(+ .cta-band) { padding-bottom: calc(clamp(64px, 7vw, 112px) + clamp(80px, 8vw, 130px)); }
