/* ============================================
   WOLNA od narcyza — system projektowy
   Marka: głęboka wiśnia · złoto · ciepła kość
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Kolory marki */
  --wine:        #6E1F3A;
  --wine-dark:   #561530;
  --wine-soft:   #8E3354;
  --gold:        #C49A4A;
  --gold-light:  #E0C988;
  --rose:        #D9A7AC;
  --rose-soft:   #F3E3E4;
  --cream:       #FBF7F2;
  --cream-warm:  #F5ECE2;
  --ink:         #2A2226;
  --ink-soft:    #5A4F54;
  --line:        #E7DCD2;
  --white:       #ffffff;
  --green:       #4A7C59;
  --green-soft:  #E6F0E8;

  /* Typografia */
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rozmiary */
  --maxw: 1160px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(110, 31, 58, 0.10);
  --shadow-lg: 0 20px 60px rgba(110, 31, 58, 0.16);
  --shadow-sm: 0 4px 18px rgba(42, 34, 38, 0.07);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--wine); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--wine-soft); }

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }

p { margin-bottom: 1.1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--wine-dark);
  color: var(--rose-soft);
  font-size: 13.5px;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: .2px;
}
.topbar strong { color: var(--gold-light); }

/* ---------- Nawigacja ---------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--wine); }
.logo .mark {
  width: 40px; height: 46px;
  background: url('../assets/logo.png') center/contain no-repeat;
  font-size: 0; flex: 0 0 auto;
}
.logo small { display: block; font-family: var(--sans); font-weight: 500; font-size: .62rem; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; margin-top: -3px; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a.active { color: var(--wine); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 26px; color: var(--wine); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 16px;
  padding: 14px 28px; border-radius: 50px; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
  text-align: center;
}
.btn-primary { background: linear-gradient(135deg, var(--wine), var(--wine-soft)); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--wine-dark); box-shadow: var(--shadow); }
.btn-gold:hover { color: var(--wine-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--wine); border: 1.5px solid var(--rose); }
.btn-ghost:hover { background: var(--rose-soft); color: var(--wine); }
.btn-lg { padding: 17px 38px; font-size: 17px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(196,154,74,0.10), transparent),
    linear-gradient(180deg, var(--cream-warm), var(--cream));
  padding: 80px 0 70px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  background: #fff; padding: 7px 16px; border-radius: 50px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--wine); }
.hero .lead { font-size: 1.18rem; color: var(--ink-soft); margin-bottom: 30px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
  aspect-ratio: 4/5; border-radius: 24px;
  background: linear-gradient(160deg, var(--wine), var(--wine-dark));
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
  display: grid; place-items: center; padding: 36px; text-align: center;
}
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 220px at 70% 20%, rgba(196,154,74,0.28), transparent);
}
.hero-art .quote { position: relative; z-index: 1; color: var(--rose-soft); font-family: var(--serif); font-size: 1.5rem; font-style: italic; line-height: 1.45; }
.hero-art .quote span { color: var(--gold-light); display: block; margin-top: 14px; font-size: .9rem; font-style: normal; letter-spacing: 1px; }

/* ---------- Sekcje ---------- */
.section { padding: 78px 0; }
.section.tight { padding: 54px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.bg-wine { background: linear-gradient(160deg, var(--wine-dark), var(--wine)); color: var(--rose-soft); }
.bg-wine h2, .bg-wine h3 { color: #fff; }
.bg-cream { background: var(--cream-warm); }

/* ---------- Karty sytuacji ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 34px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--rose-soft); display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.card .card-link { margin-top: 18px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Lista cech / wartości ---------- */
.feature-list { list-style: none; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .fi { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-weight: 700; font-size: 15px; }

/* ---------- Cytat / dowód ---------- */
.pull {
  background: #fff; border-left: 4px solid var(--gold); border-radius: var(--radius-sm);
  padding: 24px 28px; box-shadow: var(--shadow-sm); font-family: var(--serif);
  font-size: 1.2rem; font-style: italic; color: var(--ink); margin: 28px 0;
}
.pull cite { display: block; font-family: var(--sans); font-style: normal; font-size: .85rem; color: var(--gold); margin-top: 10px; letter-spacing: .5px; }

/* ---------- Produkty / ebooki ---------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.product {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column;
}
.product .pcover { aspect-ratio: 16/10; background: linear-gradient(150deg, var(--wine), var(--wine-dark)); display: grid; place-items: center; color: var(--gold-light); font-family: var(--serif); font-size: 1.3rem; text-align: center; padding: 28px; position: relative; }
.product .pbody { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.product h3 { margin-bottom: 8px; }
.product .pmeta { font-size: .85rem; color: var(--ink-soft); margin-bottom: 14px; }
.product p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.product .price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 18px; }
.product .price .now { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--wine); }
.product .price .was { text-decoration: line-through; color: var(--ink-soft); font-size: 1rem; }
.badge { display: inline-block; background: var(--gold); color: var(--wine-dark); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border-radius: 50px; position: absolute; top: 16px; right: 16px; }

/* ---------- Artykuły ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card .thumb { aspect-ratio: 16/9; background: linear-gradient(150deg, var(--rose), var(--wine-soft)); display: grid; place-items: center; font-size: 38px; color: #fff; }
.post-card .pc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .tag { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.post-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.post-card p { font-size: .92rem; color: var(--ink-soft); flex: 1; }
.post-card .readmore { margin-top: 14px; font-weight: 600; font-size: .9rem; }

/* ---------- Artykuł (treść) ---------- */
.article { padding: 56px 0 70px; }
.article .kicker { color: var(--gold); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.article h1 { margin: 14px 0 18px; }
.article .meta { color: var(--ink-soft); font-size: .9rem; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article-body { font-size: 1.08rem; }
.article-body h2 { margin: 38px 0 14px; }
.article-body h3 { margin: 28px 0 10px; }
.article-body ul, .article-body ol { margin: 0 0 1.1em 1.3em; }
.article-body li { margin-bottom: .5em; }
.article-body .box { background: var(--rose-soft); border-radius: var(--radius-sm); padding: 22px 26px; margin: 26px 0; }
.article-body .box.good { background: var(--green-soft); }
.article-body .box strong { color: var(--wine); }
.cta-inline { background: linear-gradient(135deg, var(--wine), var(--wine-soft)); color: #fff; border-radius: var(--radius); padding: 34px; text-align: center; margin: 44px 0 10px; box-shadow: var(--shadow); }
.cta-inline h3 { color: #fff; margin-bottom: 10px; }
.cta-inline p { color: var(--rose-soft); margin-bottom: 20px; }

/* ---------- Tracker ---------- */
.tracker-wrap { max-width: 860px; margin: 0 auto; }
.tracker-intro { background: #fff; border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-bottom: 30px; }
.progress { height: 12px; background: var(--rose-soft); border-radius: 50px; overflow: hidden; margin: 16px 0 6px; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--wine-soft)); border-radius: 50px; transition: width .4s ease; }
.q-card { background: #fff; border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-bottom: 18px; }
.q-card h4 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin-bottom: 14px; color: var(--ink); }
.opts { display: flex; gap: 10px; flex-wrap: wrap; }
.opt { padding: 10px 18px; border-radius: 50px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: all .15s ease; user-select: none; }
.opt:hover { border-color: var(--rose); }
.opt.sel { background: var(--wine); border-color: var(--wine); color: #fff; }
.opt.sel-soft { background: var(--rose-soft); border-color: var(--rose); color: var(--wine); }
.mood { display: flex; gap: 10px; }
.mood .opt { font-size: 22px; padding: 8px 14px; }
.day-strip { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 6px; }
.day-dot { width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.day-dot.done { background: var(--wine); color: #fff; border-color: var(--wine); }
.day-dot.today { border-color: var(--gold); border-width: 2px; color: var(--wine); }
.summary { background: linear-gradient(160deg, var(--wine-dark), var(--wine)); color: var(--rose-soft); border-radius: var(--radius); padding: 34px; margin-top: 24px; }
.summary h3 { color: #fff; }
.summary .stat { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
.summary .stat b { color: var(--gold-light); }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 20px 24px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q::after { content: "+"; font-size: 24px; color: var(--gold); font-weight: 400; }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; color: var(--ink-soft); }
.faq-item.open .faq-a { padding: 0 24px 22px; max-height: 500px; }

/* ---------- Stopka ---------- */
footer.site { background: var(--wine-dark); color: var(--rose-soft); padding: 56px 0 28px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
footer.site h4 { color: #fff; font-family: var(--sans); font-size: .9rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
footer.site a { color: var(--rose-soft); font-size: .95rem; display: block; margin-bottom: 9px; }
footer.site a:hover { color: var(--gold-light); }
.foot-logo { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin-bottom: 12px; }
.foot-disc { font-size: .85rem; color: rgba(243,227,228,0.6); line-height: 1.6; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: rgba(243,227,228,0.6); }

/* ---------- Baner cookies ---------- */
.cookie-bar {
  position: fixed; bottom: 18px; left: 18px; right: 18px; max-width: 540px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px 24px; z-index: 200;
  display: none; align-items: center; gap: 18px;
}
.cookie-bar.show { display: flex; }
.cookie-bar p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.cookie-bar .btn { padding: 10px 22px; font-size: 14px; white-space: nowrap; }

/* ---------- Pomocnicze ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 18px; } .mt-4 { margin-top: 36px; }
.disclaimer-box { background: #fff; border: 1px dashed var(--rose); border-radius: var(--radius-sm); padding: 18px 22px; font-size: .9rem; color: var(--ink-soft); display: flex; gap: 12px; align-items: flex-start; }
.disclaimer-box .di { font-size: 20px; }

/* ---------- Ramki na zdjęcia AI (wrzuć pliki do /assets) ----------
   Każda klasa nakłada: ciemną nakładkę (czytelność tekstu) + zdjęcie + gradient marki (fallback).
   Jeśli pliku nie ma — widać gradient marki, więc nic się nie psuje. */
.frame-img { background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; }

.img-hero    { background-image: linear-gradient(160deg, rgba(110,31,58,.45), rgba(86,21,48,.72)), url('../assets/hero.jpg'),       linear-gradient(160deg, var(--wine), var(--wine-dark)) !important; }
.img-tracker { background-image: linear-gradient(160deg, rgba(110,31,58,.40), rgba(86,21,48,.70)), url('../assets/tracker.jpg'),    linear-gradient(160deg, var(--gold), var(--wine-soft)) !important; }
.img-cover1  { background-image: linear-gradient(160deg, rgba(110,31,58,.50), rgba(86,21,48,.78)), url('../assets/okladka-1.jpg'),   linear-gradient(150deg, var(--wine), var(--wine-dark)) !important; }
.img-cover2  { background-image: linear-gradient(160deg, rgba(110,31,58,.50), rgba(86,21,48,.78)), url('../assets/okladka-2.jpg'),   linear-gradient(150deg, var(--wine), var(--wine-dark)) !important; }

.img-a1 { background-image: linear-gradient(160deg, rgba(110,31,58,.28), rgba(86,21,48,.55)), url('../assets/art-rozpoznac.jpg'),  linear-gradient(150deg, var(--rose), var(--wine-soft)) !important; }
.img-a2 { background-image: linear-gradient(160deg, rgba(110,31,58,.28), rgba(86,21,48,.55)), url('../assets/art-jade.jpg'),       linear-gradient(150deg, var(--rose), var(--wine-soft)) !important; }
.img-a3 { background-image: linear-gradient(160deg, rgba(110,31,58,.28), rgba(86,21,48,.55)), url('../assets/art-gaslighting.jpg'),linear-gradient(150deg, var(--rose), var(--wine-soft)) !important; }
.img-a4 { background-image: linear-gradient(160deg, rgba(110,31,58,.28), rgba(86,21,48,.55)), url('../assets/art-alienacja.jpg'),  linear-gradient(150deg, var(--rose), var(--wine-soft)) !important; }
.img-a5 { background-image: linear-gradient(160deg, rgba(110,31,58,.28), rgba(86,21,48,.55)), url('../assets/art-dziecko.jpg'),    linear-gradient(150deg, var(--rose), var(--wine-soft)) !important; }
.img-a6 { background-image: linear-gradient(160deg, rgba(110,31,58,.28), rgba(86,21,48,.55)), url('../assets/art-greyrock.jpg'),   linear-gradient(150deg, var(--rose), var(--wine-soft)) !important; }
.img-a7 { background-image: linear-gradient(160deg, rgba(110,31,58,.28), rgba(86,21,48,.55)), url('../assets/art-sad.jpg'),        linear-gradient(150deg, var(--rose), var(--wine-soft)) !important; }

/* Emoji w miniaturach lekko przygaszone, gdy pod spodem jest zdjęcie */
.post-card .thumb.frame-img { font-size: 0; }

/* Okładki produktów — pełne, pionowe (jak w księgarni), bez nakładki tekstowej */
.product .pcover.cover-portrait { aspect-ratio: 3/4; background-size: cover !important; background-position: center top !important; background-repeat: no-repeat !important; color: transparent; font-size: 0; }
.product .pcover.cover-1 { background-image: url('../assets/okladka-1.jpg'), linear-gradient(150deg, var(--wine), var(--wine-dark)) !important; }
.product .pcover.cover-2 { background-image: url('../assets/okladka-2.jpg'), linear-gradient(150deg, var(--wine), var(--wine-dark)) !important; }

/* ---------- Responsywność ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 380px; margin: 0 auto; }
  .cards, .posts { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { position: fixed; inset: 72px 0 auto 0; background: var(--cream); flex-direction: column; gap: 0; padding: 10px 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; }
  .nav-toggle { display: block; }
  .cards, .posts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .section { padding: 56px 0; }
  .hero { padding: 50px 0; }
}
