/* Cuppanós lekvár. A színek a logóból és a Facebook-borítóból vannak mintázva. */
:root {
  --cream: #fbf6e8;
  --cream-2: #f4ecd7;
  --cloth: #e9dbbd;
  --ink: #2c1230;
  --plum: #4b1d55;
  --jam: #7e1d3a;
  --muted: #6c5a6f;
  --line: rgba(44, 18, 48, .16);
  --radius: 22px;
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --body: "Instrument Sans", Arial, sans-serif;
  --hand: "Caveat Brush", "Segoe Script", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
section[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 3px solid var(--jam); outline-offset: 3px; border-radius: 4px; }

h1, h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: .98;
  text-wrap: balance;
}
h1 { font-size: clamp(3.3rem, 7.2vw, 7.25rem); }
h2 { font-size: clamp(2.5rem, 5.2vw, 4.75rem); }
h3 { font-family: var(--hand); font-weight: 400; font-size: 2rem; line-height: 1.1; }

.wrap { width: min(1280px, 100%); margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
.center { text-align: center; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.4; }
.eyebrow { font-family: var(--hand); font-size: 1.65rem; line-height: 1.1; color: var(--jam); margin-bottom: .6rem; }
.eyebrow--light { color: var(--cloth); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Gombok */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: .35em 1.25em;
  background: var(--ink); color: var(--cream);
  border: 2px solid var(--ink); border-radius: 12px;
  font-family: var(--hand); font-size: 1.6rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn:hover { background: var(--jam); border-color: var(--jam); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn--small { min-height: 44px; font-size: 1.3rem; padding: .25em 1em; }
.btn--grow { flex: 1; }

/* Felső sáv és menü */
.topbar {
  background: var(--plum); color: var(--cream);
  text-align: center; font-family: var(--hand); font-size: 1.15rem; line-height: 1.2; padding: 7px 16px;
}
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 8px clamp(16px, 4vw, 48px);
  background: var(--cream);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 1px 0 var(--line);
}
.nav__logo img { width: auto; height: 54px; }
.nav__links { display: flex; gap: clamp(16px, 2.6vw, 38px); }
.nav__links a {
  font-family: var(--hand); font-size: 1.4rem; line-height: 1; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat;
  padding-bottom: 3px; transition: background-size .2s ease, color .2s ease;
}
.nav__links a:hover { background-size: 100% 2px; color: var(--jam); }

/* Nyitókép */
.hero {
  display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: min(calc(100svh - 104px), 860px);
}
.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 64px) clamp(32px, 5vw, 72px) max(clamp(16px, 4vw, 48px), calc((100vw - 1280px) / 2 + 48px));
}
.hero__badge {
  align-self: flex-start; margin-bottom: 1.1rem; padding: .32em .95em;
  border: 2px solid var(--plum); border-radius: 999px; color: var(--plum);
  font-family: var(--hand); font-size: 1.5rem; line-height: 1;
}
.hero h1 em {
  display: inline-block;
  font-family: var(--hand); font-style: normal; font-weight: 400; color: var(--jam);
  letter-spacing: -.01em; font-size: 1.14em; line-height: .9;
  transform: rotate(-2deg); transform-origin: left bottom;
}
.hero__lead { margin-top: 1.5rem; max-width: 34em; font-size: clamp(1.15rem, 1.55vw, 1.4rem); line-height: 1.42; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero__meta { margin-top: 1.4rem; color: var(--muted); font-size: 1rem; }
.hero__media { position: relative; min-height: 420px; }
.hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }

.sticker {
  position: absolute; left: -66px; bottom: 56px; width: 132px; height: 132px;
  border-radius: 50%; background: var(--ink); color: var(--cream);
  display: grid; place-items: center;
}
.sticker svg { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.sticker text { fill: currentColor; font-family: var(--display); font-weight: 600; font-size: 21px; }
.sticker img { width: 52px; height: auto; filter: brightness(0) invert(.94) sepia(.2); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Futó felirat */
.marquee { overflow: hidden; padding: 16px 0; background: var(--cream); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  background: var(--ink); color: var(--cream); border-radius: 999px;
  font-family: var(--hand); font-size: 1.5rem; line-height: 1; padding: .42em 1em; white-space: nowrap;
}
@keyframes slide { to { transform: translateX(calc(-100% / 3 - 4px)); } }

/* Miért cuppan? */
.cupp { background: var(--ink); color: var(--cream); padding-block: clamp(64px, 9vw, 128px); margin-top: 8px; border-radius: 28px; }
.cupp__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cupp h2 { color: var(--cream); }
.dict {
  margin-block: 1.6rem 1.2rem; padding-left: 1rem; border-left: 3px solid var(--cloth);
  font-family: var(--display); font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.25; letter-spacing: -.01em;
}
.dict i { font-style: normal; color: var(--cloth); }
.cupp__text > p:not(.dict):not(.eyebrow) { max-width: 34em; color: #e9e0e6; }
.cupp__clips { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); }
.clip__frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 9 / 16; }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip figcaption { margin-top: .6rem; font-family: var(--hand); font-size: 1.45rem; line-height: 1.1; text-align: center; color: var(--cloth); }

/* Egyetlen összetevő */
.one { padding-block: clamp(72px, 10vw, 136px) clamp(48px, 6vw, 80px); }
.one__sub { font-family: var(--hand); font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.2; color: var(--jam); margin-top: .35rem; }
.one .lead { margin-top: .5rem; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin-top: clamp(32px, 5vw, 64px); }
.card {
  background: var(--cream-2); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.6vw, 36px);
  text-align: center;
}
.card img { height: 128px; width: auto; margin: 0 auto 18px; }
.card p { margin-top: .5rem; color: var(--muted); }

/* Így készül */
.steps { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 112px); }
.steps__head { margin-bottom: clamp(28px, 4vw, 52px); }
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.step img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.step h3 { display: flex; align-items: center; gap: .4em; margin-top: 1rem; }
.step h3 span {
  display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; flex: none;
  border-radius: 50%; background: var(--plum); color: var(--cream); font-size: .85em; line-height: 1;
}
.step p { margin-top: .4rem; color: var(--muted); max-width: 30em; }
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 6vw, 72px);
  border-block: 1px solid var(--line);
}
.stats > div { padding: clamp(20px, 3vw, 36px) clamp(12px, 2vw, 28px); border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; font-size: clamp(2.4rem, 4.6vw, 4.25rem); line-height: 1; color: var(--plum); }
.stats dd { margin-top: .5rem; color: var(--muted); font-size: 1rem; line-height: 1.35; }

/* Termék */
.product { background: var(--cream-2); padding-block: clamp(64px, 8vw, 112px); border-radius: 28px; }
.product__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: center; scroll-margin-top: 100px; }
.product__media img { width: 100%; border-radius: var(--radius); }
.size { margin-top: .7rem; color: var(--muted); font-size: 1.125rem; }
.spec { margin-top: 1.4rem; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 600; }
.buy { display: flex; gap: 12px; margin-top: 1.3rem; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 12px; flex: none; }
.qty button {
  width: 48px; height: 52px; border: 0; background: none; color: inherit; cursor: pointer;
  font-family: var(--display); font-size: 1.5rem; line-height: 1; border-radius: 10px;
}
.qty button:hover { background: var(--cloth); }
.qty output { min-width: 1.6em; text-align: center; font-family: var(--display); font-weight: 600; font-size: 1.25rem; }
.buy__note { margin-top: .9rem; color: var(--muted); font-size: .93rem; line-height: 1.45; }
.next {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem;
  margin-top: 1.6rem; padding: 1rem 1.2rem; border-radius: 14px; border: 1px dashed rgba(44, 18, 48, .35);
}
.next a { font-family: var(--hand); font-size: 1.35rem; line-height: 1; white-space: nowrap; color: var(--jam); text-decoration: none; }
.next a:hover { text-decoration: underline; }

/* Mire jó? */
.uses { padding-block: clamp(64px, 9vw, 128px); }
.uses__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.uses__media img { width: 100%; border-radius: var(--radius); }
.uses__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(24px, 3vw, 40px); }
.use { background: var(--cream-2); border-radius: 18px; padding: 22px 22px 24px; }
.use p { margin-top: .35rem; color: var(--muted); line-height: 1.4; }
.use--xmas { background: var(--plum); color: var(--cream); }
.use--xmas p { color: #eadfe8; }

/* Kérdések */
.faq { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 9vw, 120px); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__art { width: 150px; margin-top: 2rem; }
.faq__list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 1.05rem 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -.01em; line-height: 1.2;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5em; font-weight: 400; line-height: 1; color: var(--jam); transition: transform .2s ease; flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 1.2rem; max-width: 38em; color: var(--muted); }

/* Zárás */
.final { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 104px); }
.final__logo { width: clamp(200px, 26vw, 300px); margin: 0 auto 24px; }
.final .lead { margin-block: .8rem 1.6rem; }
.final__vine { position: absolute; bottom: 0; width: clamp(90px, 13vw, 180px); opacity: .9; pointer-events: none; }
.final__vine--l { left: clamp(0px, 3vw, 48px); }
.final__vine--r { right: clamp(0px, 3vw, 48px); }

/* Lábléc */
.footer { background: var(--ink); color: var(--cream); padding-block: clamp(32px, 4vw, 56px); border-radius: 28px 28px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 16px 48px; align-items: start; }
.footer__brand { font-family: var(--hand); font-size: 2.25rem; line-height: 1; }
.footer ul { display: grid; gap: .25rem; text-align: right; }
.footer a { text-decoration: underline; text-underline-offset: 3px; }
.footer__small { grid-column: 1 / -1; color: #bfaec0; font-size: .875rem; }

/* Telefonos ragadós sáv */
.stickybar { display: none; }

/* Megjelenő szakaszok */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__logo img { height: 46px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: 32px 16px 28px; }
  .hero__media { aspect-ratio: 4 / 4.4; min-height: 0; }
  .sticker { left: auto; right: 12px; bottom: 12px; width: 104px; height: 104px; }
  .sticker img { width: 40px; }
  .hero__badge { font-size: 1.3rem; }
  .cupp__grid, .product__grid, .uses__grid, .faq__grid { grid-template-columns: 1fr; }
  .cards3, .steps__list { grid-template-columns: 1fr; }
  .card { display: grid; grid-template-columns: 84px 1fr; gap: 0 16px; text-align: left; align-items: center; }
  .card img { grid-row: span 2; height: 84px; margin: 0; justify-self: center; }
  .card p { margin-top: .2rem; }
  .product { padding-block: 28px 48px; }
  .product__media img { aspect-ratio: 4 / 3; max-height: 52vh; object-fit: cover; object-position: 50% 62%; }
  .step img { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .faq__art { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer ul { text-align: left; }
  .footer { padding-bottom: 88px; }
  .stickybar {
    position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 8px 8px 16px; border-radius: 16px;
    background: var(--cream); box-shadow: 0 6px 24px rgba(44, 18, 48, .28);
    transition: transform .25s ease, opacity .25s ease;
  }
  .stickybar[hidden] { display: flex; transform: translateY(140%); opacity: 0; pointer-events: none; }
}

@media (max-width: 640px) {
  .final__vine, .topbar__more { display: none; }
}

@media (max-width: 420px) {
  .buy { flex-direction: column; }
  .qty { justify-content: space-between; }
  .spec > div { grid-template-columns: 6em 1fr; }
  .uses__cards { grid-template-columns: 1fr; }
  .topbar { font-size: 1.02rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .sticker svg { animation: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; padding-inline: 16px; }
  .marquee__track span:nth-child(n+7) { display: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

@media print {
  .nav, .stickybar, .marquee, .sticker { display: none; }
}
