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

:root {
  --rose:    #d48fa6;
  --rose-lt: #f5dde5;
  --rose-dk: #b06b84;
  --navy:    #1e293b;
  --slate:   #3d4f6b;
  --gray:    #6b7a90;
  --white:   #ffffff;
  --off:     #fdf8f9;
  --line:    #ecdde3;
  --shadow:  0 8px 40px rgba(30,41,59,.08);
  --r:       20px;
  --max:     1200px;
  --hero-ink: #120e14;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--navy); background: var(--white); line-height: 1.75; }
img { display: block; max-width: 100%; }
a { color: var(--rose-dk); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

/* ── NAV ── */
.nav-bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 0;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--rose), #f0b8c8);
  display: grid; place-items: center; font-size: 18px; color: #fff;
}
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--navy); font-weight: 700; }
.nav-links { display: flex; gap: 20px; font-size: .88rem; font-weight: 600; flex-wrap: wrap; }
.nav-links a { color: var(--slate); }
.nav-links a:hover, .nav-links a.active { color: var(--rose-dk); }
.nav-cta {
  padding: 9px 20px; border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dk));
  color: #fff !important; font-weight: 700; font-size: .85rem;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { opacity: .88; color: #fff; }
.hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 38px; height: 38px; background: none; border: none;
  cursor: pointer; padding: 4px; border-radius: 8px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════
   HERO — jedyna, aktualna wersja (premium, full-bleed foto)
   Zastępuje starą, dzieloną wersję hero-bg/hero-img.
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--hero-ink);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/hero-face.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: transform 8s ease;
  z-index: -3;
}
.hero:hover .hero-media { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18,14,20,.86) 0%, rgba(18,14,20,.68) 38%, rgba(18,14,20,.36) 68%, rgba(18,14,20,.18) 100%),
    linear-gradient(180deg, rgba(18,14,20,.16) 0%, rgba(18,14,20,.4) 100%);
  z-index: -2;
}
.hero-glow {
  position: absolute;
  inset: auto auto -140px -100px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,143,166,.24) 0%, rgba(212,143,166,0) 72%);
  filter: blur(14px);
  z-index: -1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 760px;
  padding: 110px 0 88px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; font-size: .8rem; font-weight: 700;
  margin-bottom: 22px;
}
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1.02;
  color: #fff;
  margin-bottom: 22px;
  max-width: 12ch;
  text-wrap: balance;
  text-shadow: 0 6px 24px rgba(0,0,0,.22);
}
h1 em { font-style: normal; color: #f3c5d5; }
.hero-lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,.88);
  max-width: 58ch;
  margin-bottom: 32px;
}
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700;
  font-size: .92rem; transition: .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-dk));
  color: #fff;
  box-shadow: 0 10px 30px rgba(176,107,132,.34);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; }
.btn-outline {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.26);
  color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; max-width: 760px; }
.chip {
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  font-size: .78rem; font-weight: 600;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* Warianty jaśniejsze (podstrony bez zdjęcia w tle, np. article-hero korzysta z innych klas) */

/* ── SECTIONS ── */
section { padding: 72px 0; }
.sec-label {
  font-size: .76rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--rose-dk); margin-bottom: 10px;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.18; color: var(--navy);
}
.section-intro { color: var(--gray); max-width: 62ch; margin-top: 10px; font-size: 1.02rem; }

/* ── TRUST STRIP ── */
.trust-strip { background: var(--off); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust-inner { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--slate); font-size: .9rem; }
.trust-icon { font-size: 1.4rem; }

/* ── CATEGORY GRID ── */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 38px; }
.cat-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 28px 22px; text-align: center;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(30,41,59,.12); }
.cat-icon { font-size: 2.2rem; width: 64px; height: 64px; border-radius: 50%; background: var(--rose-lt); display: grid; place-items: center; }
.cat-card h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--navy); }
.cat-card p { color: var(--gray); font-size: .88rem; }
.cat-card a { color: var(--rose-dk); font-weight: 700; font-size: .85rem; margin-top: auto; }

/* ── ARTICLE CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(30,41,59,.12); }
.card-thumb {
  width: 100%; height: 190px;
  background: linear-gradient(135deg, var(--rose-lt), #f0c8d4);
  display: grid; place-items: center; font-size: 3rem;
}
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.card-tag { font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--rose-dk); }
.card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--navy); line-height: 1.3; }
.card p { color: var(--gray); font-size: .9rem; flex: 1; }
.card a.read { font-weight: 700; font-size: .86rem; color: var(--rose-dk); margin-top: auto; display: inline-flex; align-items: center; gap: 4px; }
.card a.read:hover { color: var(--navy); }

/* ── FEATURE SPLIT ── */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-img-block {
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, var(--rose-lt), #f0c8d4);
  height: 400px; display: grid; place-items: center; font-size: 6rem;
  box-shadow: var(--shadow);
}
.feature-text { display: flex; flex-direction: column; gap: 18px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; color: var(--slate); }
.check-list li::before {
  content: "✓"; min-width: 24px; height: 24px; border-radius: 50%;
  background: var(--rose-lt); color: var(--rose-dk); font-weight: 800;
  display: grid; place-items: center; font-size: .78rem; flex-shrink: 0;
}

/* ── COMPARISON TABLE ── */
.cmp-table-wrap { overflow-x: auto; margin-top: 36px; border-radius: var(--r); box-shadow: var(--shadow); }
.cmp-table { width: 100%; border-collapse: collapse; background: #fff; }
.cmp-table thead th { background: #fdf0f4; padding: 14px 18px; text-align: left; font-family: 'Playfair Display', serif; color: var(--navy); border-bottom: 2px solid var(--line); }
.cmp-table tbody td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--slate); vertical-align: top; }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody tr:hover td { background: #fdf8f9; }
.badge-ok   { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #e8f7ef; color: #1f7a4a; font-size: .76rem; font-weight: 700; }
.badge-warn { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #fff4e0; color: #8a5a00; font-size: .76rem; font-weight: 700; }

/* ── FAQ ── */
.faq-grid { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
details.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px 22px; box-shadow: var(--shadow);
}
details.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: .97rem; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--rose-dk); }
details.faq-item[open] summary::after { content: "−"; }
.faq-answer { margin-top: 12px; color: var(--gray); line-height: 1.8; font-size: .95rem; }

/* ── SALE BOX ── */
.sale-section { background: linear-gradient(135deg, #fdf0f4, #fff); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; }
.sale-box {
  background: linear-gradient(135deg, var(--navy), var(--slate));
  border-radius: 28px; padding: 48px 44px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  box-shadow: 0 20px 60px rgba(30,41,59,.22);
}
.sale-box h2 { color: #fff; font-size: clamp(1.5rem, 2.5vw, 2.2rem); margin-bottom: 10px; }
.sale-box p { color: rgba(255,255,255,.76); max-width: 52ch; font-size: .97rem; }
.sale-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; flex-shrink: 0; }
.sale-domain { font-family: 'Playfair Display', serif; font-size: 1.9rem; color: var(--rose); font-weight: 700; }
.btn-sale {
  padding: 15px 30px; border-radius: 999px; font-weight: 800;
  background: linear-gradient(135deg, var(--rose), var(--rose-dk));
  color: #fff; font-size: .97rem; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 24px rgba(180,100,130,.4);
}
.btn-sale:hover { transform: translateY(-2px); color: #fff; }

/* ── ARTICLE LAYOUT ── */
.article-hero { padding: 52px 0 28px; background: linear-gradient(135deg, #fdf0f4, #fff); }
.breadcrumb { font-size: .83rem; color: var(--gray); margin-bottom: 10px; }
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--rose-dk); }
.article-meta { display: flex; gap: 16px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.article-meta span { font-size: .82rem; color: var(--gray); }
.article-tag { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--rose-dk); background: var(--rose-lt); padding: 3px 12px; border-radius: 999px; }
.article-lead { font-size: 1.08rem; color: var(--slate); max-width: 68ch; margin-top: 14px; line-height: 1.7; }
.article-body { padding: 48px 0; }
.two-col { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.prose { max-width: 820px; }
.prose h2 { font-family: 'Playfair Display', serif; margin: 36px 0 14px; font-size: 1.65rem; }
.prose h3 { font-family: 'Playfair Display', serif; margin: 24px 0 10px; font-size: 1.25rem; color: var(--slate); }
.prose p { color: var(--slate); margin-bottom: 16px; line-height: 1.8; }
.prose ul { padding-left: 20px; color: var(--slate); display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.prose li { line-height: 1.7; }
.prose .info-box { background: #fdf0f4; border-left: 4px solid var(--rose); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 24px 0; }
.prose .info-box p { margin: 0; color: var(--slate); }
.article-sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 80px; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.sidebar-card h4 { font-family: 'Playfair Display', serif; color: var(--navy); margin-bottom: 12px; font-size: 1rem; }
.sidebar-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-card ul a { color: var(--slate); font-size: .9rem; }
.sidebar-card ul a:hover { color: var(--rose-dk); }

/* ── PORADNIK HUB ── */
.hub-header { padding: 56px 0 32px; background: linear-gradient(120deg, #fdf0f4, #fff); }
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.hub-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 28px; box-shadow: var(--shadow);
  display: flex; gap: 20px; align-items: flex-start;
  transition: transform .2s, box-shadow .2s;
}
.hub-card:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(30,41,59,.12); }
.hub-icon { font-size: 2rem; width: 56px; height: 56px; border-radius: 14px; background: var(--rose-lt); display: grid; place-items: center; flex-shrink: 0; }
.hub-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--navy); margin-bottom: 6px; }
.hub-card p { color: var(--gray); font-size: .9rem; margin-bottom: 12px; }
.hub-card a.read { color: var(--rose-dk); font-weight: 700; font-size: .86rem; }

/* ── FOOTER ── */
footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 52px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
footer h4 { font-family: 'Playfair Display', serif; color: #fff; margin-bottom: 14px; font-size: 1rem; }
footer p { font-size: .9rem; line-height: 1.7; }
.footer-sale { margin-top: 14px; background: rgba(255,255,255,.06); border-radius: 10px; padding: 12px 14px; font-size: .86rem; }
.footer-sale a { color: var(--rose); }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer ul a { color: rgba(255,255,255,.6); font-size: .88rem; }
footer ul a:hover { color: var(--rose); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--rose); }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .hero { min-height: 84vh; }
  .hero-content { max-width: 680px; padding: 92px 0 72px; }
  h1 { max-width: 13ch; }
}
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-split, .two-col { grid-template-columns: 1fr; }
  .feature-img-block { height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sale-box { flex-direction: column; }
  .hub-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 16px 20px; gap: 14px;
    box-shadow: 0 8px 24px rgba(30,41,59,.1);
  }
  .nav-links.open { display: flex; }
  .hero { min-height: auto; padding: 32px 0 0; }
  .hero-media { background-position: 62% center; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(18,14,20,.72) 0%, rgba(18,14,20,.58) 48%, rgba(18,14,20,.72) 100%),
      linear-gradient(90deg, rgba(18,14,20,.74) 0%, rgba(18,14,20,.42) 100%);
  }
  .hero-content { padding: 78px 0 64px; }
  h1 { font-size: clamp(2.3rem, 9vw, 3.6rem); max-width: 11ch; }
  .hero-lead { font-size: 1rem; max-width: 46ch; }
}
@media (max-width: 640px) {
  .cards-grid, .cat-grid, .footer-grid { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .sale-box { padding: 28px 22px; }
}
@media (max-width: 560px) {
  .hero { min-height: 100svh; }
  .hero-content { padding: 86px 0 54px; }
  .pill { font-size: .74rem; padding: 7px 14px; }
  h1 { font-size: clamp(2rem, 10vw, 3rem); line-height: 1.05; max-width: 10ch; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { justify-content: center; width: 100%; }
  .hero-chips { gap: 8px; }
  .chip { font-size: .74rem; }
}
