:root {
  color-scheme: light;
  --navy: #091c2b;
  --navy-dark: #071723;
  --paper: #fbf8f1;
  --ink: #192b37;
  --muted: #4e5b60;
  --gold: #edcf95;
  --campaign-red: #a8020b;
  --bronze: #805b2a;
  --line: #ded7c9;
  --gutter: clamp(1.25rem, 5.8vw, 6.5rem);
  --content: 76rem;
  --star-image: url("arany-csillanas-v3.svg");
  --fx-play: running;
  font-family: "Times New Roman", Times, serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden], dialog:not([open]) { display: none !important; }
::selection { color: var(--navy); background: #efcf92; }
:focus-visible { outline: 3px solid #ad721d; outline-offset: 5px; }
.hero :focus-visible, .contact :focus-visible,
.site-footer :focus-visible { outline-color: #ffe1a2; }
.shell { width: min(var(--content), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.icon-definitions { width: 0; height: 0; position: absolute; overflow: hidden; pointer-events: none; }
.icon {
  display: inline-block; flex: 0 0 auto; width: 1.25rem; height: 1.25rem;
  fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round;
}
.skip-link {
  position: absolute; top: .7rem; left: .7rem; z-index: 8;
  padding: .65rem 1rem; background: #fff9ec; color: var(--ink); transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

/* Karácsonyi nyitókép */
.hero {
  position: relative; isolation: isolate; overflow: hidden; background: #071827; color: #fffaf2;
  --crop-x: 63%; --crop-y: 53%;
}
.hero-art, .hero-art picture, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: 0; }
.hero-art img { object-fit: cover; object-position: var(--crop-x) var(--crop-y); }
.hero-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 20, 34, .94) 0%, rgba(6, 24, 38, .82) 25%, rgba(6, 23, 36, .37) 43%, rgba(7, 21, 32, .04) 60%, transparent 80%),
    linear-gradient(0deg, rgba(4, 16, 27, .34), transparent 32%);
}
.hero-inner {
  position: relative; z-index: 2; min-height: clamp(32rem, 39.8vw, 39.5rem);
  display: grid; grid-template: auto 1fr / minmax(0, 1fr); justify-items: start;
  row-gap: clamp(1.5rem, 2.5vw, 2.6rem);
  padding-block: clamp(1rem, 2vw, 1.9rem) clamp(3.1rem, 4.9vw, 5.2rem);
}
.home-link {
  display: inline-flex; align-items: center; gap: .48rem; min-height: 2.75rem;
  padding: .42rem .88rem; border: 1px solid #ac956b91; border-radius: 2rem;
  background: #081a2ac9; color: #f5e7cf; font-size: .9rem; line-height: 1.25; text-decoration: none;
}
.home-link:hover { background: #132a3c; border-color: var(--gold); }
.home-link .icon { width: 1.02rem; height: 1.02rem; color: var(--gold); }
.hero-copy {
  width: min(49%, 38.25rem); align-self: center; container-type: inline-size;
  --hero-title-size: clamp(3.2rem, 6.45vw, 5.65rem);
}
.hero-kicker, .section-kicker {
  display: flex; align-items: center; gap: .67rem; margin: 0;
  text-transform: uppercase; font-size: .875rem; font-weight: 650; line-height: 1.4; letter-spacing: .135em;
}
.hero-kicker { color: #f0d399; }
.hero-kicker .icon { width: 1.2rem; height: 1.2rem; stroke-width: 1.45; }
.kicker-rule { flex: 0 0 1.9rem; height: 1px; background: currentColor; opacity: .85; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
.hero h1, .details h2, .contact h2 { font-weight: 700; font-style: italic; }
.hero h1 {
  margin-block: 1.05rem 1.35rem; font-size: var(--hero-title-size);
  line-height: 1.02; letter-spacing: -.042em; text-shadow: 0 2px 12px rgba(0, 0, 0, .14);
}
.hero h1 em { display: block; position: relative; width: max-content; max-width: 100%; white-space: nowrap; color: #ffda8f; }
.foil-letters { display: inline-block; padding-inline: .05em .1em; margin-inline: -.05em -.1em; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .foil-letters {
    background-image: linear-gradient(168deg, #fff3c7 7%, #ffdf95 37%, #eeb659 59%, #ffdf93 76%, #fff0b7 98%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent; text-shadow: none;
  }
}
.foil-track {
  pointer-events: none; position: absolute; left: 0; right: 0; bottom: -.065em; height: 1px;
  background: linear-gradient(90deg, transparent, #d7ae5f77 16%, #edc97b99 48%, #d7ae5f77 82%, transparent);
}
.foil-track i {
  position: absolute; left: 60%; top: 0; width: 21%; height: 2px; transform: translate(-100%, -25%);
  background: linear-gradient(90deg, transparent, #ffe3a6 88%, white); box-shadow: 0 0 7px #ffd47b50;
  animation: foil-glint 5.6s ease-in-out -1.65s infinite; animation-play-state: var(--fx-play);
}
.foil-track i::after {
  content: ""; position: absolute; left: 100%; top: 50%; width: clamp(1.7rem, .62em, 3.5rem);
  aspect-ratio: 1; transform: translate(-50%, -50%) rotate(8deg);
  background: var(--star-image) center / contain no-repeat;
}
@keyframes foil-glint {
  0% { left: 4%; opacity: .1; }
  13% { opacity: 1; }
  61% { left: 94%; opacity: 1; }
  74%, 100% { left: 96%; opacity: 0; }
}
@supports (font-size: 1cqi) {
  .hero h1 { font-size: min(var(--hero-title-size), 15.3cqi); }
}
.hero-lead {
  max-width: 25.8rem; margin: 0; color: #f0f1ee; font-size: clamp(1.02rem, 1.3vw, 1.17rem);
  line-height: 1.65; text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}
.button {
  display: inline-flex; justify-content: center; align-items: center; text-decoration: none;
  margin-top: 1.95rem; width: min(100%, clamp(14rem, 21vw, 19.5rem)); min-height: clamp(3.6rem, 5.3vw, 5.25rem);
  padding: .55rem 1.65rem; border: 3px solid #fff; border-radius: 999px;
  color: #fff; background: var(--campaign-red);
  box-shadow: inset 0 .2rem .35rem #ffffff59, inset 0 0 .2rem #ffffff66, 0 .35rem 1.15rem #04101d59;
  font-size: clamp(1.45rem, 2.25vw, 2rem); font-weight: 700; font-style: italic; line-height: 1.08;
}
.button:hover { background: #bc0711; }
.button:active { box-shadow: inset 0 .14rem .35rem #41000985; }
.winter-fx { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.snow-field, .gold-dust { position: absolute; inset: 0; pointer-events: none; }
.gold-dust {
  --light-angle: 104deg;
  --grain: url("arany-szemcsek-v5.svg") 17px -9px / 373px 263px repeat;
  overflow: hidden; isolation: isolate; border-radius: inherit;
  background-color: rgba(228, 167, 67, .027);
}
.gold-dust--ribbon::before, .gold-glints::before {
  position: absolute; top: 0; bottom: 0; left: -100%; width: 200%;
  background-size: 50% 100%; background-repeat: repeat-x;
  animation: gold-reflection 9.8s linear -1.9s infinite;
  animation-play-state: var(--fx-play);
}
.gold-dust--ribbon {
  --grain: url("arany-szemcsek-v5.svg") 9px -20px / 270px 190px repeat;
  background-color: transparent;
}
.gold-dust--ribbon::before {
  content: "";
  background-image: linear-gradient(var(--light-angle),
    transparent 33%, rgba(223, 155, 54, .04) 41%,
    rgba(240, 182, 76, .13) 47%, rgba(252, 206, 114, .22) 50%,
    rgba(243, 182, 73, .12) 53%, rgba(220, 153, 53, .035) 60%, transparent 67%
  );
}
.gold-dust::after {
  content: ""; position: absolute; inset: 0;
  background: var(--grain); opacity: .54;
}
.gold-glints { display: none; }
/* A szemcsék helyben maradnak, a vándorló fény sorban csillan meg rajtuk. */
@supports ((mask-image: linear-gradient(black, transparent)) or (-webkit-mask-image: linear-gradient(black, transparent))) {
  .gold-glints {
    display: block; position: absolute; inset: 0; z-index: 1;
    -webkit-mask: var(--grain); mask: var(--grain); mask-mode: alpha;
  }
  .gold-glints::before {
    content: "";
    background-image: linear-gradient(var(--light-angle),
      transparent 20%, rgba(251, 184, 68, .16) 34%,
      rgba(255, 204, 105, .65) 43%, #ffe7a7 50%, rgba(255, 207, 113, .72) 57%,
      rgba(245, 175, 67, .15) 69%, transparent 80%
    );
  }
}
.voucher-photo .gold-dust, .poster-print .gold-dust { opacity: .84; }
@keyframes gold-reflection {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(50%, 0, 0); }
}
.flake {
  position: absolute; top: -.6rem; left: var(--start); width: var(--size); height: var(--size);
  border-radius: 50%; background: #f6fbff; box-shadow: 0 0 2px #ecf7ff50; opacity: 0;
}
@media (prefers-reduced-motion: reduce) { :root { --fx-play: paused; } }
html[data-motion="on"] { --fx-play: running; }
html[data-motion="off"], html.page-hidden, .outside-view { --fx-play: paused; }
html[data-motion="off"] .gold-dust { visibility: hidden; }
@media (forced-colors: active) {
  .foil-letters { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}
[data-motion="on"] .flake { animation: snowfall var(--duration) linear var(--delay) infinite; animation-play-state: var(--fx-play); }
@keyframes snowfall {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  10%, 82% { opacity: var(--opacity); }
  100% { transform: translate3d(var(--drift), var(--fall), 0); opacity: 0; }
}
.motion-toggle {
  position: absolute; z-index: 3; bottom: 1.05rem; right: max(var(--gutter), (100% - var(--content)) / 2);
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 2.75rem;
  padding: .38rem .82rem; border: 1px solid #e5e1d18c; border-radius: 2rem;
  background: #081a2aca; color: #fff9ec; font-size: .875rem;
}
.motion-toggle .icon { width: .95rem; height: .95rem; }
.motion-toggle:hover { background: var(--navy); border-color: var(--gold); }

/* Az ajánlat röviden */
.facts {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff8eb; background: var(--campaign-red);
  border-block: 1px solid #c59b60;
}
.facts-inner {
  --ribbon-gap: clamp(1.5rem, 3.3vw, 3.75rem);
  position: relative; z-index: 1; list-style: none; padding: clamp(1.7rem, 2.3vw, 2.25rem) 0; margin-block: 0;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, .94fr); column-gap: var(--ribbon-gap);
}
.facts-inner li {
  position: relative; min-width: 0; display: flex; align-items: center; justify-content: center; gap: .8rem;
  padding: .1rem .25rem;
  font-size: clamp(1.125rem, 1.75vw, 1.5rem); font-weight: 700; line-height: 1.18;
  text-transform: uppercase; text-wrap: balance;
}
.facts-inner li + li::before {
  content: ""; position: absolute; inset-block: .12rem; left: calc(var(--ribbon-gap) / -2);
  width: 1px; background: rgba(255, 221, 158, .43);
}
.facts-inner .icon { color: #ffdda0; width: 1.7rem; height: 1.7rem; stroke-width: 1.55; }

/* Utalvány és felhasználás */
.details { background: var(--paper); padding-block: clamp(3.5rem, 6.6vw, 7rem); }
.details-grid {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.04fr);
  align-items: center; gap: clamp(2.5rem, 6vw, 6.5rem);
}
.section-kicker { color: var(--bronze); font-size: .875rem; letter-spacing: .13em; }
.details h2, .contact h2 { font-size: clamp(2.7rem, 4.25vw, 4.45rem); line-height: 1.04; letter-spacing: -.04em; }
.details h2 { margin: .7rem 0 1.65rem; color: var(--ink); }
.details h2 em { color: #76552f; }
.uses { list-style: none; margin: 0; padding: 0; }
.uses li { display: flex; align-items: flex-start; gap: 1rem; padding: 1.02rem 0; border-top: 1px solid var(--line); }
.uses li:last-child { padding-bottom: 0; }
.use-icon {
  width: 2.72rem; height: 2.72rem; flex: 0 0 auto; display: grid; place-items: center;
  color: var(--bronze); background: #f1ecdf; border: 1px solid #ded0b8; border-radius: 50%;
}
.use-icon .icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.55; }
.uses h3 { font-size: clamp(1.44rem, 2vw, 1.8rem); font-weight: 700; line-height: 1.18; letter-spacing: -.018em; }
.uses p { margin: .23rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.55; max-width: 43ch; }
.voucher-figure { margin: 0; min-width: 0; }
.voucher-photo { position: relative; margin: 0 .5rem 0 0; isolation: isolate; }
.voucher-photo::before {
  content: ""; position: absolute; z-index: -1; inset: .65rem -.5rem -.5rem .65rem;
  border-right: 1px solid #baa274; border-bottom: 1px solid #baa274;
}
.voucher-photo img { width: 100%; height: auto; border-radius: .18rem; }
.voucher-figure figcaption { display: flex; justify-content: flex-end; margin-top: .8rem; }
.poster-link {
  display: inline-flex; align-items: center; gap: .48rem; min-height: 2.75rem;
  font-size: .94rem; font-weight: 550; text-decoration: underline; text-decoration-color: #a99c8b; text-underline-offset: .25rem;
}
.poster-link .icon { width: 1.08rem; height: 1.08rem; color: var(--bronze); }
.poster-link:hover { color: #7e2533; text-decoration-color: currentColor; }

/* Rendelés és karácsonyi kézbesítés */
.contact { position: relative; isolation: isolate; overflow: hidden; color: #fff8eb; background: #0d2538; border-top: 1px solid #a38960; }
.contact-landscape, .contact::before { position: absolute; inset: 0; pointer-events: none; }
.contact-landscape { display: block; z-index: -2; }
.contact-landscape img { width: 100%; height: 100%; object-fit: cover; object-position: center 51%; }
.contact::before {
  content: ""; z-index: -1;
  background: linear-gradient(98deg, rgba(5, 25, 53, .90) 0%, rgba(8, 33, 69, .84) 35%, rgba(9, 38, 76, .70) 63%, rgba(6, 28, 60, .83) 100%);
}
@media (forced-colors: active) { .contact-landscape { display: none; } }
.contact-inner {
  display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  align-items: center; gap: clamp(2.25rem, 5.6vw, 5.25rem); padding-block: clamp(3.25rem, 5.6vw, 5.7rem);
  font-size: clamp(1.0625rem, 1.26vw, 1.17rem); line-height: 1.58;
}
.contact h2 em { color: var(--gold); }
.contact h2 { margin: 0 0 1rem; font-size: clamp(2.65rem, 3.9vw, 4.1rem); }
.order-intro { margin: 0; }
.email-address { font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: .18em; }
.email-address:hover { color: var(--gold); }
.mail-subject { margin: .75rem 0 1.4rem; }
.mail-subject strong { color: #ffe2a7; }
.order-list-title { margin: 0 0 .45rem; font-size: 1.23rem; font-weight: 700; }
.order-list { margin: 0; padding-inline-start: 1.2em; }
.order-list li { padding-inline-start: .18em; }
.order-list li + li { margin-top: .45em; }
.order-list li::marker { color: var(--gold); }
.delivery-note { border-inline-start: 1px solid #e3c78d91; padding-inline-start: clamp(1.4rem, 2.6vw, 2.75rem); }
.delivery-note h3 { color: #ffe2a7; font-size: clamp(1.6rem, 2.55vw, 2.4rem); font-weight: 700; line-height: 1.13; }
.delivery-note p { margin: .8rem 0 0; }
.delivery-note .order-closing { margin-top: 1rem; font-style: italic; }
.site-footer { color: #e5e4de; background: var(--navy-dark); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.1rem; }
.footer-mark { width: 8.45rem; height: auto; }
.site-footer a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: .3em; }

/* Eredeti plakát */
html.poster-open { overflow: hidden; }
.poster-dialog {
  max-width: min(44rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem);
  padding: 0; overflow: auto; border: 1px solid #b99e6c; border-radius: .32rem; color: var(--ink); background: var(--paper);
  box-shadow: 0 2rem 6rem #0005;
}
.poster-dialog::backdrop { background: #04101de8; }
.poster-panel { padding: .6rem .8rem .25rem; }
.poster-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.poster-bar h2 { font-size: 1.55rem; }
.close-poster {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  background: transparent; border: 0; border-radius: .2rem; color: var(--ink);
}
.close-poster:hover { background: #ebe4d5; }
.close-poster:focus-visible { outline-offset: -3px; }
.poster-image { display: grid; place-items: center; }
.poster-print { position: relative; max-width: 100%; min-width: 0; }
.poster-image img { width: auto; height: auto; max-height: calc(100vh - 9.4rem); max-height: calc(100dvh - 9.4rem); object-fit: contain; }
.full-poster { display: flex; justify-content: center; align-items: center; min-height: 2.75rem; text-underline-offset: .18em; font-size: .94rem; }

@media (min-width: 48rem) and (max-width: 62rem) {
  .hero-inner { min-height: 29rem; }
  .hero-copy { width: 52%; --hero-title-size: clamp(3.2rem, 6.3vw, 3.95rem); }
  .hero { --crop-x: 58%; --crop-y: 50%; }
  .hero-art::after { background: linear-gradient(90deg, #061625f2 4%, #081c30ce 33%, #081c3060 51%, transparent 68%); }
  .hero-lead { max-width: 22rem; }
}
@media (max-width: 55.99rem) {
  .details-grid { gap: 2.25rem; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .delivery-note { border-inline-start: 0; border-top: 1px solid #e3c78d91; padding: 1.65rem 0 0; }
}
@media (max-width: 47.99rem) {
  :root { --gutter: clamp(1.22rem, 5.5vw, 2.5rem); }
  .gold-dust { --light-angle: 98deg; }
  .hero { --mobile-photo: clamp(14.5rem, 58vw, 22.5rem); --crop-x: 50%; --crop-y: 59%; padding-bottom: var(--mobile-photo); }
  .hero-art { inset: auto 0 0; height: calc(var(--mobile-photo) + 1.5rem); }
  .hero-art::after { background: linear-gradient(180deg, #071827 0%, #07182755 18%, transparent 40%), linear-gradient(0deg, #06152451, transparent 28%); }
  .hero-inner { min-height: auto; padding-block: 1rem .35rem; row-gap: 1.45rem; }
  .hero-copy { width: 100%; max-width: 34rem; --hero-title-size: min(13.1vw, 4.9rem); }
  .hero h1 { margin-block: .9rem .9rem; }
  .hero-lead { max-width: 31rem; font-size: 1.04rem; line-height: 1.52; }
  .button { margin-top: 1.3rem; }
  .hero-kicker { gap: .5rem; font-size: .82rem; letter-spacing: .1em; }
  .hero-kicker .kicker-rule { flex-basis: 1.35rem; }
  .hero-kicker .icon { width: 1.08rem; height: 1.08rem; }
  .motion-toggle { right: var(--gutter); bottom: .65rem; }
  .facts-inner {
    --ribbon-gap: clamp(.85rem, 2.7vw, 1.4rem);
    width: min(45rem, calc(100% - 1.5rem)); min-height: 7.25rem; padding-block: .9rem;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) minmax(0, 1fr); align-content: center;
  }
  .facts-inner li {
    flex-direction: column; justify-content: flex-start; gap: .42rem; padding-inline: .125rem;
    text-align: center; font-size: clamp(1.0625rem, 3.15vw, 1.25rem);
  }
  .facts-inner .icon { width: 1.45rem; height: 1.45rem; }
  .details { padding-block: 3.1rem 2.4rem; }
  .details-grid { grid-template-columns: minmax(0, 1fr); gap: 2.1rem; }
  .details-copy, .voucher-figure { width: 100%; max-width: 38rem; margin-inline: auto; }
  .details h2 { margin-bottom: 1.35rem; }
  .uses p { max-width: 53ch; }
  .voucher-figure figcaption { justify-content: flex-start; }
  .contact-landscape img { object-position: 15% 53%; }
  .contact::before {
    background: linear-gradient(100deg, rgba(6, 26, 55, .89), rgba(8, 34, 70, .82) 58%, rgba(10, 38, 76, .76));
  }
  .contact-inner { padding-block: 3.2rem 3.8rem; }
  .footer-inner { flex-wrap: wrap; gap: .35rem 1.2rem; }
  .footer-mark { width: 7.2rem; }
}
@media (max-width: 30rem) {
  .facts-inner { width: min(25rem, calc(100% - 2rem)); grid-template-columns: 1fr; row-gap: .2rem; padding-block: .55rem; }
  .facts-inner li {
    flex-direction: row; align-items: center; justify-content: flex-start; gap: .85rem;
    min-height: 2.5rem; padding: .4rem 0; text-align: left;
    font-size: clamp(1.0625rem, 4.55vw, 1.2rem);
  }
  .facts-inner li + li { border-top: 1px solid rgba(255, 221, 158, .43); }
  .facts-inner li + li::before { display: none; }
}
@media (max-width: 23rem) {
  .details .section-kicker { gap: .4rem; letter-spacing: .09em; }
  .details .kicker-rule { flex-basis: .9rem; }
  .uses li { gap: .5rem; }
  .use-icon { width: 2.4rem; height: 2.4rem; }
}
