/* PatrykStaniewski.pl – styl strony publicznej (przeniesiony z projektu). */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-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: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-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: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../fonts/space-grotesk-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: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../fonts/space-grotesk-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; }

:root {
  --bg: #0E0F13;
  --surface: #16181E;
  --surface-2: #1C1E25;
  --surface-3: #22252D;
  --border: #262931;
  --border-strong: #3A3D47;
  --text: #F2F3F5;
  --text-2: #D5D8DE;
  --muted: #B4B9C2;
  --muted-2: #9EA3AD;
  --faint: #8E939D;
  --accent: #FF6B3D;
  --accent-text: #FF8A63;
  --accent-hover: #FFB59C;
  --accent-dark: #C8441C;
  --ink: #14151A;
  --display: 'Space Grotesk', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; min-height: 100vh; line-height: 1.4; }
img { max-width: 100%; display: block; }
a { color: var(--accent-text); }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; }

/* Typografia */
.display { font-family: var(--display); font-weight: 700; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-text); }
.h1 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.5vw, 68px); line-height: 1.04; letter-spacing: -1.4px; }
.h1--hero { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -1.5px; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.8px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); line-height: 1.6; }
.meta { font-size: 14px; color: var(--accent-text); font-weight: 600; }
.link-arrow { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }

/* Nagłówek */
html { scroll-padding-top: 96px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 15, 19, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--text); text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.logo span { color: var(--accent); }
.logo:hover { color: var(--text); }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; color: #C4C8D0; text-decoration: none; font-weight: 500; transition: background .15s, color .15s; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.nav a.nav-cta, .nav a.nav-cta:hover, .nav a.nav-cta:focus-visible { color: var(--ink); }
.nav a.nav-cta { background: var(--accent); font-weight: 600; padding: 0 20px; }
.nav a.nav-cta:hover { background: var(--accent-hover); }

.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-strong); border-radius: 12px; background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, background .2s; }
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .site-header__inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; width: 100%; }
  .js .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 4px; padding: 8px 0 12px; }
  .js .nav a { padding: 0 16px; border-radius: 12px; }
  .nav a.nav-cta { justify-content: center; margin-top: 8px; }
}

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 17px; font-family: inherit; text-decoration: none; cursor: pointer; border: none; transition: background .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-hover); color: var(--ink); }
.btn--ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); color: var(--text); }
.btn--dark { background: var(--ink); color: var(--text); }
.btn--dark:hover { background: #000; color: var(--text); }
.btn--sm { min-height: 48px; padding: 0 22px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sekcje */
.section { padding: 0 0 96px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.page-intro { padding: 80px 0 64px; display: flex; flex-direction: column; gap: 22px; max-width: 820px; }

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 96px 0 112px; }
.hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__text .lead { max-width: 560px; }
.hero__art { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.hero__art svg { width: 100%; max-width: 380px; height: auto; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--posts { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 20px; }
.grid--fill { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.card h3 { font-family: var(--display); font-size: 24px; }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.panel__media { flex: 1 1 380px; min-width: 0; }
.panel__body { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.placeholder { aspect-ratio: 16 / 10; border-radius: 16px; background: var(--surface-3); display: flex; align-items: center; justify-content: center; color: var(--muted-2); font-size: 15px; text-align: center; padding: 16px; overflow: hidden; }
.placeholder img { width: 100%; height: 100%; object-fit: cover; }
.media { aspect-ratio: 16 / 10; border-radius: 16px; background: var(--surface-2); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.media--16x9 { aspect-ratio: 16 / 9; }
a:hover .media img { transform: scale(1.03); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 14px; border-radius: 999px; background: var(--border); font-size: 14px; color: var(--text-2); }

/* Wpisy */
.post-card { display: flex; flex-direction: column; gap: 14px; }
.post-card h3 { font-family: var(--display); font-size: 22px; line-height: 1.3; }
.post-card h3 a { color: var(--text); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-hover); }
.post-card > a { text-decoration: none; }

.featured { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 32px; display: flex; flex-wrap: wrap; gap: 36px; align-items: center; margin-bottom: 56px; }
.featured__media { flex: 1 1 380px; min-width: 0; }
.featured__media .placeholder, .featured__media .media { aspect-ratio: 16 / 9; border-radius: 18px; }
.featured__body { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.featured__body h2 { font-family: var(--display); font-size: 36px; line-height: 1.15; letter-spacing: -0.5px; }
.featured__body h2 a { color: var(--text); text-decoration: none; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 40px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; background: transparent; color: var(--text-2); border: 1px solid var(--border-strong); }
.chip:hover { color: var(--text); border-color: var(--text-2); }
.chip[aria-current="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }

.empty { padding: 48px; border: 1px dashed var(--border-strong); border-radius: 20px; color: var(--muted); text-align: center; }

.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding-bottom: 72px; }

/* Wpis – widok pojedynczy */
.article { max-width: 760px; margin: 0 auto; padding: 64px 0 96px; }
.article header { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.article .media { aspect-ratio: 16 / 9; border-radius: 24px; margin-bottom: 48px; }
.prose { font-size: 18px; line-height: 1.75; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-family: var(--display); color: var(--text); line-height: 1.25; margin-top: 1.8em; }
.prose h2 { font-size: 30px; }
.prose h3 { font-size: 23px; }
.prose a { color: var(--accent-text); }
.prose img { border-radius: 16px; height: auto; }
.prose blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--accent); color: var(--muted); }
.prose code { font-size: .9em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; overflow-x: auto; font-size: 15px; }
.prose pre code { background: none; padding: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose hr { border: 0; border-top: 1px solid var(--border); }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--border); padding: 8px 12px; }

/* Pomarańczowe banery */
.banner { background: var(--accent); color: var(--ink); border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.banner__text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.banner h2 { font-family: var(--display); font-size: clamp(34px, 4.4vw, 48px); letter-spacing: -0.8px; line-height: 1.05; }
.banner .eyebrow { color: var(--ink); }
.banner .fox-badge { background: var(--ink); border-radius: 16px; padding: 8px; width: 64px; height: 64px; flex: none; }

/* Oferta */
.package { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.package--highlight { background: var(--surface-2); border: 2px solid var(--accent); }
.package h2 { font-family: var(--display); font-size: 28px; }
.package__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge { padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 600; }
.price { font-family: var(--display); font-size: 30px; font-weight: 700; }
.package ul { margin: 0; padding: 0 0 0 20px; color: var(--text-2); line-height: 1.9; }
.price small { font-family: Inter, system-ui, sans-serif; font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.price-note { margin-top: 24px; color: var(--faint); font-size: 15px; line-height: 1.6; max-width: 760px; }
.package .btn { margin-top: auto; min-height: 48px; font-size: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps li { border-top: 2px solid var(--accent); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.steps .num { font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--accent); }
.steps h3 { font-size: 20px; }

/* Formularze */
.contact { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; gap: 48px; }
.contact__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact__intro h2 { font-family: var(--display); font-size: 40px; letter-spacing: -0.6px; }
.form { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; }
.form > .field { flex: none; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.input { min-height: 48px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); padding: 0 14px; font-size: 16px; font-family: inherit; width: 100%; }
.input:focus { outline: none; border-color: var(--accent); }
textarea.input { padding: 14px; resize: vertical; min-height: 140px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23B4B9C2' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field-error { color: #FF9B8A; font-size: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 14px; font-weight: 500; }
.alert--success { background: rgba(80, 200, 120, .12); border: 1px solid rgba(80, 200, 120, .4); color: #A6EBC0; }
.alert--error { background: rgba(255, 107, 61, .12); border: 1px solid rgba(255, 107, 61, .5); color: #FFB59C; }
.form-note { font-size: 13px; line-height: 1.5; color: var(--faint); }
.form-note a { color: inherit; text-decoration: underline; }
.banner .form-note { color: rgba(20, 21, 26, .75); }
.site-footer a { color: inherit; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.banner .alert--success { background: rgba(20, 21, 26, .12); border-color: rgba(20, 21, 26, .3); color: var(--ink); }

.newsletter-form { flex: 1 1 360px; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.newsletter-form .field { gap: 6px; }
.newsletter-form label { color: var(--ink); }
.newsletter-form .input { min-height: 50px; border-radius: 999px; border: none; background: #FFF4EF; color: var(--ink); padding: 0 18px; }
.newsletter-form .btn { min-height: 50px; padding: 0 24px; font-size: 16px; }
.newsletter-form .field-error { color: var(--ink); font-weight: 600; }

/* Streaming */
.stream-hero { padding: 72px 0 48px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; }
.stream-hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.stream-hero__text .lead { max-width: 620px; }
.brand { display: flex; align-items: center; gap: 18px; }
.brand__name { display: flex; flex-direction: column; font-family: var(--display); }
.brand__name span:first-child { font-size: 20px; font-weight: 500; letter-spacing: 8px; line-height: 1.1; }
.brand__name span:last-child { font-size: 48px; font-weight: 700; letter-spacing: 2px; color: var(--accent); line-height: 1; }
.live { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-text); }
.live::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
.offline { font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--muted-2); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 61, .6); } 50% { box-shadow: 0 0 0 8px rgba(255, 107, 61, 0); } }
@media (prefers-reduced-motion: reduce) { .live::before { animation: none; } * { transition: none !important; } }

.player { aspect-ratio: 16 / 9; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--muted-2); overflow: hidden; }
.player iframe { width: 100%; height: 100%; border: 0; }

.schedule-wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.schedule-wrap > div { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.schedule { flex: 999 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.schedule li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.schedule li span:first-child { font-weight: 600; font-size: 18px; }
.schedule li span:last-child { color: var(--muted); }
.schedule li.is-next span:first-child { color: var(--accent-text); }
.next-badge { margin-left: 12px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 600; font-style: normal; vertical-align: middle; }

.clip { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--text); }
.clip .placeholder { aspect-ratio: 16 / 9; background: var(--surface-2); font-size: 14px; }
.clip h3 { font-size: 18px; }
a.clip:hover h3 { color: var(--accent-hover); }

.socials { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 44px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.socials h2 { font-family: var(--display); font-size: 36px; letter-spacing: -0.5px; flex: 999 1 320px; }
.socials__links { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 320px; justify-content: flex-end; }

/* Stopka */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0 48px; color: var(--faint); font-size: 14px; }
.site-footer--cta { padding: 72px 0 48px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-end; }
.site-footer--cta h2 { font-family: var(--display); font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.8px; color: var(--text); }
.site-footer--cta .lead { font-size: 18px; }
.site-footer__cta-text { display: flex; flex-direction: column; gap: 14px; flex: 999 1 420px; min-width: 0; }
.site-footer__copy { width: 100%; }

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 72px; gap: 40px; }
  .page-intro { padding: 48px 0 40px; }
  .section { padding-bottom: 72px; }
  .panel, .contact, .banner, .socials { padding: 24px; border-radius: 22px; }
  .featured { padding: 20px; }
  .card, .package { padding: 24px; }
  .brand__name span:last-child { font-size: 38px; }
  .socials__links { justify-content: flex-start; }
}
