/* =========================================================
   Bajka o Mnie – style landing page
   ========================================================= */
:root {
  --cream: #FFF8EE;
  --paper: #FFFFFF;
  --page: #FFFDF8; /* kolor kartek w książeczce */
  --line: #F1E9DC;
  --ink: #2B2A4C;
  --muted: #6B6889;
  --night: #1F2547;
  --night-2: #2E3670;
  --coral: #FF6F59;
  --coral-dark: #E8543F;
  --gold: #F6B93B;
  --mint: #7BC8A4;
  --lilac: #B8A4E3;
  --sky: #7DB9E8;
  --rose: #F28DB2;
  --radius: 22px;
  --shadow-sm: 0 4px 14px rgba(43, 42, 76, .08);
  --shadow: 0 18px 40px -12px rgba(43, 42, 76, .22);
  --font-head: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -.005em; }
a { color: var(--coral-dark); }
.text-white-75 { color: rgba(255,255,255,.78); }

/* ---------- Highlight ---------- */
.hl {
  color: var(--coral);
  font-style: normal;
  background: linear-gradient(transparent 48%, rgba(246,185,59,.38) 48%, rgba(246,185,59,.38) 80%, transparent 80%);
  padding: 0 .08em;
}
.hl--gold { color: var(--gold); background: none; }

/* ---------- Przyciski ---------- */
.btn-cta {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--coral);
  --bs-btn-border-color: var(--coral);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--coral-dark);
  --bs-btn-hover-border-color: var(--coral-dark);
  --bs-btn-active-bg: var(--coral-dark);
  --bs-btn-active-color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: .8rem 1.8rem;
  box-shadow: 0 10px 24px -8px rgba(255,111,89,.65);
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.btn-cta.btn-lg { padding: 1rem 2.2rem; font-size: 1.1rem; }
.btn-cta, .btn-ghost { white-space: nowrap; }
.btn-cta:focus-visible, .btn-ghost:focus-visible, .flip-btn:focus-visible { outline: 3px solid rgba(255,111,89,.45); outline-offset: 3px; }
.btn-cta.btn-sm { padding: .55rem 1.2rem; }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(255,111,89,.75); }
.btn-ghost {
  --bs-btn-color: var(--ink);
  --bs-btn-border-color: rgba(43,42,76,.18);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: var(--ink);
  --bs-btn-active-bg: #fff;
  border-radius: 999px; font-weight: 700; padding: 1rem 2rem; background: rgba(255,255,255,.6);
}
.btn-ghost.btn-lg { font-size: 1.1rem; padding: 1rem 2.2rem; }

/* ---------- Pasek promocji ---------- */
.promo-bar {
  background: var(--night);
  color: #fff;
  font-size: .9rem;
  padding: .55rem 0;
  text-align: center;
}
.promo-timer { display: inline-flex; gap: .35rem; }
.promo-timer > span {
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  padding: .05rem .45rem;
  font-variant-numeric: tabular-nums;
}
.promo-timer b { color: var(--gold); margin-right: 1px; }

/* ---------- Nawigacja ---------- */
.site-nav {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s;
  padding: 1.4rem 0; /* równy odstęp nad i pod (pod = odstęp do hero) */
}
.site-nav.is-fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; box-shadow: 0 6px 20px rgba(43,42,76,.08); animation: navIn .35s ease both; }
.site-nav.is-fixed.is-hiding { animation: navOut .3s ease both; }
@keyframes navIn { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes navOut { from { transform: none; } to { transform: translateY(-100%); } }
.site-nav .nav-link { font-weight: 700; color: var(--ink); }
.site-nav .nav-link:hover { color: var(--coral); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand span { font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; color: var(--ink); }
.brand em { font-style: normal; color: var(--coral); margin-left: .25rem; font-weight: 600; }
.brand--light span { color: #fff; }
.brand-logo { height: 34px; width: auto; display: block; }
@media (max-width: 575.98px) { .brand-logo { height: 26px; } }

/* ---------- Gwiazdki tła ---------- */
.hero-stars {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(2px 2px at 10% 20%, var(--gold) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 30% 80%, var(--lilac) 50%, transparent 51%),
    radial-gradient(2px 2px at 55% 12%, var(--coral) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 75% 65%, var(--gold) 50%, transparent 51%),
    radial-gradient(2px 2px at 90% 30%, var(--mint) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 45% 50%, var(--gold) 50%, transparent 51%),
    radial-gradient(2px 2px at 20% 60%, var(--coral) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 85% 90%, var(--lilac) 50%, transparent 51%);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: .75; } }

/* ---------- Hero (zaokrąglony box) ---------- */
.hero { padding: 0 0 1rem; background: #fff; } /* odstęp nad boxem = dolny padding nawigacji (równy górnemu) */
.hero-box {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  padding: 4rem 3.5rem;
  background:
    radial-gradient(600px 400px at 85% 25%, rgba(184,164,227,.38), transparent 70%),
    radial-gradient(500px 380px at 0% 100%, rgba(255,111,89,.16), transparent 70%),
    var(--cream);
}
@media (max-width: 991.98px) { .hero-box { padding: 3rem 2rem; } }
@media (max-width: 575.98px) { .hero-box { padding: 2.4rem 1.1rem 1.5rem; border-radius: 26px; } }
.eyebrow-pill {
  display: inline-block;
  background: #fff;
  border-radius: 999px;
  padding: .4rem 1rem;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.2rem;
}
.hero-title { font-size: clamp(2.1rem, 3.9vw, 3.4rem); margin-bottom: 1.2rem; }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 540px; margin: 0 auto 1.5rem; }
@media (min-width: 992px) { .hero-lead { margin-left: 0; } }

.hero-price { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.6rem; }
@media (min-width: 992px) { .hero .hero-price { justify-content: flex-start; } }
.price-now { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--coral); line-height: 1; }
.price-old { font-size: 1.3rem; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--coral); }
.price-badge {
  background: var(--gold); color: var(--ink); font-weight: 800; font-size: .85rem;
  padding: .3rem .8rem; border-radius: 999px; transform: rotate(-3deg);
}
.hero-trust { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; justify-content: center; font-weight: 700; font-size: .95rem; color: var(--muted); }
@media (min-width: 992px) { .hero-trust { justify-content: flex-start; } }
.hero-trust i { color: var(--mint); margin-right: .25rem; }

/* ---------- Książka 3D (okładka CSS) ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 2rem 0; }
.book-3d {
  position: relative;
  width: min(330px, 72vw);
  aspect-ratio: 3 / 4;
  perspective: 1400px;
  animation: floaty 6s ease-in-out infinite;
}
.book-3d--small { width: min(280px, 70vw); margin: 0 auto; animation: none; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.book-cover, .cover {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 6px 16px 16px 6px;
  background-color: var(--night);
  background-image:
    radial-gradient(circle at 50% 38%, rgba(246,185,59,.28), transparent 55%),
    linear-gradient(160deg, var(--night-2), var(--night) 70%);
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 1.5rem;
  overflow: hidden;
}
.book-cover {
  transform: rotateY(-16deg) rotateX(3deg);
  transform-origin: left center;
  box-shadow:
    inset 6px 0 10px -4px rgba(0,0,0,.45),
    20px 24px 40px -10px rgba(31,37,71,.55);
}
.book-3d::after { /* krawędź kartek */
  content: ""; position: absolute; top: 2.5%; right: -10px; width: 16px; height: 95%;
  background: repeating-linear-gradient(90deg, #f3ead8 0 2px, #fffaf0 2px 4px);
  border-radius: 0 6px 6px 0;
  transform: rotateY(-16deg) rotateX(3deg) translateZ(-8px);
  z-index: -1;
}
.book-cover::before, .cover--front::before { /* grzbiet */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px;
  background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.08) 60%, transparent);
}
.cover-kicker { font-family: var(--font-hand); font-size: 1.35rem; color: var(--gold); line-height: 1; margin-bottom: .6rem; }
.cover-photo {
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  border: 5px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(246,185,59,.25), 0 10px 25px rgba(0,0,0,.35);
  background: radial-gradient(circle at 50% 40%, #ffe3c7, #f6c69a);
  background-size: cover; background-position: center;
  display: grid; place-items: center;
  margin-bottom: .9rem;
  position: relative; z-index: 1;
}
.cover-title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 0; color: #fff; text-shadow: 0 3px 12px rgba(0,0,0,.4); word-break: break-word; }
.cover-sub { font-family: var(--font-head); font-weight: 500; color: #ffe9c2; font-size: 1.05rem; }
.cover-star { position: absolute; color: var(--gold); animation: twinkle 2.5s ease-in-out infinite alternate; }
.cover-star.s1 { top: 10%; left: 14%; font-size: 1.1rem; }
.cover-star.s2 { top: 18%; right: 14%; font-size: 1.4rem; animation-delay: .8s; }
.cover-star.s3 { bottom: 12%; right: 20%; font-size: .9rem; animation-delay: 1.4s; }

/* Placeholder zdjęć: znika gdy obraz się załaduje */
.ph-emoji { font-size: 3rem; }
.ph-label {
  position: absolute; bottom: .7rem; left: .7rem;
  font-size: .75rem; font-weight: 700; color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.25); padding: .15rem .55rem; border-radius: 6px;
}
.is-loaded > .ph-emoji, .is-loaded > .ph-label { display: none; }

/* Zdjęcie w hero: ukryte, dopóki img/hero.jpg się nie wczyta */
.hero-photo {
  display: none;
  width: min(520px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 220px 220px var(--radius) var(--radius);
  background-size: cover; background-position: center;
  box-shadow: var(--shadow);
}
.hero-photo.is-loaded { display: block; }
.hero-photo.is-loaded ~ .book-3d { display: none; }

.sticker {
  position: absolute;
  background: #fff; border-radius: 999px; padding: .5rem 1rem;
  font-weight: 800; font-size: .88rem;
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: floaty 5s ease-in-out infinite;
}
.sticker i { color: var(--coral); margin-right: .3rem; }
.sticker--a { top: 8%; left: 0; animation-delay: .5s; }
.sticker--b { top: 48%; right: 0; animation-delay: 1.2s; }
.sticker--c { bottom: 6%; left: 6%; animation-delay: 2s; }
.sticker--b i { color: var(--rose); }
.sticker--c i { color: var(--mint); }
@media (max-width: 575.98px) {
  .sticker { font-size: .75rem; padding: .35rem .75rem; }
  .sticker--a { left: 0; }
  .sticker--b { right: 0; }
}

/* ---------- Sekcje ---------- */
.section { padding: 6rem 0; position: relative; }
@media (max-width: 767.98px) { .section { padding: 4rem 0; } }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-weight: 800; font-size: .8rem; color: var(--coral); margin-bottom: .8rem;
}
.eyebrow--light { color: var(--gold); }

.bg-coral { background: var(--coral); }
.bg-gold { background: var(--gold); }
.bg-lilac { background: var(--lilac); }
.bg-mint { background: var(--mint); }
.bg-sky { background: var(--sky); }
.bg-rose { background: var(--rose); }

/* ---------- Sekcja „moment” ---------- */
.section-moment { background: var(--paper); }
.moment-img {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #ffcfa8, #f19a7f 50%, #8a6fd1);
  background-size: cover; background-position: center;
  box-shadow: var(--shadow);
  width: 100%;
}
.contrast-list { display: grid; gap: .9rem; margin: 1.6rem 0; }
.contrast-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.2rem; border-radius: 16px;
}
.contrast-item i { font-size: 1.6rem; line-height: 1; }
.contrast-item strong { display: block; }
.contrast-item span { color: var(--muted); }
.contrast-item--bad { background: #f2eff7; }
.contrast-item--bad i { color: var(--muted); }
.contrast-item--good { background: #fff1e6; border: 2px solid rgba(255,111,89,.3); }
.contrast-item--good i { color: var(--coral); }
.quote-line { font-family: var(--font-hand); font-size: 2rem; line-height: 1.1; color: var(--ink); }
.quote-line small { font-family: var(--font-body); font-size: .95rem; color: var(--muted); }


/* ---------- Flipbook ---------- */
.section-book {
  background:
    radial-gradient(700px 500px at 50% 0%, rgba(138,111,209,.35), transparent 70%),
    linear-gradient(180deg, var(--night), #171c3a);
  overflow: hidden;
}

.flipbook-wrap { max-width: 1000px; margin: 0 auto; }
.flipbook { margin: 0 auto; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.flipbook-wrap.is-front .flipbook { transform: translateX(calc(var(--shift, 0px) * -1)); }
.flipbook-wrap.is-back .flipbook { transform: translateX(var(--shift, 0px)); }
.flipbook .page { background: var(--page); overflow: hidden; }
.page-inner {
  height: 100%;
  display: flex; flex-direction: column;
  padding: 7% 8% 9%;
  background:
    linear-gradient(90deg, rgba(0,0,0,.06), transparent 8%),
    var(--page);
  position: relative;
}
.illus {
  position: relative;
  flex: 1 1 58%;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--g1, #3b3f8f), var(--g2, #8a6fd1));
  background-size: cover; background-position: center;
  margin-bottom: 1rem;
  min-height: 0;
}
.page-inner p {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(.8rem, 1.5vw, 1.05rem);
  line-height: 1.55;
  margin: 0;
  color: var(--ink);
}
.page-inner p b { color: var(--coral-dark); }
.page-num { position: absolute; bottom: 3%; left: 0; right: 0; text-align: center; font-size: .75rem; color: var(--muted); }

.cover--front { border-radius: 0; }
.cover--back { border-radius: 0; gap: .8rem; }
.cover--back p { font-family: var(--font-head); font-size: 1.4rem; line-height: 1.3; margin: 0; }
.cover--back em { color: var(--gold); font-style: normal; }
.back-brand { font-family: var(--font-head); font-size: .9rem; opacity: .6; position: absolute; bottom: 6%; }

.page-keepsake { align-items: center; justify-content: center; text-align: center; background: #fff9ef; }
.keepsake-head { font-family: var(--font-hand); font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--muted); }
.polaroid {
  background: #fff; padding: 8px 8px 0; margin: 1rem 0;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  transform: rotate(-3deg);
  width: 62%;
}
.polaroid-img {
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 40%, #ffe3c7, #f6c69a);
  background-size: cover; background-position: center;
  display: grid; place-items: center;
}
.polaroid-name { display: block; font-family: var(--font-hand); font-size: clamp(1.3rem, 2.6vw, 1.9rem); padding: .2rem 0 .3rem; }
.page-keepsake .keepsake-caption { font-family: var(--font-hand); font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.25; }
.keepsake-date { font-size: .8rem; color: var(--muted); margin-top: .6rem; text-transform: capitalize; }

.page-note { justify-content: center; text-align: center; background:
  repeating-linear-gradient(transparent 0 31px, rgba(125,185,232,.25) 31px 32px), #fffdf6; }
.note-head { font-family: var(--font-head); color: var(--coral); font-size: clamp(1rem, 2vw, 1.3rem); margin-bottom: 1rem; }
.page-inner .note-text { font-family: var(--font-hand); font-size: clamp(1.2rem, 2.3vw, 1.75rem); line-height: 1.3; white-space: pre-line; word-break: break-word; }
.note-sign { color: var(--coral); font-size: 1.6rem; margin-top: 1rem; }

.flip-controls { display: flex; justify-content: center; align-items: center; gap: 1.2rem; margin-top: 2rem; }
.flip-btn {
  width: 52px; height: 52px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.3rem;
  transition: background .2s, transform .2s;
}
.flip-btn:hover { background: var(--coral); transform: scale(1.06); }
.flip-counter { color: #fff; font-weight: 700; min-width: 110px; text-align: center; }
.flip-hint { text-align: center; color: rgba(255,255,255,.6); font-size: .9rem; margin: .8rem 0 0; }

/* Fallback jeśli biblioteka się nie wczyta: przewijanie poziome */
.flipbook--fallback { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.flipbook--fallback .page { flex: 0 0 min(80vw, 380px); aspect-ratio: 3 / 4; scroll-snap-align: center; border-radius: 8px; }
.flipbook:not(.flipbook--fallback):not(.stf__parent) .page:not(:first-child) { display: none; } /* przed inicjalizacją */
.flipbook:not(.flipbook--fallback):not(.stf__parent) .page:first-child { width: min(400px, 85vw); aspect-ratio: 3/4; margin: 0 auto; }

/* ---------- Okazje / prezent ---------- */
.gift-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  background: linear-gradient(160deg, #2f7a5f, #1f4a3c 60%, #8a2f2f);
  background-size: cover; background-position: center;
  box-shadow: var(--shadow);
}
.gift-badge {
  position: absolute; top: 1rem; left: 1rem;
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.95); color: var(--ink);
  font-weight: 800; font-size: .85rem;
  padding: .4rem .9rem; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.gift-badge i { color: var(--gold); }
.gift-feature {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: var(--cream); border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.5rem;
  margin-bottom: 2rem;
}
.gift-feature h3 { font-size: 1.7rem; margin-bottom: .3rem; }
.gift-feature p { color: var(--muted); margin-bottom: .9rem; }
.gift-feature-icon {
  width: 56px; height: 56px; border-radius: 18px; flex-shrink: 0;
  background: #2f7a5f; color: #fff; font-size: 1.5rem;
  display: grid; place-items: center;
}
.gift-deadline {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff; border-radius: 999px; padding: .35rem .9rem;
  font-weight: 700; font-size: .9rem; color: var(--coral-dark);
}
.occasions-label { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 1rem; }
.occasions { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.5rem; }
@media (max-width: 575.98px) { .occasions { grid-template-columns: 1fr; } .gift-feature { padding: 1.3rem; } }
.occasions li { display: flex; gap: .85rem; align-items: flex-start; }
.occasions strong { display: block; font-family: var(--font-head); font-size: 1.1rem; line-height: 1.2; margin-bottom: .1rem; }
.occasions li > span:last-child { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.occ-icon {
  width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
  background: var(--c); color: var(--i); font-size: 1.2rem;
  display: grid; place-items: center;
}

/* ---------- Opinie ---------- */
.section-reviews { background: var(--cream); }
.review {
  height: 100%; margin: 0; background: #fff; border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.review .stars { color: var(--gold); font-size: 1.2rem; letter-spacing: .1em; margin-bottom: .8rem; }
.review blockquote { font-size: 1.05rem; flex: 1; margin-bottom: 1.2rem; }
.review figcaption { display: flex; align-items: center; gap: .7rem; font-weight: 700; font-size: .95rem; color: var(--muted); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--lilac); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* ---------- Zamówienie ---------- */
.section-order { background: #fff; }
.order-preview { position: sticky; top: 120px; text-align: center; padding-top: 1rem; }
.order-preview .book-cover { transform: rotateY(-10deg); }
.preview-note { margin: 1.5rem 0 1rem; font-weight: 700; color: var(--muted); font-size: .9rem; }
.preview-note i { color: var(--coral); }
.included { list-style: none; padding: 0; margin: 0 auto; text-align: left; max-width: 340px; display: grid; gap: .45rem; font-weight: 600; }
.included li { display: flex; align-items: flex-start; gap: .45rem; }
.included i { color: var(--mint); font-size: 1.2rem; line-height: 1.4; flex-shrink: 0; }
@media (max-width: 991.98px) { .order-preview { position: static; } }

.order-card {
  background: #fff; border-radius: 28px; padding: 2.2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
@media (max-width: 575.98px) {
  .order-card { padding: 1.4rem; border-radius: 22px; }
}
.order-step { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.order-step h3 { font-size: 1.25rem; margin: 0; }
.order-step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .95rem; flex-shrink: 0; }
.form-label { font-weight: 700; font-size: .95rem; }
.form-control, .form-select { border-radius: 14px; border-color: #e7e1d6; }
.form-control:focus, .form-select:focus { border-color: var(--coral); box-shadow: 0 0 0 .25rem rgba(255,111,89,.18); }

.dropzone {
  display: block; cursor: pointer;
  border: 2.5px dashed #e3c9b8; border-radius: 20px;
  background: #fffaf5; padding: 1.8rem; text-align: center;
  transition: border-color .2s, background .2s, transform .2s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--coral); background: #fff3ec; }
.dropzone.is-drag { transform: scale(1.01); }
.dz-empty { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.dz-empty i { font-size: 2.6rem; color: var(--coral); }
.dz-empty small { color: var(--muted); }
.dz-filled { display: none; align-items: center; gap: 1rem; text-align: left; }
.dropzone.has-file { border-style: solid; border-color: var(--mint); background: #f3fbf7; padding: 1rem; }
.dropzone.has-file .dz-empty { display: none; }
.dropzone.has-file .dz-filled { display: flex; }
.dz-thumb { width: 72px; height: 72px; border-radius: 16px; background-size: cover; background-position: center; flex-shrink: 0; }
.dz-info { display: flex; flex-direction: column; min-width: 0; }
.dz-info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-change { color: var(--coral-dark); font-weight: 700; text-decoration: underline; }
.dz-warning { margin-top: .6rem; font-size: .9rem; background: #fff6dd; border-radius: 12px; padding: .6rem .9rem; }
.invalid-msg { color: #dc3545; font-size: .9rem; margin-top: .5rem; font-weight: 600; }
.dropzone.is-invalid { border-color: #dc3545; }

.summary { background: var(--cream); border-radius: 18px; padding: 1.2rem 1.4rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.summary-row > span:last-child { white-space: nowrap; text-align: right; }
.summary-row--save { color: #2f8a5f; font-weight: 700; }
.summary-total { border-top: 2px dashed #e7d9c8; margin-top: .4rem; padding-top: .8rem; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; }
.btn-order { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse {
  0%,100% { box-shadow: 0 10px 24px -8px rgba(255,111,89,.65), 0 0 0 0 rgba(255,111,89,.35); }
  50% { box-shadow: 0 10px 24px -8px rgba(255,111,89,.65), 0 0 0 12px rgba(255,111,89,0); }
}
.order-trust { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; font-size: .85rem; color: var(--muted); font-weight: 600; }
.order-trust i { color: var(--mint); }

/* ---------- Gwarancja ---------- */
.section-order + .section { background: #fff; }
.guarantee {
  display: flex; gap: 1.5rem; align-items: center;
  max-width: 820px; margin: 0 auto;
  background: #fff; border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-sm); border: 2px dashed var(--mint);
}
.guarantee h3 { font-size: 1.4rem; }
.guarantee p { color: var(--muted); }
.guarantee-seal { font-size: 3.5rem; color: var(--mint); line-height: 1; flex-shrink: 0; }
@media (max-width: 575.98px) { .guarantee { flex-direction: column; text-align: center; } }

/* ---------- FAQ ---------- */
.section-faq { background: var(--cream); }
.faq {
  max-width: 780px;
  --bs-accordion-border-color: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-bg: #fff;
  --bs-accordion-active-color: var(--coral-dark);
}
.faq .accordion-item {
  border: 1px solid transparent; background: #fff;
  border-radius: 18px !important; margin-bottom: .75rem;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq .accordion-item:has(.accordion-button:not(.collapsed)) { border-color: rgba(255,111,89,.25); box-shadow: 0 12px 30px -14px rgba(255,111,89,.35); }
.faq .accordion-button {
  font-family: var(--font-body); font-weight: 800; font-size: 1.05rem;
  color: var(--ink); background: #fff;
  padding: 1.15rem 1.4rem; gap: 1rem;
  box-shadow: none !important; border-radius: 0 !important;
}
.faq .accordion-button:not(.collapsed) { color: var(--coral-dark); background: #fff; }
.faq .accordion-button:focus { box-shadow: none; outline: none; }
.faq .accordion-button:focus-visible { outline: 2px solid var(--coral); outline-offset: -3px; border-radius: 18px !important; }
.faq .accordion-button::after {
  content: "+"; background: var(--cream); background-image: none;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 1.35rem; font-weight: 600; line-height: 1; color: var(--ink);
  transition: transform .3s ease, background-color .3s, color .3s;
}
.faq .accordion-button:not(.collapsed)::after { background-color: var(--coral); background-image: none; color: #fff; transform: rotate(45deg); }
.faq .accordion-body { color: var(--muted); padding: 0 1.4rem 1.3rem; }

.hero-price--light .price-old { color: rgba(255,255,255,.6); }

/* ---------- Stopka ---------- */
.site-footer { background: #141831; color: rgba(255,255,255,.62); padding: 4.5rem 0 0; font-size: .95rem; }
.footer-tagline { margin: 1.1rem 0 1.4rem; max-width: 320px; line-height: 1.6; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: #fff; font-size: 1.05rem;
  text-decoration: none; transition: background .2s, transform .2s;
}
.footer-social a:hover { background: var(--coral); transform: translateY(-2px); }
.footer-title { font-family: var(--font-body); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 1.1rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-list a, .footer-contact { color: rgba(255,255,255,.62); text-decoration: none; transition: color .2s; }
.footer-list a:hover, .footer-contact:hover { color: #fff; }
.footer-contact { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: #fff; margin-bottom: .6rem; }
.footer-hours { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem; }
.footer-pay { display: flex; flex-wrap: wrap; gap: .4rem; }
.footer-pay span { background: #fff; border-radius: 7px; height: 30px; padding: 0 .45rem; display: inline-flex; align-items: center; }
.footer-pay img { height: 16px; width: auto; display: block; }
.footer-pay img[alt="Visa"] { height: 12px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 3.5rem; padding: 1.6rem 0 2rem; font-size: .85rem;
}
.footer-bottom .bi-heart-fill { color: var(--coral); }
@media (max-width: 991.98px) { .footer-bottom { padding-bottom: 6.5rem; } } /* miejsce na mobilny pasek CTA */
@media (max-width: 575.98px) { .footer-bottom { flex-direction: column; text-align: center; } .site-footer { padding-top: 3.5rem; } }

/* ---------- Mobilny pasek CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 -8px 24px rgba(43,42,76,.12);
  transform: translateY(110%);
  transition: transform .35s ease;
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta-price strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--coral); margin-right: .5rem; }
.mobile-cta-price s { color: var(--muted); }

/* ---------- Modal ---------- */
.order-modal { border: none; border-radius: 28px; }
.modal-icon { font-size: 3.5rem; margin-bottom: .5rem; }

/* ---------- Białe sekcje: karty z delikatną ramką ---------- */
.contrast-item--bad { border: 1px solid var(--line); }

/* ---------- Animacje wejścia ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.legal-page { background: var(--cream); }
.legal-page .site-nav { background: rgba(255,248,238,.95); }
.legal { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.5rem, 4vw, 3.5rem); color: var(--ink); line-height: 1.7; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: .25rem; }
.legal h2 { font-size: 1.35rem; margin: 2.5rem 0 .9rem; scroll-margin-top: 1.5rem; }
.legal ol, .legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .55rem; }
.legal li::marker { color: var(--coral); font-weight: 700; }
.legal a { color: var(--coral-dark); }
.legal-meta { color: var(--muted); margin-bottom: 2rem; }
.legal-toc { background: var(--cream); border-radius: 16px; padding: 1.25rem 1.5rem; }
.legal-toc ol { margin: 0; columns: 2; column-gap: 2rem; }
.legal-toc li { margin-bottom: .3rem; break-inside: avoid; }
.legal-toc a { color: var(--ink); text-decoration: none; font-weight: 600; }
.legal-toc a:hover { color: var(--coral); }
.legal-highlight { background: #FFF1EC; border-left: 4px solid var(--coral); border-radius: 12px; padding: 1.25rem 1.5rem; }
@media (max-width: 575.98px) { .legal-toc ol { columns: 1; } }
