/* Piece of Cake — paleta i typografia z identyfikacji wizualnej */
:root {
  --cream: #FBF9F6;
  --blush: #F6E6EA;
  --photo-bg: #F4EFF3;
  --sand: #F4EEE7;        /* ciepłe tło sekcji zamiast różu */
  --sand-2: #EADFD3;
  --pink: #EE93B6;        /* nagłówki Yeseva (co mówią o nas?) */
  --pink-soft: #F5B5CB;   /* duże nagłówki Open Sauce z obrysem */
  --brown: #5B3316;       /* logo */
  --navy: #24457F;        /* gwiazdki */
  --ink: #3A2A21;
  --muted: #7A6559;
  --white: #fff;

  --f-script: "Yeseva One", Georgia, serif;
  --f-sans: "Open Sauce One", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 22px;
  --r-pill: 999px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(91, 51, 22, .06), 0 10px 30px rgba(91, 51, 22, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.65 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 400; }
p { margin: 0; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brown); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }

/* Open Sauce z obrysem w tym samym kolorze — pogrubia krój */
.os-bold {
  font-family: var(--f-sans);
  font-weight: 800;
  letter-spacing: -.025em;
  -webkit-text-stroke: .04em currentColor;
  paint-order: stroke fill;
}
.script { font-family: var(--f-script); color: var(--pink); font-size: clamp(44px, 7vw, 84px); letter-spacing: .01em; }
.title-pink { color: var(--pink); font-size: clamp(36px, 5.4vw, 64px); line-height: 1.02; }
.lead { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; }
.eyebrow { font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--muted); margin-bottom: 10px; }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px;
  border-radius: var(--r-pill); border: 2px solid var(--brown);
  background: var(--brown); color: #fff;
  font: 600 16px/1 var(--f-sans); text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(91, 51, 22, .18); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn--ghost { background: transparent; color: var(--brown); }
.btn--ghost:hover { background: var(--brown); color: #fff; }
.btn--light { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn.is-disabled { opacity: .45; pointer-events: none; }

/* Nawigacja */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 249, 246, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(91, 51, 22, .07); }
.nav__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.nav__brand { font-family: var(--f-script); color: var(--brown); font-size: 26px; text-decoration: none; letter-spacing: .02em; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; color: var(--ink);
  background-image: linear-gradient(var(--pink), var(--pink)); background-size: 0 2px; background-repeat: no-repeat; background-position: 12px calc(100% - 6px); transition: background-size .25s ease; }
.nav__links a:hover { background-size: calc(100% - 24px) 2px; }

/* Dekoracyjne gwiazdki */
.deco { position: absolute; color: var(--navy); width: 54px; height: 54px; pointer-events: none; }
.deco--1 { top: 60px; left: 5%; transform: rotate(-14deg); }
.deco--2 { top: 140px; right: 6%; width: 38px; height: 38px; transform: rotate(12deg); }
.deco--3 { top: 18%; right: 8%; width: 44px; height: 44px; transform: rotate(18deg); }
.deco--6 { top: 48px; left: 6%; width: 64px; height: 64px; transform: rotate(-8deg); }

/* HERO — zapisy + krótko o mnie */
.hero { position: relative; background: var(--sand); overflow: hidden; padding: clamp(20px, 3vw, 36px) 0 clamp(56px, 7vw, 96px); }
.hero__head { text-align: center; display: grid; justify-items: center; margin-bottom: clamp(20px, 2.4vw, 32px); }
.hero__arch { width: min(360px, 80%); height: auto; margin-bottom: -4px; }
.hero__arch text { font-family: var(--f-script); font-size: 140px; fill: var(--brown); letter-spacing: 2px; }
.hero h1 { color: var(--brown); font-size: clamp(32px, 4vw, 52px); line-height: 1.04; max-width: 24ch; }
.hero__sub { margin-top: 10px; color: var(--brown); font-size: clamp(17px, 1.6vw, 20px); max-width: 52ch; }
.hero__tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; max-width: 100%; }
.hero__tags li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px 8px 14px; border-radius: var(--r-pill); background: var(--cream); border: 1.5px solid var(--brown); color: var(--brown); font-weight: 600; font-size: 15px; line-height: 1.3; }
.hero__tags svg { width: 14px; height: 14px; color: var(--navy); flex: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }

.form-card { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.form-card iframe { display: block; width: 100%; height: min(1100px, 78vh); min-height: 640px; border: 0; }
.form-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 18px 22px; background: var(--sand); border-top: 1px solid rgba(91, 51, 22, .08); }
.form-card__foot p { margin: 0; color: var(--brown); font-weight: 600; font-size: 15px; }

.about-card { position: sticky; top: 92px; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.about-card img { width: 100%; height: 300px; object-fit: cover; object-position: 50% 20%; background: var(--photo-bg); }
.about-card__body { padding: 24px 26px 28px; display: grid; gap: 12px; }
.about-card .script { font-size: clamp(34px, 3.4vw, 44px); }
.about-card p { font-size: 16px; }
.about-card strong { color: var(--brown); }
.about-card__stat { margin-top: 6px; padding-top: 16px; border-top: 1px solid rgba(91, 51, 22, .1); color: var(--brown); font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.about-card__stat .os-bold { font-size: 28px; }
.stars { display: flex; gap: 3px; color: var(--navy); margin-left: auto; }
.stars svg { width: 18px; height: 18px; }

/* Wejście hero przy załadowaniu */
[data-enter] { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
[data-enter="2"] { animation-delay: .15s; }
[data-enter="3"] { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Sekcje */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section h2 { margin-bottom: clamp(28px, 4vw, 48px); }

/* Kalendarz adwentowy — zapowiedź w stylu kalendarza z Canvy */
.advent { --wine: #7A1E2C; --wine-2: #8C2A37; --wine-3: #6A1521; --door: #3E1018; background: #FFF3EF; color: var(--wine); overflow: hidden; }
.advent .script { color: var(--wine); }
.advent__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.advent__eyebrow { font: 800 15px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; color: #B0485A; }
.advent .lead { margin-bottom: 12px; max-width: 46ch; color: #5A1A24; }
.advent__note { margin-bottom: 28px; font-weight: 600; }
.btn--wine { background: var(--wine); border-color: var(--wine); }
.btn--wine:hover { box-shadow: 0 8px 18px rgba(122, 30, 44, .25); }

.house { display: block; text-decoration: none; filter: drop-shadow(0 0 26px rgba(246, 176, 150, .55)); -webkit-mask-image: linear-gradient(#000 72%, transparent 98%); mask-image: linear-gradient(#000 72%, transparent 98%); }
.house__body {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1.4vw, 14px);
  padding: 30% 6% 8%;
  clip-path: polygon(50% 0, 100% 27%, 100% 100%, 0 100%, 0 27%);
  background:
    linear-gradient(90deg, transparent 0 20%, rgba(0,0,0,.06) 20% 50%, rgba(255,255,255,.04) 50% 80%, transparent 80%),
    linear-gradient(180deg, var(--wine-3) 0 30%, var(--wine-2) 30% 55%, var(--wine) 55% 80%, var(--wine-3) 80%);
}
.door {
  position: relative; z-index: 1; aspect-ratio: 1; background: var(--door); color: #FBEDEA;
  display: grid; justify-items: center; align-content: start; padding-top: 8%;
  font: 400 clamp(14px, 1.6vw, 20px)/1 var(--f-script);
  transform-origin: left center; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
.door--scallop { --r: 5px; padding-top: calc(8% + var(--r));
  -webkit-mask: linear-gradient(#000 0 0) content-box, radial-gradient(var(--r), #000 96%, #0000) 0 0 / calc(2 * var(--r)) calc(2 * var(--r)) round;
  mask: linear-gradient(#000 0 0) content-box, radial-gradient(var(--r), #000 96%, #0000) 0 0 / calc(2 * var(--r)) calc(2 * var(--r)) round;
  padding: var(--r); padding-top: calc(8% + var(--r)); }
.house:hover .door { transform: perspective(500px) rotateY(-14deg); }
.house .door:hover { transform: perspective(500px) rotateY(-38deg); box-shadow: 8px 0 0 #2A0A10; }
.door.is-today { background: #F5CFC4; color: var(--wine); }
.burst { position: absolute; z-index: 0; pointer-events: none; }
.burst polygon { fill: currentColor; }
.burst--1 { width: 17%; height: 17%; left: 13%; top: 17%; color: #5C0F18; }
.burst--2 { width: 12%; height: 12%; left: 72%; top: 18%; color: #5C0F18; }
.burst--3 { width: 9%; height: 9%; left: 63%; top: 11%; color: #F5CFC4; }
.burst--4 { width: 5%; height: 5%; left: 33%; top: 15%; color: #F5CFC4; }
.burst--5 { width: 5%; height: 5%; left: 89%; top: 28%; color: #F5CFC4; }

.shop__card { background: var(--sand-2); border-radius: calc(var(--r) + 8px); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.shop__img { display: block; border-radius: var(--r); overflow: hidden; }
.shop__img img { width: 100%; height: auto; transition: transform .4s ease; }
.shop__img:hover img { transform: scale(1.03); }
.shop__body { display: grid; gap: 16px; justify-items: start; padding-right: clamp(0px, 2vw, 24px); }
.shop__card h2 { color: var(--brown); font-size: clamp(30px, 3.8vw, 48px); margin: 0; }
.shop__card .eyebrow { margin: 0; }
.shop__card p:not(.eyebrow) { max-width: 52ch; color: #4A2A1E; }
.shop__card .eyebrow { color: #7A3B2E; }

.reviews { text-align: center; background: var(--sand); }
.reviews .wrap { display: grid; justify-items: center; }
.reviews h2 { margin-bottom: 24px; }
.results { list-style: none; padding: 0; margin: 0 0 clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.results li { display: flex; align-items: baseline; gap: 8px; background: var(--white); border-radius: var(--r-pill); padding: 10px 20px; box-shadow: var(--shadow); }
.results strong { color: var(--brown); font-size: 26px; line-height: 1; }
.results span { color: var(--brown); font-weight: 600; font-size: 14px; }
.results__star { width: 24px; height: 24px; color: var(--navy); align-self: center; flex: none; }

/* Opinie jako wiadomości — kompaktowy „murek” */
.quotes { list-style: none; padding: 0; margin: 0 0 28px; width: 100%; text-align: left; columns: 3 300px; column-gap: 18px; position: relative; }
.quotes:empty { display: none; }
.quote { break-inside: avoid; margin: 0 0 18px; display: grid; gap: 8px; justify-items: start; }
.quote__tag { background: var(--brown); color: #fff; font-weight: 800; font-size: 12.5px; letter-spacing: .01em; padding: 5px 12px; border-radius: var(--r-pill); }
.quote__bubble { position: relative; background: var(--white); color: var(--ink); font-size: 15.5px; line-height: 1.55; padding: 16px 18px 20px; border-radius: 22px 22px 22px 6px; box-shadow: var(--shadow); transition: transform .2s ease; }
.quote:hover .quote__bubble { transform: translateY(-2px); }
.quote__heart { position: absolute; left: 12px; bottom: -13px; width: 28px; height: 28px; display: grid; place-items: center; font-size: 13px; background: var(--white); border-radius: 50%; box-shadow: 0 0 0 3px var(--sand); }
.quote__who { margin-left: 46px; color: var(--muted); font-size: 13.5px; }
.reviews__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.reviews__actions .btn { font: 600 16px/1 var(--f-sans); cursor: pointer; }


.footer { background: var(--brown); color: var(--cream); padding: 52px 0 28px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: 28px 40px; align-items: start; }
.footer__col { display: flex; flex-direction: column; gap: 8px; font-style: normal; }
.footer__col p { margin: 0; opacity: .85; }
.footer__company strong { font-weight: 600; }
.footer__company span { opacity: .85; }
.footer .nav__brand { color: var(--cream); margin-bottom: 4px; }
.footer a { color: var(--cream); text-decoration-color: rgba(251, 249, 246, .4); text-underline-offset: 4px; }
.footer a:hover { text-decoration-color: currentColor; }
.footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(251, 249, 246, .15); opacity: .7; font-size: 14px; }

/* Dokumenty (regulamin, polityka, standardy) */
.doc { padding: 40px 0 80px; }
.doc-page .nav__brand, .doc-page .nav .btn { white-space: nowrap; }
.doc__wrap { max-width: 820px; }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.doc-tabs a { padding: 8px 16px; border-radius: var(--r-pill); border: 1.5px solid rgba(91, 51, 22, .18); color: var(--brown); text-decoration: none; font-size: 14px; font-weight: 600; }
.doc-tabs a:hover { border-color: var(--brown); }
.doc-tabs a[aria-current="page"] { background: var(--brown); border-color: var(--brown); color: #fff; }
.doc__head { margin-bottom: 36px; }
.doc__head .script { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; }
.doc__meta { color: var(--muted); margin: 12px 0 18px; }
.doc__dl { display: flex; flex-wrap: wrap; gap: 10px; }
.doc__body { background: #fff; border-radius: var(--r); padding: clamp(24px, 5vw, 56px); box-shadow: 0 1px 0 rgba(91, 51, 22, .06), 0 18px 40px -24px rgba(91, 51, 22, .25); font-size: 16px; line-height: 1.7; color: var(--ink); }
.doc__body h2 { font: 800 clamp(20px, 2.4vw, 24px)/1.3 var(--f-sans); color: var(--brown); margin: 44px 0 14px; }
.doc__body h2:first-child, .doc-kids h2:first-child { margin-top: 0; }
.doc__body h3 { font: 700 18px/1.35 var(--f-sans); color: var(--brown); margin: 28px 0 10px; }
.doc__body p { margin: 0 0 12px; }
.doc__body a { color: var(--navy); }
.doc-pt { display: grid; grid-template-columns: 2.2em 1fr; }
.doc-pt .n, .doc-sub .n { font-weight: 600; color: var(--brown); }
.doc-sub { list-style: none; margin: -4px 0 14px 2.2em; padding: 0; }
.doc-sub li { display: grid; grid-template-columns: 1.8em 1fr; margin-bottom: 6px; }
.doc-list { margin: 0 0 14px 2.2em; padding-left: 1.1em; }
.doc-list li { margin-bottom: 6px; }
.doc-list li::marker { color: var(--brown); }
.doc-box { background: var(--sand); border-radius: 14px; padding: 16px 20px; margin: 8px 0 16px 2.2em; }
.doc-kids { background: var(--sand); border-radius: var(--r); padding: clamp(20px, 4vw, 36px); margin-bottom: 48px; }
.doc-kids .doc-box { background: #fff; margin-left: 0; }
.doc-full-title { padding-top: 8px; border-top: 1px solid rgba(91, 51, 22, .1); }

/* Responsywność */
@media (max-width: 1024px) {
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav .btn--sm { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .about-card { position: static; display: grid; grid-template-columns: 200px 1fr; }
  .about-card img { height: 100%; min-height: 260px; }
  .advent__in { grid-template-columns: 1fr; }
  .shop__card { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__links { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
  .house { max-width: 460px; width: 100%; justify-self: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .about-card { grid-template-columns: 1fr; }
  .about-card img { height: 280px; min-height: 0; }
  .form-card iframe { height: 80vh; min-height: 560px; }
  .form-card__foot { justify-content: center; text-align: center; }
  .hero__tags { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .hero__tags li { justify-content: center; text-align: left; padding: 8px 10px; gap: 6px; font-size: 13px; line-height: 1.25; border-radius: 16px; }
  .hero__tags svg { width: 12px; height: 12px; }
  .form-card__open { width: 100%; }
  .advent .btn, .shop__card .btn, .reviews .btn { width: 100%; }
  .shop__body { justify-items: stretch; }
  .footer__grid { grid-template-columns: 1fr; }
  .doc-page .nav .btn { padding: 0 14px; font-size: 14px; }
  .doc-pt { grid-template-columns: 1.8em 1fr; }
  .doc-sub, .doc-list, .doc-box { margin-left: 1em; }
  .deco { width: 32px; height: 32px; }
  .deco--1, .deco--2, .deco--6 { display: none; }
  .door--scallop { --r: 3px; }
  .results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .results li:last-child { grid-column: 1 / -1; }
  .results li { flex-direction: column; align-items: center; gap: 4px; border-radius: 18px; padding: 14px 10px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
