/* Wizytobox — jeden arkusz, bez Sass i build stepu. Wzór: coreshift.pl/assets/css/styles.css.
   Inter z własnego serwera: bez zapytań do Google przed zgodą na cookies. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-v20.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: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-v20.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;
}

:root {
  --bg: #ffffff;
  --fg: #1f1720;
  --card: #ffffff;
  --muted: #fbf6f5;
  --muted-fg: #6b5d64;
  --border: #efe3e3;
  --accent: #fbe9ee;
  --accent-fg: #a8325a;
  --primary: #a8325a;
  --primary-2: #d4687f;
  --primary-fg: #ffffff;
  --ok: #1f7a55;
  --ok-bg: #e5f4ec;
  --no: #9a3b3b;
  --no-bg: #f9e8e6;
  --soon: #8a5a00;
  --soon-bg: #fff3d6;
  --dark: #241a22;
  --gradient-primary: linear-gradient(135deg, #a8325a, #d4687f);
  --gradient-soft: linear-gradient(180deg, #fffaf8, #fbefee);
  --shadow-card: 0 1px 3px rgba(31, 23, 32, 0.04), 0 8px 24px -12px rgba(31, 23, 32, 0.10);
  --shadow-soft: 0 6px 28px -10px rgba(168, 50, 90, 0.35);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(168, 50, 90, .45); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: 8px 16px; background: var(--dark); color: #fff; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* Pasek nad nagłówkiem */
.top-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; background: var(--dark); color: #fff; font-size: 13px; line-height: 1.3; text-align: center; }
.top-bar:hover { background: #3a2a36; }
.top-bar .icon { flex-shrink: 0; }

/* Nagłówek */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.88); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(239,227,227,0.8); }
.site-header .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { width: 36px; height: 36px; }
.logo-text { font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--fg); }
.logo-text b { color: var(--primary); font-weight: 700; }
.nav-desktop { display: none; align-items: center; gap: 24px; }
.nav-desktop a { font-size: 15px; font-weight: 500; color: rgba(31,23,32,0.8); transition: color .15s; white-space: nowrap; }
.nav-desktop a:hover, .nav-desktop a.active { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 8px; }
/* Selektor z .header-actions, bo późniejsza reguła .btn (display: inline-flex) nadpisałaby samo .btn-cta-header */
.header-actions .btn-cta-header { display: none; }
@media (max-width: 479px) { .top-bar .wide { display: none; } }
.phone-round { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--primary); }
.phone-round:hover { background: var(--primary); color: #fff; }
.menu-toggle { padding: 8px; border-radius: 6px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 640px) { .header-actions .btn-cta-header { display: inline-flex; } }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
}
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--bg); }
.mobile-nav.open { display: block; }
.mobile-nav ul { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 4px; max-width: 1200px; margin: 0 auto; }
.mobile-nav a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 16px; font-weight: 500; }
.mobile-nav a:hover, .mobile-nav a.active { background: var(--accent); }
.mobile-nav .btn { margin-top: 8px; display: block; text-align: center; }
.mobile-nav .btn:hover { background: var(--gradient-primary); }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: var(--radius); font-size: 15px; font-weight: 600; transition: transform .15s, background .15s, color .15s; }
.btn-primary { background: var(--gradient-primary); color: var(--primary-fg); box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: scale(1.03); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: var(--bg); padding: 11px 22px; }
.btn-outline:hover { background: var(--primary); color: var(--primary-fg); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: scale(1.03); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--gradient-soft); }
.hero-grid { display: grid; gap: 48px; align-items: center; padding-block: 56px 64px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.1fr .9fr; padding-block: 88px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-fg); padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(168,50,90,.15); }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 700; letter-spacing: -.025em; margin-top: 22px; }
.hero .lead { margin-top: 22px; max-width: 590px; font-size: 18px; color: var(--muted-fg); }
.hero-note { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted-fg); }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .icon { color: var(--ok); }
.cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .container { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 1024px) { .page-hero .container { padding-top: 80px; padding-bottom: 72px; } }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); }
.page-hero .lead { max-width: 720px; }

/* Makieta telefonu (fikcyjny gabinet — bez zrzutów prawdziwych instalacji) */
.mockup { position: relative; max-width: 520px; margin: 0 auto; padding: 36px 0; }
.phone { position: relative; width: 300px; max-width: 100%; margin: 0 auto; border-radius: 40px; padding: 12px; background: #1f1720; box-shadow: 0 30px 60px -25px rgba(31,23,32,.45); }
.phone-screen { border-radius: 30px; overflow: hidden; background: #fff; font-size: 13px; }
.mk-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 12px; border-bottom: 1px solid var(--border); }
.mk-brand { font-weight: 700; font-size: 14px; }
.mk-brand small { display: block; font-weight: 500; font-size: 11px; color: var(--muted-fg); }
.mk-burger { width: 18px; height: 12px; border-top: 2px solid var(--fg); border-bottom: 2px solid var(--fg); position: relative; }
.mk-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid var(--fg); }
.mk-body { padding: 16px 18px 20px; }
.mk-step { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.mk-title { margin-top: 4px; font-size: 17px; font-weight: 700; }
.mk-service { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; display: flex; justify-content: space-between; gap: 8px; }
.mk-service b { display: block; font-size: 13px; }
.mk-service span { font-size: 11px; color: var(--muted-fg); }
.mk-service strong { white-space: nowrap; }
.mk-days { margin-top: 14px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; text-align: center; }
.mk-day { padding: 6px 0; border-radius: 10px; border: 1px solid var(--border); font-size: 11px; color: var(--muted-fg); }
.mk-day b { display: block; font-size: 15px; color: var(--fg); }
.mk-day.on { background: var(--primary); border-color: var(--primary); color: #fde8ee; }
.mk-day.on b { color: #fff; }
.mk-times { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mk-time { padding: 8px 0; text-align: center; border-radius: 10px; background: var(--muted); font-weight: 600; font-size: 12px; }
.mk-time.on { background: var(--accent); color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary); }
.mk-time.off { color: #c8b9bf; text-decoration: line-through; background: #fff; border: 1px dashed var(--border); }
.mk-btn { margin-top: 16px; padding: 12px; text-align: center; border-radius: 12px; background: var(--gradient-primary); color: #fff; font-weight: 600; }
.mk-hint { margin-top: 8px; text-align: center; font-size: 11px; color: var(--muted-fg); }
.float-card { position: absolute; display: flex; gap: 10px; align-items: flex-start; max-width: 230px; padding: 10px 12px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-card); font-size: 12px; line-height: 1.4; animation: float 6s ease-in-out infinite; }
.float-card .ico { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--primary); }
.float-card b { display: block; font-size: 12px; }
.float-card span { color: var(--muted-fg); }
/* Karty leżą na rogach telefonu (nad nagłówkiem i pod przyciskiem), żeby nie zasłaniać treści ekranu */
.float-sms { right: 0; top: 4px; }
@media (min-width: 1024px) { .float-sms { right: -56px; top: -8px; } .float-pay { left: -24px; } }
.float-pay { left: 0; bottom: 0; animation-delay: 1.4s; }
.float-pay .ico { background: var(--ok-bg); color: var(--ok); }
@media (max-width: 599px) {
  .mockup { padding: 0; }
  .float-card { position: static; margin: 12px auto 0; max-width: 300px; animation: none; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Makieta panelu (dzień w kalendarzu) */
.panel-mock { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-card); overflow: hidden; }
.pm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--muted); }
.pm-head b { font-size: 15px; }
.pm-head span { font-size: 12px; color: var(--muted-fg); }
.pm-list { padding: 8px 0; }
.pm-row { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 10px 18px; font-size: 14px; }
.pm-row + .pm-row { border-top: 1px dashed var(--border); }
.pm-row time { font-weight: 700; color: var(--primary); }
.pm-row small { display: block; color: var(--muted-fg); font-size: 12px; }
.pm-tag { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); white-space: nowrap; }
.pm-tag.wait { background: var(--soon-bg); color: var(--soon); }
.pm-tag.pack { background: var(--accent); color: var(--primary); }

/* Sekcje */
.section { padding: 64px 0; }
@media (min-width: 1024px) { .section { padding: 88px 0; } }
.section-soft { background: var(--gradient-soft); }
.section-dark { background: var(--dark); color: #f3e9ec; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto; }
.kicker { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--primary); }
.section-head h2, .h2 { margin-top: 12px; font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.02em; }
.section-head .bar { margin: 16px auto 0; height: 3px; width: 64px; border-radius: 2px; background: var(--gradient-primary); }
.section-head .sub { margin-top: 16px; color: var(--muted-fg); font-size: 17px; }
.section-dark .kicker { color: #f3a7bb; }
.section-dark .sub { color: #cdbdc4; }

/* Karty */
.cards { margin-top: 44px; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards.cards-4 { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; padding: 24px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-card); height: 100%; }
a.card { transition: transform .2s, border-color .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-4px); border-color: rgba(168,50,90,0.4); box-shadow: var(--shadow-soft); }
.card .ico, .ico-box { width: 48px; height: 48px; background: var(--accent); color: var(--primary); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card h3 { margin-top: 18px; font-size: 18px; font-weight: 600; }
.card p { margin-top: 8px; font-size: 15px; color: var(--muted-fg); line-height: 1.6; }
.card .more { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 600; color: var(--primary); }
.card-pain .ico { background: var(--no-bg); color: var(--no); }
.section-more { margin-top: 32px; text-align: center; }

/* Lista z ptaszkami */
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks li b { font-weight: 600; }
.ticks.soon li::before { background: var(--soon-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5a00' stroke-width='3' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpolyline points='12 8 12 12 15 14'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Neutralne punkty (np. opis cudzego rozwiązania — bez zielonych ptaszków) */
.ticks.plain li::before { top: 9px; left: 6px; width: 8px; height: 8px; background: var(--muted-fg); }

/* Dwie kolumny: tekst + lista / makieta */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.split-rev > :first-child { order: 2; } }
.split .h2 { margin-top: 10px; }
.split p.sub { margin-top: 16px; color: var(--muted-fg); font-size: 17px; }
.split .ticks { margin-top: 24px; }

/* Funkcje: grupy */
.feature-groups { margin-top: 44px; display: grid; gap: 20px; }
@media (min-width: 900px) { .feature-groups { grid-template-columns: repeat(2, 1fr); } }
.feature { padding: 28px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-card); scroll-margin-top: 96px; }
.feature-head { display: flex; gap: 14px; align-items: center; }
.feature h2, .feature h3 { font-size: 20px; font-weight: 700; }
.feature .lead-in { margin-top: 12px; color: var(--muted-fg); font-size: 15px; }
.feature .ticks { margin-top: 18px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; vertical-align: middle; }
.badge-soon { background: var(--soon-bg); color: var(--soon); }
.badge-ok { background: var(--ok-bg); color: var(--ok); }

/* Kroki */
.steps { margin-top: 48px; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 24px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-card); }
.step .n { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--gradient-primary); color: #fff; font-weight: 700; font-size: 15px; }
.step h3 { margin-top: 16px; font-size: 17px; font-weight: 600; }
.step p { margin-top: 8px; font-size: 15px; color: var(--muted-fg); line-height: 1.6; }
.step .when { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--primary); }

/* Branże */
.chips { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 15px; font-weight: 500; }
.chip.main { background: var(--accent); border-color: transparent; color: var(--primary); font-weight: 600; }
a.chip:hover { border-color: var(--primary); color: var(--primary); }
.page-hero .chips { justify-content: flex-start; }
.feature .badge { margin-left: 4px; }
.feature-section { scroll-margin-top: 80px; }

/* Tabela porównania */
.table-wrap { margin-top: 40px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--muted); font-size: 14px; font-weight: 700; }
.compare thead th.us { background: var(--accent); color: var(--primary); }
.compare td.us { background: #fffafb; font-weight: 500; }
.compare tbody th { font-weight: 600; width: 24%; }
.yes, .no, .mid { display: inline-flex; align-items: flex-start; gap: 6px; }
.yes::before, .no::before, .mid::before { flex-shrink: 0; margin-top: 2px; width: 18px; height: 18px; border-radius: 50%; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.yes::before { content: "✓"; background: var(--ok-bg); color: var(--ok); }
.no::before { content: "✕"; background: var(--no-bg); color: var(--no); }
.mid::before { content: "~"; background: var(--soon-bg); color: var(--soon); }
.table-note { margin-top: 14px; font-size: 13px; color: var(--muted-fg); text-align: center; }
.table-hint { display: block; margin-top: 8px; font-size: 13px; color: var(--muted-fg); text-align: center; }
@media (min-width: 760px) { .table-hint { display: none; } }

/* Ramka z przykładem / uwagą */
.note { margin-top: 32px; padding: 22px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--primary); box-shadow: var(--shadow-card); }
.note h3 { font-size: 17px; font-weight: 700; }
.note p { margin-top: 8px; color: var(--muted-fg); font-size: 15px; }
.note p strong { color: var(--fg); }
.note-honest { border-left-color: var(--soon); }

/* Cena */
.price-grid { margin-top: 44px; display: grid; gap: 20px; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1.15fr 1fr; } }
.price-card { padding: 32px; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.price-card.main { border: 2px solid var(--primary); box-shadow: var(--shadow-soft); }
.price-card .label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); }
.price-card .amount { margin-top: 10px; font-size: clamp(36px, 5vw, 48px); font-weight: 700; letter-spacing: -.02em; }
.price-card .amount small { font-size: 16px; font-weight: 500; color: var(--muted-fg); letter-spacing: 0; }
.price-card .desc { margin-top: 8px; color: var(--muted-fg); }
.price-card .ticks { margin-top: 22px; }
.stages { margin-top: 20px; display: grid; gap: 20px; }
@media (min-width: 900px) { .stages { grid-template-columns: repeat(3, 1fr); } }
.stage { padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.stage .num { font-size: 13px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; }
.stage h3 { margin-top: 6px; font-size: 19px; font-weight: 700; }
.stage .ticks { margin-top: 16px; }
.stage .pay { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted-fg); }
.stage .pay strong { display: block; font-size: 20px; color: var(--fg); }
.stage .ticks + .pay { margin-top: 18px; }

/* Pytania i odpowiedzi */
.faq { margin: 40px auto 0; max-width: 820px; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-card); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative; font-weight: 600; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--primary); font-size: 18px; line-height: 26px; text-align: center; }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 20px 18px; color: var(--muted-fg); font-size: 15px; line-height: 1.65; }
.faq-a a { color: var(--primary); text-decoration: underline; }

/* Wezwanie do działania */
.cta-box { position: relative; overflow: hidden; padding: 36px 28px; border-radius: 24px; background: var(--dark); color: #f3e9ec; }
@media (min-width: 768px) { .cta-box { padding: 56px; } }
.cta-box::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(212,104,127,.45), transparent 70%); pointer-events: none; }
.cta-grid { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: 1.4fr 1fr; } }
.cta-box h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; color: #fff; letter-spacing: -.02em; }
.cta-box p { margin-top: 14px; color: #cdbdc4; font-size: 16px; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
@media (min-width: 900px) { .cta-side { align-items: flex-end; } }
.cta-side .small { font-size: 14px; color: #cdbdc4; }
.cta-side .small a { color: #fff; text-decoration: underline; }

/* Kontakt */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.contact-list { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.contact-list a, .contact-list .item { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 500; }
.contact-list a:hover { color: var(--primary); }
.contact-list small { display: block; font-size: 13px; font-weight: 400; color: var(--muted-fg); }
.contact-box { padding: 32px; background: var(--gradient-soft); border: 1px solid var(--border); border-radius: 24px; }
.contact-box h2 { font-size: 24px; font-weight: 700; }
.contact-box .ticks { margin-top: 18px; }
.contact-box .btn { margin-top: 24px; }

/* Długie treści (polityka prywatności) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 40px; font-size: 22px; font-weight: 700; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 16px; color: var(--muted-fg); line-height: 1.7; }
.prose ul { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.prose li { color: var(--muted-fg); line-height: 1.7; padding-left: 20px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.prose a { color: var(--primary); text-decoration: underline; }
.prose strong { color: var(--fg); }

/* Blog — lista i karty wpisów (wpisy z panelu Connect, od 2026-11-14) */
.post-grid { margin-top: 40px; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-grid-listing { margin-top: 0; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform .2s, border-color .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(168,50,90,.35); box-shadow: var(--shadow-soft); }
.post-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-bottom: 1px solid var(--border); }
.post-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; flex: 1; }
.post-card-cat { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }
.post-card-title { font-size: 18px; font-weight: 600; line-height: 1.3; }
.post-card-desc { font-size: 14px; color: var(--muted-fg); line-height: 1.6; }
.post-card-meta { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--muted-fg); }
.pagination { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--border); font-weight: 600; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination span[aria-current] { background: var(--gradient-primary); color: var(--primary-fg); border-color: transparent; }

/* Blog — pojedynczy wpis */
.post-hero { background: var(--gradient-soft); padding: 40px 0 36px; }
.post-head { max-width: 808px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted-fg); }
.breadcrumbs a:hover { color: var(--primary); }
.post-cat { display: inline-block; margin-top: 22px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font-size: 12px; font-weight: 600; }
.post-head h1 { margin-top: 14px; font-size: clamp(28px, 4.5vw, 44px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.post-meta { margin-top: 14px; font-size: 14px; color: var(--muted-fg); }
.post-body { padding-top: 36px; padding-bottom: 56px; }
.post-body > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.post-image { margin-bottom: 32px; }
.post-image img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 16px; border: 1px solid var(--border); }
.post-toc { margin-bottom: 32px; padding: 20px 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--muted); }
.post-toc p { font-weight: 600; }
.post-toc ol { margin-top: 8px; padding-left: 20px; list-style: decimal; display: grid; gap: 6px; font-size: 15px; }
.post-toc a { color: var(--primary); }
.post-content h2 { scroll-margin-top: 96px; }
.post-content h3 { margin-top: 28px; font-size: 18px; font-weight: 700; }
.post-content p, .post-content li { color: #4a3d45; font-size: 17px; }
.post-content ol { margin-top: 16px; padding-left: 22px; list-style: decimal; display: flex; flex-direction: column; gap: 10px; }
.post-content ol li { padding-left: 4px; }
.post-content ol li::before { content: none; }
.post-content blockquote { margin-top: 20px; padding: 16px 20px; border-left: 4px solid var(--primary); background: var(--muted); border-radius: 0 12px 12px 0; }
.post-content blockquote p:first-child { margin-top: 0; }
.post-content img { margin-top: 20px; max-width: 100%; height: auto; border-radius: 12px; }
.post-content table { margin-top: 20px; width: 100%; border-collapse: collapse; font-size: 15px; }
.post-content th, .post-content td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.post-content th { background: var(--muted); }
.post-cta { margin-top: 48px; padding: 28px; border-radius: 18px; background: var(--dark); color: #f3e9ec; }
.post-cta-title { font-size: 20px; font-weight: 700; color: #fff; }
.post-cta p + p { margin-top: 8px; color: #cdbdc4; }
.post-cta .btn { margin-top: 20px; }
.author-box { margin-top: 32px; display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--border); border-radius: 16px; }
.author-box img { flex-shrink: 0; }
.author-name { font-weight: 700; }
.author-name span { font-weight: 400; color: var(--muted-fg); }
.author-box p + p { margin-top: 6px; font-size: 15px; color: var(--muted-fg); }
.author-box a { color: var(--primary); text-decoration: underline; }

/* Do pobrania — lista, strona materiału i formularz (2026-11-15; zgłoszenie idzie do CoreBase Connect) */
.material-list { display: grid; gap: 20px; grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
.material-card { display: grid; grid-template-columns: 1fr; background: var(--card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform .2s, box-shadow .2s, border-color .2s; }
@media (min-width: 640px) { .material-card { grid-template-columns: 220px 1fr; } }
.material-card:hover { transform: translateY(-4px); border-color: rgba(168,50,90,.35); box-shadow: var(--shadow-soft); }
.material-card img { width: 100%; height: 100%; max-height: 300px; object-fit: cover; object-position: top; border-bottom: 1px solid var(--border); }
@media (min-width: 640px) { .material-card img { max-height: none; border-bottom: 0; border-right: 1px solid var(--border); } }
.material-card-body { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.material-card-title { font-size: 21px; font-weight: 700; line-height: 1.25; }
.material-card-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); }
.material-hero { display: grid; gap: 36px; align-items: center; padding-top: 48px; padding-bottom: 56px; }
@media (min-width: 1024px) { .material-hero { grid-template-columns: 1.3fr 1fr; gap: 56px; } }
.material-preview { width: 100%; max-width: 380px; height: auto; margin: 0 auto; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 30px 60px -30px rgba(31,23,32,.35); transform: rotate(1.5deg); }
.material-form { max-width: 760px; margin: 0 auto; padding: 32px 24px; background: var(--gradient-soft); border: 1px solid var(--border); border-radius: 24px; scroll-margin-top: 96px; }
@media (min-width: 768px) { .material-form { padding: 40px; } }
.material-form h2 { font-size: clamp(24px, 3.4vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.material-form .sub { margin-top: 10px; color: var(--muted-fg); font-size: 15px; }
.form-grid { margin-top: 22px; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form-grid input, .form-grid select { height: 48px; padding: 0 14px; border: 1px solid #e2d3d6; border-radius: 10px; background: #fff; font: inherit; font-weight: 400; font-size: 16px; color: var(--fg); }
.form-grid input:focus, .form-grid select:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.form-check { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--muted-fg); cursor: pointer; }
.form-check input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); }
.material-form .btn { margin-top: 22px; width: 100%; }
@media (min-width: 640px) { .material-form .btn { width: auto; } }
.material-form .btn[disabled] { opacity: .7; cursor: wait; }
.form-note { margin-top: 16px; font-size: 12.5px; line-height: 1.55; color: var(--muted-fg); }
.form-note a { color: var(--primary); text-decoration: underline; }
.form-error { margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: var(--no-bg); color: var(--no); font-size: 14px; font-weight: 600; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Stopka */
.site-footer { border-top: 1px solid var(--border); background: var(--muted); }
.footer-grid { display: grid; gap: 32px; padding-block: 48px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } }
.footer-grid h2 { font-size: 14px; font-weight: 700; }
.footer-grid ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted-fg); }
.footer-grid a:hover { color: var(--primary); }
.footer-tagline, .footer-note { margin-top: 14px; font-size: 14px; color: var(--muted-fg); line-height: 1.6; }
.footer-note a { color: var(--primary); font-weight: 600; }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom .row { display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: space-between; padding-block: 20px; font-size: 13px; color: var(--muted-fg); }
@media (min-width: 768px) { .footer-bottom .row { flex-direction: row; } }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; }
.footer-legal a:hover { color: var(--primary); }
.link-btn { font: inherit; font-size: 13px; color: var(--muted-fg); text-decoration: underline; padding: 0; }
.link-btn:hover { color: var(--primary); }
.link-btn[hidden] { display: none; }

/* Baner zgody na cookies — pojawia się tylko, gdy w data/site.json jest ID GA albo piksela */
.consent-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 640px; margin: 0 auto; padding: 20px 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.consent-banner p { font-size: 14px; color: var(--fg); line-height: 1.6; }
.consent-banner a { color: var(--primary); text-decoration: underline; }
.consent-actions { margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; }
.consent-options { margin-top: 14px; display: grid; gap: 10px; }
.consent-options[hidden] { display: none; }
.consent-option { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted-fg); cursor: pointer; }
.consent-option strong { color: var(--fg); }
.consent-option input { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; accent-color: var(--primary); }
.consent-actions .btn { padding: 10px 20px; font-size: 13px; }
@media (min-width: 768px) { .consent-banner { left: 24px; bottom: 24px; } }

/* Animacja przy przewijaniu */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-22 { width: 22px; height: 22px; }
.icon-18 { width: 18px; height: 18px; }
.icon-16 { width: 16px; height: 16px; }
.icon-14 { width: 14px; height: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-card { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Wejście do prezentacji na hasło (2026-11-23) — strona logowania bramki /prezentacja/ */
.gate-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .gate-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; } }
.gate-card { padding: 28px; border: 1px solid var(--border); border-radius: 24px; background: #fff; box-shadow: var(--shadow-card); }
.gate-card h2 { font-size: 24px; font-weight: 700; }
.gate-lead { margin-top: 8px; color: var(--muted-fg); }
.gate-form { margin-top: 18px; display: grid; gap: 8px; }
.gate-form label { font-size: 14px; font-weight: 600; }
.gate-form input { height: 50px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; font: inherit; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; }
.gate-form input::placeholder { text-transform: none; letter-spacing: 0; color: #b3a6ac; }
.gate-form input:focus { outline: 3px solid rgba(168, 50, 90, .25); border-color: var(--primary); }
.gate-form .btn { justify-self: start; margin-top: 8px; }
.gate-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.gate-note { margin-top: 18px; font-size: 13px; color: var(--muted-fg); }
.gate-note a { text-decoration: underline; }
.gate-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 15px; line-height: 1.5; }
.gate-msg-blad { background: var(--no-bg); color: var(--no); }
.gate-msg-info { background: var(--ok-bg); color: var(--ok); }
