/* WishClan - system designu. Mobile-first, bez frameworków.
   Paleta: atrament (ciemna zieleń), koral (akcent), szałwia (tła), ciepły papier. */

/* DM Sans i Plus Jakarta Sans pobrane lokalnie (static/fonts). Pliki wariabilne, bez zewnętrznych żądań. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #292331;
  --ink-2: #4c454c;
  --muted: #77717a;
  --soft: #9b9090;
  --line: #eae3dc;
  --canvas: #fbf8f4;
  --paper: #ffffff;
  --coral: #FF5A43;
  --coral-600: #E8452E;
  --grad: linear-gradient(135deg, #FF5A43 0%, #FF7A45 50%, #F59E0B 100%);
  --coral-50: #FFF1EE;
  --coral-100: #FFD9D2;
  --sage: #fff3ec;
  --sage-600: #e8491f;
  --forest: #302a32;
  --sun: #ffc83d;
  --danger: #DC2626;
  --ok: #10b981;

  --font-head: "Plus Jakarta Sans", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 6px rgba(41,35,49, .06);
  --shadow: 0 18px 48px rgba(41,35,49, .08);
  --shadow-lg: 0 30px 80px rgba(41,35,49, .14);

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Plus Jakarta Sans", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 .4em; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
em, .serif { font-family: var(--font-head); font-style: normal; font-weight: 800; letter-spacing: -.02em; }
h1 em, h2 em { color: var(--coral); }
::selection { background: var(--coral-100); }
:focus-visible { outline: 3px solid rgba(255,107,61, .45); outline-offset: 3px; border-radius: 6px; }

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 720px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }

/* ---------- ikony ---------- */
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 40px; height: 40px; }

/* ---------- marka i nawigacja ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251,248,244, .88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav-links { display: none; gap: 28px; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--coral-600); }
/* menu mobilne (T-206): przycisk i lista linków poniżej 900 px */
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink, #292331); }
@media (min-width: 900px) { .nav-toggle, .nav-menu { display: none !important; } }
.nav-menu { position: absolute; left: 0; right: 0; top: 68px; z-index: 40; display: grid; gap: 2px; padding: 10px 16px 18px; background: var(--paper, #fbf8f4); border-bottom: 1px solid var(--line); box-shadow: var(--shadow, 0 8px 24px rgba(41,35,49,.08)); }
.nav-menu a { padding: 12px 4px; font-weight: 600; color: var(--ink-2, #3B4166); text-decoration: none; }
.nav-menu a:hover { color: var(--coral-600, #C2410C); }
@media (min-width: 900px) { .nav-links { display: flex; } }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 39px; height: 39px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.06em; }
.brand-name span { color: var(--coral); }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background .15s, box-shadow .15s, border-color .15s, color .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:not(:disabled):hover { transform: translateY(-1px); }
.btn:not(:disabled):active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 22px rgba(255,107,61, .28); }
.btn-primary:not(:disabled):hover { background: var(--coral-600); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:not(:disabled):hover { background: #3a323c; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:not(:disabled):hover { border-color: var(--coral); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:not(:disabled):hover { background: #fff; }
.btn-danger { background: transparent; color: var(--danger); border-color: #efd2cd; }
.btn-danger:not(:disabled):hover { background: #fdf2f0; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.05rem; border-radius: 16px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .9rem; border-radius: 11px; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; padding: 0; }
.link-btn { background: none; border: 0; padding: 0; color: var(--coral-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- drobne elementy ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; margin-bottom: 14px;
  background: #f9e9e1; border-radius: 100px; color: #be6553;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  background: var(--sage); color: var(--sage-600);
  font-size: .85rem; font-weight: 700;
}
.pill-coral { background: var(--coral-50); color: var(--coral-600); }
.pill-dark { background: rgba(255, 255, 255, .14); color: #fff; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 720px) { .card { padding: 30px; } }
.card-soft { background: var(--sage); border-color: transparent; box-shadow: none; }
.card-coral { background: var(--coral-50); border-color: var(--coral-100); box-shadow: none; }

.avatars { display: flex; align-items: center; padding-left: 8px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  margin-left: -8px; border: 3px solid var(--paper);
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 800; color: var(--forest);
  background: var(--sage);
}
.avatar:nth-child(3n+2) { background: var(--coral-100); color: var(--coral-600); }
.avatar:nth-child(3n) { background: #f6e7c4; color: #8a6a1f; }
.avatar-more { background: var(--forest) !important; color: #fff !important; }

.divider { height: 1px; background: var(--line); margin: 24px 0; border: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 800;
  background: var(--sage); color: var(--sage-600);
}
.badge-coral { background: var(--coral-50); color: var(--coral-600); }
.badge-ok { background: #D1FAE5; color: var(--ok); }
.badge-muted { background: #eef0ed; color: var(--muted); }

/* ---------- formularze ---------- */
.field { margin-bottom: 20px; }
.field > label, .label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 8px; color: var(--ink-2); }
.hint { display: block; color: var(--muted); font-size: .85rem; margin-top: 6px; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: #fff; font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,107,61, .14); }
.input-code { font-size: 1.6rem; letter-spacing: .45em; text-align: center; font-weight: 800; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .95rem; color: var(--ink-2); }
.check input { width: 22px; height: 22px; accent-color: var(--coral); flex: none; margin-top: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff;
  font-weight: 700; font-size: .95rem; cursor: pointer;
  transition: all .15s;
}
.chip input:checked + span { border-color: var(--coral); background: var(--coral-50); color: var(--coral-600); }
.chip input:focus-visible + span { outline: 3px solid rgba(255,107,61, .45); outline-offset: 2px; }

.choice-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .choice-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-body {
  height: 100%;
  border: 1.5px solid var(--line); border-radius: 18px; background: #fff;
  padding: 18px; transition: all .15s;
}
.choice-body .choice-emoji { font-size: 1.8rem; line-height: 1; margin-bottom: 10px; }
.choice-body strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.choice-body span { color: var(--muted); font-size: .9rem; }
.choice-body .choice-meta { display: inline-block; margin-top: 10px; font-size: .8rem; font-weight: 800; color: var(--sage-600); }
.choice input:checked + .choice-body { border-color: var(--coral); background: var(--coral-50); box-shadow: 0 0 0 4px rgba(255,107,61, .1); }
.choice input:checked + .choice-body .choice-meta { color: var(--coral-600); }
.choice input:focus-visible + .choice-body { outline: 3px solid rgba(255,107,61, .45); outline-offset: 2px; }

.alert { padding: 14px 16px; border-radius: 14px; font-size: .95rem; display: flex; gap: 10px; align-items: flex-start; }
.alert-error { background: #fdf0ee; color: #9c2d1f; border: 1px solid #f3d3cd; }
.alert-info { background: var(--sage); color: var(--ink-2); }
.alert-warn { background: #fdf6e4; color: #7a5a14; border: 1px solid #f2e2b6; }

/* ---------- landing ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 64px; }
@media (min-width: 900px) { .hero { padding: 72px 0 96px; } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero h1 { font-size: clamp(2.4rem, 4.7vw, 4rem); line-height: 1.1; letter-spacing: -.045em; }
.hero h1 em { position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 2px; right: 0; bottom: -7px; height: 7px; background: #f6c7b6; border-radius: 50%; transform: rotate(-2deg); }
.hero-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 540px; margin: 18px 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 28px; color: var(--muted); font-size: .92rem; }
/* hero: ramka „filmu” z czterema zdjęciami uczestników (zdjęcia lokalne, static/img/landing) */
.hero::before { content: ""; position: absolute; width: 480px; height: 480px; right: -220px; top: 20px; background: #fae9df; filter: blur(85px); border-radius: 50%; pointer-events: none; }
.hero-art { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; }
.art-blob { position: absolute; inset: 22px 0 8px 20px; background: #f8ded2; border-radius: 45% 55% 51% 49% / 46% 45% 55% 54%; transform: rotate(-8deg); }
.art-blob::after { content: ""; position: absolute; width: 68px; height: 68px; border: 1px solid #eeb7a5; border-radius: 50%; right: -12px; top: 30px; }
.video-frame { margin: 0; width: 82%; max-width: 440px; position: relative; z-index: 2; padding: 12px; background: #fff; border-radius: 24px; box-shadow: 0 24px 60px rgba(106, 62, 51, .18); transform: rotate(2deg); }
.video-top { display: flex; align-items: center; justify-content: space-between; padding: 3px 4px 11px; }
.video-label { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; }
.record-dot { width: 7px; height: 7px; background: #ef8071; border-radius: 50%; }
.video-dots { color: #c3b8b4; letter-spacing: 2px; font-weight: bold; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-radius: 15px; overflow: hidden; }
.video-tile { position: relative; height: 170px; overflow: hidden; background: #e8c9b9; }
.video-tile img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.video-tile:nth-child(1) img { object-position: 50% 38%; }
.video-tile:nth-child(2) img { object-position: 50% 35%; }
.video-tile:nth-child(3) img, .video-tile:nth-child(4) img { object-position: 50% 40%; }
.tile-name { position: absolute; left: 9px; bottom: 9px; padding: 5px 8px; background: rgba(39, 35, 37, .54); color: #fff; border-radius: 6px; font-size: 10px; font-weight: 700; backdrop-filter: blur(5px); }
.video-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 5px 2px; font-size: 10px; color: #9b9090; }
.video-footer strong { color: #51484b; }
.float-card { position: absolute; z-index: 4; background: #fff; border-radius: 13px; box-shadow: 0 12px 35px rgba(110, 65, 53, .13); display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-size: 12px; font-weight: 700; }
.float-one { left: -5px; top: 63px; transform: rotate(-5deg); }
.float-two { right: -7px; bottom: 63px; transform: rotate(-3deg); }
.float-icon { width: 34px; height: 34px; border-radius: 10px; background: #fce9e2; color: var(--coral); display: grid; place-items: center; font-size: 17px; flex: none; }
.float-icon .icon { width: 18px; height: 18px; }
.sparkle { position: absolute; z-index: 3; color: #e9a853; font-size: 28px; }
.sparkle.one { right: 32px; top: 40px; }
.sparkle.two { left: 25px; bottom: 45px; font-size: 19px; }
@media (max-width: 420px) { .video-tile { height: 125px; } .float-card { padding: 8px 10px; } .float-one { left: -5px; top: 30px; } .float-two { right: -5px; bottom: 30px; } }

/* pasek zaufania pod hero */
.trust-strip { background: #fff; border-top: 1px solid #f2ebe6; border-bottom: 1px solid #f2ebe6; }
.trust-inner { min-height: 90px; display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.trust-item { display: flex; align-items: center; gap: 11px; color: #68616a; font-size: .85rem; font-weight: 700; }
.trust-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--coral); background: #fff1ea; border-radius: 50%; flex: none; }
.trust-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-peach { background: #fff3ec; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--forest); color: #e7efe9; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #C9D3EE; }

.grid-3 { display: grid; gap: 18px; }
@media (min-width: 820px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.grid-2 { display: grid; gap: 18px; }
@media (min-width: 820px) { .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 22px; } }

.step-card { position: relative; }
.step-num {
  font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--coral);
  margin-bottom: 14px; display: block;
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--coral-50); color: var(--coral-600); margin-bottom: 16px;
}

.mode-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.mode-visual { height: 220px; position: relative; overflow: hidden; background: #e9b8a7; }
.mode-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; max-width: none; }
.mode-visual::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(48, 28, 30, .35)); pointer-events: none; }
.mode-visual .pill { position: absolute; z-index: 1; left: 18px; top: 18px; background: #fff; }
.mode-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
@media (min-width: 720px) { .mode-body { padding: 30px; } }
.check-list { list-style: none; padding: 0; margin: 16px 0 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; color: var(--ink-2); }
.check-list .icon { color: var(--coral); margin-top: 3px; width: 18px; height: 18px; }

/* telefon z karaoke (demo na landingu) */
.phone {
  width: min(320px, 86vw); aspect-ratio: 9 / 18.5; margin: 0 auto;
  border-radius: 44px; padding: 12px; background: #292331;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #1F2B5C;
  position: relative;
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background:
    radial-gradient(80% 60% at 50% 30%, #f1c7b5 0%, transparent 70%),
    linear-gradient(170deg, #c9b3a3, #5f4a3f 70%, #2c231e);
}
.phone-screen::before {
  content: ""; position: absolute; left: 50%; top: 22%; transform: translateX(-50%);
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #f3d6c6, #d7a891 70%);
  box-shadow: 0 120px 0 40px #6e5446;
}
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 34%; height: 24px; border-radius: 0 0 16px 16px; background: #292331; z-index: 3; }

/* ---------- karaoke (wspólne dla demo i studia) ---------- */
.lyrics {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 60px 18px 22px;
  background: linear-gradient(to top, rgba(41,35,49, .88) 0%, rgba(41,35,49, .55) 55%, transparent 100%);
  color: #fff; text-align: center;
}
.lyric-line { position: relative; padding-top: .45em; font-weight: 800; font-size: clamp(1.25rem, 4.6vw, 1.9rem); line-height: 1.25; letter-spacing: -.01em; min-height: 1.25em; }
/* płomyk karaoke: skacze nad sylabami (pozycję ustawia createFlame w common.js) */
.lyric-line .pointer { position: absolute; top: 0; left: 0; width: 0; height: 0; pointer-events: none; will-change: transform; }
.lyric-line .pointer > svg {
  position: absolute; left: -.15em; top: -.2em; width: .3em; height: .42em; max-width: none; transform-origin: 50% 100%;
  filter: drop-shadow(0 0 .22em rgba(255, 170, 50, .75)); animation: flame-flicker .42s ease-in-out infinite alternate;
}
@keyframes flame-flicker { from { rotate: -5deg; } to { rotate: 6deg; } }
@media (prefers-reduced-motion: reduce) { .lyric-line .pointer > svg { animation: none; } }
.lyric-next { font-weight: 600; font-size: clamp(.95rem, 3.4vw, 1.2rem); color: rgba(255, 255, 255, .55); margin-top: 6px; min-height: 1.25em; }
.lyric-line .w { display: inline-block; }
/* sylaba: wypełnienie „przelewa się” od lewej (--p, 0–100%); bieżąca żółta i podnosi się */
.lyric-line .syl {
  display: inline-block; color: transparent; -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, var(--c, #fff) var(--p, 0%), rgba(255, 255, 255, .55) var(--p, 0%));
  -webkit-background-clip: text; background-clip: text;
  transition: transform .15s;
}
.lyric-line .syl.sung { --c: #fff; }
.lyric-line .syl.active { --c: var(--sun); transform: translateY(-2px) scale(1.06); filter: drop-shadow(0 2px 10px rgba(254, 226, 102, .6)); }
@media (prefers-reduced-motion: reduce) { .lyric-line .syl { transition: none; } }
.lyrics-label { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--coral); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--ink-2); }

.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 48px 24px; text-align: center;
  background: #ed755f; color: #fff;
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; width: 240px; height: 240px; pointer-events: none; }
.cta-band::before { left: -90px; top: -100px; box-shadow: 0 0 0 40px #ffffff0d, 0 0 0 80px #ffffff0b; }
.cta-band::after { right: -90px; bottom: -130px; box-shadow: 0 0 0 40px #ffffff0d, 0 0 0 80px #ffffff0b; }
.cta-band h2, .cta-band p, .cta-band .btn { position: relative; }
.cta-band h2, .cta-band h2 em { color: #fff; }
.cta-band p { color: #fff2ed; max-width: 520px; margin: 0 auto 24px; }
.cta-band .btn-primary { background: #fff; color: var(--coral-600); box-shadow: none; }
.cta-band .btn-primary:not(:disabled):hover { background: #fffaf7; }
@media (min-width: 720px) { .cta-band { padding: 64px 40px; } }

.footer { padding: 44px 0 56px; background: #302a32; color: #b9adb4; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.footer a { text-decoration: none; color: #e2d9dd; }
.footer a:hover { color: #fff; }

/* ---------- aplikacja: układ stron ---------- */
.app-main { padding: 24px 0 64px; }
@media (min-width: 720px) { .app-main { padding: 40px 0 80px; } }
.page-head { margin-bottom: 24px; }
.page-head h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.page-head p { color: var(--muted); font-size: 1.05rem; }

/* kreator */
.wizard { display: grid; gap: 24px; align-items: start; }
@media (min-width: 980px) { .wizard { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; } }
.wizard-steps { display: flex; gap: 8px; margin-bottom: 22px; }
.wizard-steps span { flex: 1; height: 6px; border-radius: 6px; background: var(--line); transition: background .25s; }
.wizard-steps span.done { background: var(--coral); }
.wizard-step-label { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.wizard-aside { position: sticky; top: 92px; }
/* wskaźnik poziomu mikrofonu przed nagraniem (T-205) */
.level-box { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; margin: 10px 0; }
.level-bar { display: block; height: 100%; width: 0; background: var(--sage-600, #5a8a6a); transition: width .08s linear; }
/* podkład w słuchawkach (T-204) i metronom bez słuchawek */
.phones-box { margin-bottom: 14px; padding: 12px 14px; border-radius: var(--r); background: var(--sage-50, #F3F7F2); }
.metro { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: var(--coral); opacity: .25; margin-top: 8px; transition: opacity .12s, transform .12s; }
.metro.beat { opacity: 1; transform: scale(1.35); }
/* na telefonie podgląd jest pod formularzem, nie przed krokiem 1 (uwaga z testu na telefonie) */
@media (max-width: 979px) { .wizard-aside { position: static; order: 1; } }

/* karta zaproszenia (podgląd i strona uczestnika) */
.invite-card { overflow: hidden; padding: 0; }
.invite-cover {
  height: 170px; position: relative; display: grid; place-items: center;
  background:
    image-set(url("../img/invite-cover.webp") type("image/webp"), url("../img/invite-cover.jpg") type("image/jpeg")) center / cover no-repeat,
    radial-gradient(80% 100% at 15% 0%, #ffd9c7, transparent 60%),
    radial-gradient(80% 100% at 100% 100%, #C7D2FE, transparent 60%),
    linear-gradient(140deg, #fff1ea, #fff1ea);
}
.invite-cover .occasion-emoji { font-size: 3.6rem; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .12)); }
.invite-body { padding: 22px; }
@media (min-width: 720px) { .invite-body { padding: 28px; } }
.invite-name { font-family: var(--serif); font-style: normal; font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1.05; color: var(--ink); margin-bottom: 4px; }
.invite-occasion { color: var(--muted); font-weight: 600; }
.invite-note { margin-top: 16px; padding: 14px 16px 14px 44px; border-radius: 14px; background: var(--canvas); color: var(--ink-2); font-size: .95rem; position: relative; }
.invite-note::before { content: "\201D"; position: absolute; left: 14px; top: 6px; font-family: var(--serif); color: var(--coral); font-size: 2.4rem; line-height: 1; }
.meta-list { display: grid; gap: 10px; margin-top: 18px; }
.meta-item { display: flex; gap: 12px; align-items: center; color: var(--ink-2); font-size: .95rem; }
.meta-item .icon { color: var(--coral); }

/* odliczanie */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown div { background: var(--canvas); border-radius: 14px; padding: 12px 6px; text-align: center; }
.countdown strong { display: block; font-family: var(--serif); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--ink); }
.countdown span { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.countdown.on-dark div { background: rgba(255, 255, 255, .1); }
.countdown.on-dark strong { color: #fff; }
.countdown.on-dark span { color: rgba(255, 255, 255, .6); }

/* postęp */
.progress { height: 10px; border-radius: 10px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--coral), #eb9a7f); border-radius: 10px; transition: width .4s; }

/* kroki uczestnika */
.task { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 20px; border: 1.5px solid var(--line); background: #fff; }
.task + .task { margin-top: 12px; }
.task-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; background: var(--coral-50); flex: none; }
.task-body { flex: 1; min-width: 0; }
.task-body strong { display: block; font-size: 1.05rem; }
.task-body span { color: var(--muted); font-size: .9rem; }
.task.done { border-color: #cfe4d6; background: #f6fbf7; }
.task.done .task-icon { background: #D1FAE5; }
@media (max-width: 520px) { .task { flex-wrap: wrap; } .task .btn { width: 100%; } }

/* ---------- studio ---------- */
.studio { display: grid; gap: 20px; }
@media (min-width: 980px) { .studio { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.stage {
  position: relative; width: 100%;
  aspect-ratio: 3 / 4; max-height: 76vh;
  border-radius: 28px; overflow: hidden;
  background: #292331; box-shadow: var(--shadow-lg);
}
@media (min-width: 720px) { .stage { aspect-ratio: 4 / 3; } }
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage video.mirror { transform: scaleX(-1); }
.stage-top { position: absolute; left: 14px; right: 14px; top: 14px; display: flex; justify-content: space-between; align-items: center; z-index: 3; gap: 8px; }
.rec-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(41,35,49, .6); color: #fff;
  font-size: .78rem; font-weight: 800; letter-spacing: .08em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.rec-badge i { width: 9px; height: 9px; border-radius: 50%; background: #9db8a3; }
.rec-badge.live i { background: #ff5a4a; animation: pulse 1s infinite; }
.timer-chip { font-variant-numeric: tabular-nums; }
.stage-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .15); z-index: 4; }
.stage-progress span { display: block; height: 100%; width: 0; background: var(--coral); transition: width .2s linear; }
.countdown-overlay {
  position: absolute; inset: 0; z-index: 5;
  display: grid; place-items: center; text-align: center;
  background: rgba(41,35,49, .55); color: #fff;
}
.countdown-overlay strong { display: block; font-family: var(--serif); font-weight: 800; font-size: clamp(6rem, 22vw, 10rem); line-height: 1; animation: pop .9s ease; }
.countdown-overlay span { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; opacity: .85; }
.stage-message { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: #ECF1FB; z-index: 1; }
.stage-message .icon { margin: 0 auto 12px; width: 44px; height: 44px; color: var(--coral); }

.prompter {
  position: absolute; left: 14px; right: 14px; bottom: 18px; z-index: 2;
  padding: 16px 18px; border-radius: 20px;
  background: rgba(41,35,49, .62); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.prompter small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }
.prompter p { margin: 0; font-weight: 700; font-size: clamp(1.05rem, 3.8vw, 1.35rem); line-height: 1.3; }

.studio-controls { display: flex; gap: 12px; justify-content: center; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.rec-button {
  width: 76px; height: 76px; border-radius: 50%;
  border: 5px solid #fff; background: var(--coral);
  box-shadow: 0 0 0 2px var(--line), 0 12px 28px rgba(255,107,61, .35);
  display: grid; place-items: center; color: #fff;
  transition: transform .15s;
}
.rec-button:not(:disabled):hover { transform: scale(1.05); }
.rec-button:disabled { opacity: .45; cursor: not-allowed; }
.rec-button .inner { width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: all .2s; }
.rec-button.recording { background: var(--forest); }
.rec-button.recording .inner { border-radius: 6px; width: 24px; height: 24px; }
.studio-tips .tip { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; color: var(--ink-2); font-size: .95rem; }
.studio-tips .tip .icon { color: var(--coral); margin-top: 2px; }

/* lista nagrań */
.take { display: grid; gap: 12px; padding: 14px; border-radius: 20px; border: 1.5px solid var(--line); background: #fff; }
@media (min-width: 640px) { .take { grid-template-columns: 220px 1fr; align-items: center; } }
.take video { width: 100%; border-radius: 14px; background: #292331; aspect-ratio: 4 / 3; object-fit: cover; }
.take.selected { border-color: var(--coral); background: var(--coral-50); }
.takes { display: grid; gap: 12px; }

/* sukces */
.success { text-align: center; padding: 40px 20px; }
.success-icon { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; background: #D1FAE5; color: var(--ok); }
.success-icon .icon { width: 44px; height: 44px; }

/* ---------- panel organizatora ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.stat small { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
.stat strong { font-family: var(--serif); font-weight: 800; font-size: 2rem; line-height: 1.05; }
.stat span { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }

.share-box { display: grid; gap: 14px; }
.copy-field { display: flex; gap: 8px; }
.copy-field .input { min-height: 48px; font-size: .92rem; }
.code-display { font-family: var(--serif); font-size: 2.2rem; letter-spacing: .18em; color: var(--ink); line-height: 1; }

.tabs { display: flex; gap: 6px; padding: 6px; background: #eceee8; border-radius: 16px; overflow-x: auto; scrollbar-width: none; margin: 28px 0 20px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; border: 0; background: transparent; padding: 10px 16px; border-radius: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.tab.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tab .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--coral-50); color: var(--coral-600); font-size: .75rem; margin-left: 6px; }

.people { display: grid; gap: 10px; }
.person { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.person .avatar { margin: 0; border: 0; width: 44px; height: 44px; }
.person-body { flex: 1; min-width: 0; }
.person-body strong { display: block; }
.person-body span { color: var(--muted); font-size: .88rem; }

.queue { display: grid; gap: 12px; }
.queue-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px; border-radius: 20px; background: #fff; border: 1.5px solid var(--line); }
@media (min-width: 760px) { .queue-item { grid-template-columns: auto 1fr 220px auto; align-items: center; } }
.queue-num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--coral-50); color: var(--coral-600); font-weight: 800; }
.queue-item video { width: 100%; border-radius: 12px; background: #292331; aspect-ratio: 4 / 3; object-fit: cover; grid-column: 1 / -1; }
@media (min-width: 760px) { .queue-item video { grid-column: auto; } }
.queue-actions { display: flex; gap: 8px; flex-wrap: wrap; grid-column: 1 / -1; }
@media (min-width: 760px) { .queue-actions { grid-column: auto; justify-content: flex-end; } }
.queue-item.excluded { opacity: .6; }

.final-box { display: grid; gap: 18px; }
.final-video {
  display: block; margin: 0 auto; border-radius: 22px; background: #292331; box-shadow: var(--shadow);
  /* film pionowy 9:16: na komputerze ograniczamy wysokość, żeby okno nie robiło się bardzo długie */
  height: min(68vh, 620px); width: auto; max-width: 100%; aspect-ratio: 9 / 16; object-fit: contain;
}
@media (max-width: 700px) { .final-video { width: 100%; height: auto; max-height: none; } }
.render-state { display: flex; align-items: center; gap: 14px; }

.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty .icon { margin: 0 auto 12px; width: 44px; height: 44px; color: var(--soft); }

/* ---------- strona niespodzianki ---------- */
.gift-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--forest); color: #ECF1FB; position: relative; overflow: hidden; }
.gift-page::before {
  content: ""; position: absolute; inset: 0;
  background:
    image-set(url("../img/gift-cover.webp") type("image/webp"), url("../img/gift-cover.jpg") type("image/jpeg")) center / cover no-repeat,
    radial-gradient(70% 60% at 15% 10%, rgba(255,107,61, .45), transparent 60%),
    radial-gradient(70% 60% at 90% 90%, rgba(254,226,102, .25), transparent 60%);
  opacity: .9;
}
.gift-page::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(41,35,49, .35), rgba(41,35,49, .85)); }
.gift-inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 40px; }
.gift-title { font-family: var(--serif); font-style: normal; font-weight: 800; color: #fff; font-size: clamp(3rem, 12vw, 6.5rem); line-height: .95; letter-spacing: -.02em; margin-bottom: 16px; }
.gift-lead { font-size: 1.15rem; color: #DCE4F8; max-width: 520px; }
.gift-video-wrap { position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .4); background: #000; }
.gift-video-wrap video { width: 100%; }
.play-cover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(41,35,49, .35); border: 0; color: #fff; }
.play-cover .play { width: 96px; height: 96px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; box-shadow: 0 16px 40px rgba(255,107,61, .5); transition: transform .2s; }
.play-cover:hover .play { transform: scale(1.06); }
.play-cover .play .icon { width: 40px; height: 40px; fill: #fff; stroke: none; margin-left: 6px; }

.confetti { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 2px; opacity: .9; animation: fall linear infinite; }

/* ---------- toast, spinner ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px);
  z-index: 100; padding: 14px 20px; border-radius: 14px;
  background: var(--forest); color: #fff; font-weight: 600;
  box-shadow: var(--shadow-lg); opacity: 0; transition: all .25s; max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #8c2a1e; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,107,61, .25); border-top-color: var(--coral); animation: spin .8s linear infinite; flex: none; }
.spinner-lg { width: 44px; height: 44px; border-width: 4px; }
.loading { display: grid; place-items: center; gap: 14px; min-height: 50vh; color: var(--muted); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 30% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .5s ease both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* poprawki */
.choice-body .choice-meta { font-family: var(--font); font-style: normal; }
.mb-0 { margin-bottom: 0 !important; }
.gift-page .loading { min-height: 30vh; }

/* makieta siatki twarzy w hero (znika, gdy jest img/hero.webp) */
.phone-screen.has-image::before { display: none; }
@keyframes wave { 0%, 100% { height: 4px; } 50% { height: 16px; } }


/* ---------- blog ---------- */
.post-hero, .post-thumb {
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(135deg, #fff1ea, #ffd9c7 55%, #ffc83d 140%);
  color: #ff6b3d; font-weight: 700; font-size: .85rem; letter-spacing: .04em;
  border: 2px dashed #B3C4FF; border-radius: var(--r-lg); overflow: hidden;
}
.post-hero { aspect-ratio: 1200 / 630; width: 100%; margin: 8px 0 22px; }
.post-thumb { aspect-ratio: 1200 / 630; width: 100%; margin-bottom: 14px; }
.post-hero.has-image, .post-thumb.has-image { border: 0; background-size: cover; background-position: center; color: transparent; }
.post-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.post-card h3 { font-size: 1.12rem; line-height: 1.3; margin: 6px 0 4px; }
.post-card p { margin: 0 0 8px; font-size: .95rem; }
.post-title { font-size: clamp(1.7rem, 4.6vw, 2.5rem); line-height: 1.15; margin: 10px 0 18px; }
.post-body p { font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); margin: 0 0 1.1em; }

.badge-danger { background: #FEF3F2; color: #B42318; }

/* przełącznik języka z flagami w górnym menu (T-304 cd.) */
.lang-flags { display: inline-flex; gap: 6px; align-items: center; margin-left: 8px; }
.lang-flag {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px;
  border: 1px solid rgba(41, 35, 49, .14); color: inherit; text-decoration: none; font-size: .8rem; font-weight: 600;
  background: rgba(255, 255, 255, .6);
}
.lang-flag svg { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.lang-flag[aria-current="true"], .lang-flag:hover { border-color: var(--blue, #ff6b3d); }
@media (max-width: 480px) {
  /* wąski ekran: przełącznik zostaje jako same flagi, a przycisk w nagłówku znika (jest też w treści strony) */
  .nav-inner > .btn { display: none; }
  .lang-flags { margin-left: auto; gap: 4px; }
  .lang-flag { padding: 4px; }
  .lang-flag span { display: none; }
}

/* ---------- baner cookies (zgoda na analitykę, patrz static/js/analytics.js) ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  padding: 16px 20px; background: #fff; color: #1f2430; box-shadow: 0 -4px 18px rgba(0, 0, 0, .12);
  font-size: .92rem; line-height: 1.5;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; max-width: 62ch; }
.cookie-banner a { color: inherit; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn { border: 1px solid #1f2430; background: #fff; color: #1f2430; border-radius: 999px; padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- zdjęcia w hero i w makiecie telefonu (prawdziwe <img> z alt, do indeksowania) ---------- */
.phone-screen .phone-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-micro { margin-top: 10px; font-size: .9rem; color: var(--muted); }

.footer .brand-name { color: #fff; }

/* ---------- tryby (układ jak we wzorcu: zakładki, zdjęcie z podpisem) ---------- */
.modes-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .modes-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.mode-art { position: relative; height: 430px; border-radius: 26px; overflow: hidden; background: #e9b8a7; }
.mode-view { position: absolute; inset: 0; }
.mode-view[hidden] { display: none; }
.mode-art > .mode-view > picture, .mode-art > .mode-view > picture img { display: block; width: 100%; height: 100%; }
.mode-art > .mode-view > picture img { object-fit: cover; object-position: 50% 40%; }
.mode-art > .mode-view::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(48, 28, 30, .45)); pointer-events: none; }
.mode-chip { position: absolute; z-index: 2; top: 22px; right: 22px; border-radius: 100px; padding: 9px 13px; background: #fff; color: var(--coral-600); font-weight: 700; font-size: 11px; }
.mode-art-label { position: absolute; z-index: 2; left: 25px; bottom: 25px; color: #fff; }
.mode-art-label strong { display: block; font-size: 18px; font-family: var(--font-head); }
.mode-art-label span { display: block; margin-top: 5px; font-size: 12px; opacity: .9; }
.mode-copy h2 { max-width: 500px; }
.mode-copy .mode-view { position: static; margin-top: 18px; }
.mode-copy .mode-view h3 { font-size: 18px; margin-bottom: 10px; }
.mode-copy .mode-view p { max-width: 440px; line-height: 1.7; }
.mode-tabs { display: flex; gap: 8px; padding: 5px; background: #efddd3; border-radius: 13px; margin: 24px 0 0; width: fit-content; }
.mode-tab { border: 0; background: transparent; border-radius: 9px; padding: 12px 17px; color: #8b7773; font-size: 13px; font-weight: 700; }
.mode-tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 3px 10px rgba(167,125,112,.2); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--coral-600); font-size: 14px; font-weight: 800; margin-top: 16px; text-decoration: none; }
.text-link .icon { width: 16px; height: 16px; }

/* ---------- okazje: karty ---------- */
.occasion-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .occasion-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .occasion-grid { grid-template-columns: repeat(4, 1fr); } }
.occ-card { display: block; padding: 24px; min-height: 150px; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.occ-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.occ-card h3 { font-size: 16px; margin: 4px 0 6px; }
.occ-card p { font-size: 13px; line-height: 1.5; margin: 0; }
.occ-icon { font-size: 26px; display: block; margin-bottom: 14px; }

/* ---------- CTA: kicker w jasnym kolorze ---------- */
.eyebrow-light { color: #ffe5db; }
.eyebrow-light::before { background: #ffe5db; }

/* karty na zdjęciu hero: tytuł pogrubiony, podpis szary w drugiej linijce (jak we wzorcu) */
.float-card strong { display: block; font-size: 12px; font-weight: 800; color: var(--ink); }
.float-card small { display: block; margin-top: 2px; font-size: 10px; font-weight: 500; color: #aaa0a1; }

/* blok „0% AI”: ciepłe tło, pieczątka i dwa kontrastowe wiersze */
.ai-box { background: #fff3ec; border: 1px solid #efd2c4; border-radius: 24px; padding: 36px 24px; text-align: center; }
@media (min-width: 720px) { .ai-box { padding: 48px 44px; } }
.ai-badge { display: inline-flex; align-items: center; padding: 8px 16px; margin-bottom: 18px; border: 1.5px solid var(--coral); border-radius: 999px; background: #fff; color: var(--coral-600); font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; transform: rotate(-1.5deg); }
.ai-box h2 { margin-bottom: 14px; }
.ai-lead { max-width: 680px; margin: 0 auto 26px; color: var(--ink-2); line-height: 1.7; }
.ai-cols { display: grid; gap: 14px; text-align: left; }
@media (min-width: 720px) { .ai-cols { grid-template-columns: 1fr 1fr; gap: 18px; } }
.ai-col { background: #fff; border-radius: 16px; padding: 20px 22px; }
.ai-col h3 { font-size: 1rem; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.ai-col p { margin: 0; font-size: .95rem; line-height: 1.6; }
.ai-mark { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-size: .85rem; flex: none; }
.ai-mark.ok { background: #3f9b72; }
.ai-mark.no { background: #e8491f; }

/* cennik na stronie głównej (kolory i czcionki z naszego systemu stylów) */
.price-grid { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 960px) { .price-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.price-card { display: flex; flex-direction: column; justify-content: space-between; padding: 30px 26px; gap: 18px; }
.price-card--featured { border: 2px solid var(--coral); box-shadow: 0 18px 38px rgba(255,107,61,.14); }
@media (min-width: 960px) { .price-card--featured { transform: translateY(-8px); } }
.price-badge { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px; }
.price-badge--active { background: var(--coral-50); color: var(--coral-600); }
.price-badge--soon { background: var(--sage); color: var(--muted); border: 1px solid var(--line); }
.price-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.price-card > div:first-child > p { min-height: 2.8em; font-size: .92rem; }
.price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 14px 0 16px; }
.price-amount strong { font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.price-card--featured .price-amount strong { color: var(--coral); }
.price-amount span { font-size: .9rem; color: var(--muted); }
.price-card .check-list li { font-size: .92rem; }
.price-foot { display: flex; flex-direction: column; gap: 10px; }
.price-disabled { cursor: default; opacity: .85; pointer-events: none; }
.price-note { font-size: .8rem; color: var(--muted); text-align: center; }
.price-footnote { text-align: center; max-width: 640px; margin: 36px auto 0; font-size: .88rem; color: var(--muted); }

/* gradient marki: przyciski główne i blok „Na każdą ważną chwilę” */
.btn-primary { background: var(--grad) !important; }
.btn-primary:not(:disabled):hover { filter: brightness(1.05); }
.cta-band { background: var(--grad) !important; }
.cta-band::before, .cta-band::after { border-color: rgba(255,255,255,.28); }
.occasion-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.occasion-list li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1rem; }
.occasion-list li span { font-size: 1.35rem; }
.occasion-rec { margin-top: 22px; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.14); }
.occasion-rec strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.occasion-rec p { margin: 0 0 6px; opacity: .95; }
.occasion-tips { margin: 14px 0 0; padding-left: 20px; }
.occasion-tips li { margin-bottom: 6px; }
.module-cta { display: inline-block; margin-top: 22px; background: #fff; color: var(--coral-600); padding: 14px 24px; border-radius: 14px; font-weight: 800; text-decoration: none; }

/* blok „Podaruj emocje…” – kopia z projektu (gradient, logo, przyciski); tekst biały na gradiencie */
.final-cta-wrap { padding: 40px 16px 80px; }
.final-cta { position: relative; max-width: 1152px; margin: 0 auto; border-radius: 40px; padding: 48px 24px; text-align: center; color: #fff; background: linear-gradient(135deg, #FF5A43 0%, #FF7A45 50%, #F59E0B 100%); box-shadow: 0 25px 50px -12px rgba(255, 90, 67, .28); overflow: hidden; }
@media (min-width: 640px) { .final-cta { padding: 56px; } }
@media (min-width: 1024px) { .final-cta { padding: 64px; } }
.final-blob { position: absolute; width: 288px; height: 288px; border-radius: 50%; background: rgba(255,255,255,.15); filter: blur(24px); pointer-events: none; }
.final-blob--a { top: -96px; left: -96px; }
.final-blob--b { bottom: -96px; right: -96px; background: rgba(27,15,38,.2); }
.final-inner { position: relative; z-index: 1; max-width: 672px; margin: 0 auto; }
.final-logo-mark { width: 64px; height: 64px; background: #FFFDF9; border-radius: 16px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 15px rgba(0,0,0,.1); }
.final-logo-mark svg { width: 44px; height: 44px; display: block; }
.final-cta h2 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.15; margin: 0 0 20px; letter-spacing: -.02em; }
.final-cta .final-lead { color: rgba(255,255,255,.9); font-size: 1.05rem; margin: 0 0 32px; }
.final-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #1B0F26; color: #fff; font-weight: 800; font-size: 1rem; padding: 16px 36px; border-radius: 999px; box-shadow: 0 20px 40px rgba(0,0,0,.2); text-decoration: none; transition: transform .2s; }
.final-btn:hover { transform: translateY(-2px); }
.final-btn svg { width: 20px; height: 20px; color: #FBBF24; }
.final-note { font-size: .75rem; color: rgba(255,255,255,.75); margin: 16px 0 0; }
/* moduł „Na każdą ważną chwilę” – zwykła karta, nie pomarańczowa */
.occasion-rec { background: var(--coral-50); color: var(--ink); }
.occasion-tips li, .occasion-list li { color: var(--ink); }

/* moduł „Na każdą ważną chwilę”: zakładki okazji + karta wybranej okazji */
.occ-section { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.occ-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
@media (min-width: 760px) { .occ-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } .occ-head p { max-width: 420px; } }
.occ-head h2 { margin: 6px 0 0; }
.occ-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: none; }
.occ-tabs::-webkit-scrollbar { display: none; }
.occ-tab { flex: none; border: 1px solid var(--line); background: var(--canvas); color: var(--ink-2); border-radius: 999px; padding: 12px 18px; font-weight: 700; font-size: .92rem; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.occ-tab:hover { border-color: var(--coral); }
.occ-tab[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 22px rgba(255,90,67,.28); }
.occ-card { background: var(--canvas); border: 1px solid var(--line); border-radius: 32px; padding: 24px; display: grid; gap: 24px; }
@media (min-width: 960px) { .occ-card { padding: 40px; grid-template-columns: 7fr 5fr; align-items: center; } }
.occ-panel[hidden] { display: none; }
.occ-panel { display: contents; }
.occ-copy { display: flex; flex-direction: column; gap: 16px; }
.occ-tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--coral-100); color: var(--coral-600); font-weight: 800; font-size: .78rem; }
.occ-copy h3 { font-size: 1.5rem; margin: 0; }
.occ-copy p { margin: 0; line-height: 1.7; }
.occ-prompts { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.occ-prompts-h { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-600); margin-bottom: 10px; }
.occ-prompts ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-weight: 600; font-size: .92rem; line-height: 1.6; }
.occ-copy .btn { align-self: flex-start; }
.occ-media { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.occ-media img { width: 100%; height: 100%; object-fit: cover; max-width: none; }

/* N-101: tabele w artykulach */
.post-body table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.4em 0 1.8em;
  font-size: .98rem; background: #fff; border-radius: 14px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 6px 20px rgba(26,22,37,.06); }
.post-body thead th { background: #FFF1EA; color: var(--ink); font-family: var(--font-head); font-weight: 700; text-align: left; }
.post-body th, .post-body td { padding: 12px 16px; border-bottom: 1px solid rgba(26,22,37,.08); vertical-align: top; min-width: 120px; }
.post-body tbody tr:last-child td { border-bottom: 0; }
.post-body tbody tr:nth-child(even) td { background: rgba(255,90,67,.03); }
.post-body blockquote { margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--coral); background: #fff; border-radius: 0 14px 14px 0; }
.post-body h2 { margin-top: 1.8em; }
.post-body h3 { margin-top: 1.4em; }

/* N-104: grafiki bloga */
.post-thumb { overflow: hidden; border-radius: 16px; background: linear-gradient(135deg, #FFE3D8, #FFF4EC); }
.post-thumb img, img.post-hero { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
img.post-hero { height: auto; aspect-ratio: 1200 / 630; }
.post-card:hover .post-thumb img { transform: scale(1.03); transition: transform .35s ease; }

/* N-112: nagłówek na wąskich ekranach */
@media (max-width: 599px) {
  .nav-inner { gap: 8px; }
  .nav-inner .pill { white-space: nowrap; font-size: .78rem; padding: 6px 10px; }
  .lang-flags { gap: 3px; margin-left: 0; }
  .lang-flag { padding: 2px 4px; font-size: .74rem; }
  .lang-flag svg { width: 18px; height: 12px; }
}

/* N-203: mniejszy baner cookies na telefonie */
@media (max-width: 599px) {
  .cookie-banner { padding: 12px 16px; font-size: .85rem; line-height: 1.4; max-height: 30vh; overflow: auto; gap: 8px 12px; }
  .cookie-banner p { margin: 0; }
  .cookie-actions { display: flex; gap: 8px; width: 100%; }
  .cookie-actions .cookie-btn { flex: 1; min-height: 40px; }
}
/* N-206: karty w hero nie wychodzą poza ekran */
@media (max-width: 420px) { .float-one { left: 6px; } .float-two { right: 6px; } }

/* N-208: strona artykułu */
.crumbs { font-size: .88rem; color: var(--muted); margin: 6px 0 4px; }
.crumbs a { color: inherit; }
.post-meta { color: var(--muted); font-size: .92rem; margin: 4px 0 18px; }
.post-cta { margin: 40px 0 28px; }
.author-box { border-top: 1px solid rgba(26,22,37,.1); padding-top: 22px; margin-bottom: 40px; }
.author-box h2 { font-size: 1.2rem; }

/* N-209 / N-303: kategorie, wyróżniony wpis, stronicowanie */
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.cat-chip { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--ink);
  text-decoration: none; font-size: .92rem; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.cat-chip.is-on, .cat-chip:hover { background: var(--coral-50, #FFE8E2); color: var(--coral-600, #C94432); }
.post-feature { display: grid; gap: 18px; margin-bottom: 26px; text-decoration: none; }
.post-feature h2 { font-size: 1.6rem; }
@media (min-width: 820px) { .post-feature { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 34px 0 10px; }
.pager-link { min-width: 40px; text-align: center; padding: 8px 12px; border-radius: 10px; background: #fff; text-decoration: none; color: var(--ink); }
.pager-link.is-on { background: var(--coral, #FF5A43); color: #fff; }
.post-faq, .related { margin: 36px 0 12px; }
.post-faq h2, .related h2 { font-size: 1.4rem; }

/* Nazwa domeny w górnym pasku: wishclan.com */
.nav .brand-tld { color: var(--muted); font-weight: 600; font-size: .62em; letter-spacing: 0; margin-left: 1px; }
@media (max-width: 420px) { .nav .brand-tld { font-size: .55em; } }
