/* Strona /partner (T302) - generowane przez scripts/zbuduj_strone_partner.py */
/* T302: czcionki z serwera portalu (CSP font-src 'self'; bez Google Fonts = bez przekazania IP do Google). */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/partner/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 600; font-display: swap; src: url(/assets/partner/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(/assets/partner/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(/assets/partner/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; }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-card: rgba(255,255,255,0.02);
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.72);
  --text-tertiary: rgba(255,255,255,0.52);
  --accent: #fad02c;
  --accent-hover: #fbd94f;
  --accent-dark: rgba(250,208,44,0.1);
  --border: rgba(255,255,255,0.08);
  --border-accent: rgba(250,208,44,0.3);
  --problem: #ef4444;
  --radius: 16px;
  --radius-xs: 8px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }


.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 32px; font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 600; text-decoration: none; border-radius: var(--radius-xs); transition: background 0.2s ease, color 0.2s ease; cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: #0a0a0a; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--text-tertiary); }


.topbar { position: sticky; top: 0; z-index: 100; background: rgba(10,10,10,0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.topbar-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-img { height: 72px; width: auto; }
.topbar-label { font-size: 0.875rem; color: var(--text-tertiary); border-left: 1px solid var(--border); padding-left: 14px; }
.topbar .btn { padding: 10px 20px; font-size: 0.875rem; }


.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.section-label { display: inline-block; font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 700; margin-bottom: 22px; }
.hero h1 .highlight { color: var(--accent); }
.hero-subtitle { font-size: 1.1875rem; color: var(--text-secondary); margin-bottom: 30px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 0.875rem; color: var(--text-tertiary); margin-top: 14px; }
.hero-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero-feature { display: flex; gap: 10px; align-items: flex-start; }
.hero-feature svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.hero-feature-text { font-size: 0.875rem; color: var(--text-secondary); }
.hero-feature-text strong { display: block; color: var(--text-primary); font-weight: 600; font-size: 0.9375rem; }
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #fff; }
.shot img { width: 100%; height: auto; }
.shot-caption { font-size: 0.8125rem; color: var(--text-tertiary); margin-top: 10px; }


.section { padding: 96px 0; }
.section-dark { background: var(--bg-secondary); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin-bottom: 14px; }
.section-subtitle { font-size: 1.0625rem; color: var(--text-secondary); }


.pain-list { display: grid; gap: 20px; }
.pain { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.pain-problem, .pain-fix { padding: 28px 32px; }
.pain-problem { border-right: 1px solid var(--border); }
.pain-tag { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.pain-problem .pain-tag { color: var(--problem); }
.pain-fix .pain-tag { color: var(--accent); }
.pain-tag svg { width: 16px; height: 16px; }
.pain h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.pain p { color: var(--text-secondary); font-size: 0.9375rem; }
.pain-fix { background: rgba(250,208,44,0.03); }


.showcase { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.show-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.show-item h3 { font-size: 1.0625rem; margin: 16px 0 6px; }
.show-item p { font-size: 0.875rem; color: var(--text-secondary); }
.show-item .frame { border-radius: var(--radius-xs); overflow: hidden; border: 1px solid var(--border); background: #fff; }
.show-item .frame img { width: 100%; height: auto; }
.span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-12 { grid-column: span 12; }
.frame-dark { background: #0d0d0f !important; }


.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 24px 26px; position: relative; }
.step-card::before { content: attr(data-step); position: absolute; top: -1px; left: 24px; padding: 6px 14px; background: var(--accent); color: #0a0a0a; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.75rem; border-radius: 0 0 var(--radius-xs) var(--radius-xs); }
.step-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.step-card p { color: var(--text-secondary); font-size: 0.9rem; }


.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.info-card h3 { font-size: 1.375rem; margin-bottom: 14px; }
.info-card p { color: var(--text-secondary); margin-bottom: 12px; }
.check-list { list-style: none; }
.check-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text-secondary); font-size: 0.9375rem; }
.check-list li:last-child { border-bottom: none; }
.check-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }


.profil-section { padding-top: 0; }
.profil-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.profil-fig { margin: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.profil-fig img { display: block; width: auto; height: auto; max-width: 100%; max-height: 440px; margin: 0 auto; }
.profil-fig-wide { grid-column: 1 / -1; }
.profil-fig-wide img { width: 100%; max-height: none; }
.profil-fig figcaption { font-size: 0.9375rem; color: var(--text-secondary); }
.profil-note { text-align: center; color: var(--text-tertiary); font-size: 0.9375rem; margin-top: 28px; }
.profil-note strong { color: var(--text-secondary); }
@media (max-width: 768px) { .profil-grid { grid-template-columns: 1fr; gap: 16px; } .profil-fig { padding: 16px; } .profil-fig img { max-height: 380px; } }
.check-list strong { color: var(--text-primary); }
.highlight-box { margin-top: 18px; padding: 18px 20px; background: var(--accent-dark); border: 1px solid var(--border-accent); border-radius: var(--radius-xs); color: var(--text-primary); font-size: 0.9375rem; }


.gallery-rows { display: grid; gap: 20px; }
.gallery-row { display: flex; overflow: hidden; }
.gallery-row-left { justify-content: flex-start; }
.gallery-row-right { justify-content: flex-end; }
.gallery-row-track { display: flex; gap: 16px; width: max-content; will-change: transform; }
.gallery-row-grid { display: flex; gap: 16px; width: max-content; }
.gallery-row-left .gallery-row-track { animation: gallery-marquee-left 60s linear infinite; }
.gallery-row-right .gallery-row-track { animation: gallery-marquee-right 65s linear infinite; }
@keyframes gallery-marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes gallery-marquee-right { from { transform: translateX(0); } to { transform: translateX(50%); } }
.gallery-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; width: 220px; }
.gallery-item img { width: 100%; height: 293px; object-fit: cover; display: block; cursor: zoom-in; }
.gallery-note { text-align: center; font-size: 0.875rem; color: var(--text-tertiary); margin-top: 20px; }
@media (prefers-reduced-motion: reduce) { .gallery-row { overflow-x: auto; } .gallery-row-right { justify-content: flex-start; } .gallery-row-left .gallery-row-track, .gallery-row-right .gallery-row-track { animation: none; } .gallery-row-grid[aria-hidden] { display: none; } }

.gallery-lightbox { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.95); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.gallery-lightbox.active { opacity: 1; visibility: visible; }
.gallery-lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; user-select: none; }
.gallery-lightbox-close { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 28px; cursor: pointer; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.3s ease; line-height: 1; }
.gallery-lightbox-close:hover { background: rgba(255,255,255,0.2); }
.gallery-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 24px; transition: background 0.3s ease; line-height: 1; }
.gallery-lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.gallery-lightbox-prev { left: 20px; }
.gallery-lightbox-next { right: 20px; }
.gallery-lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 0.875rem; font-family: 'Space Grotesk', sans-serif; }


.owner-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.owner-photo img { width: 100%; max-width: 380px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); display: block; box-shadow: 0 20px 40px rgba(0,0,0,0.25); margin-left: auto; }
.owner-content h3 { font-size: 1.5rem; margin-bottom: 6px; }
.owner-role { color: var(--accent); font-size: 0.9375rem; margin-bottom: 16px; }
.owner-content p { color: var(--text-secondary); margin-bottom: 20px; }
.owner-list { list-style: none; margin-bottom: 24px; }
.owner-list li { margin-bottom: 10px; color: var(--text-secondary); padding-left: 22px; position: relative; }
.owner-list li::before { content: "\2022"; position: absolute; left: 0; color: var(--accent); }
.owner-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.owner-badge { background: var(--bg-tertiary); border: 1px solid var(--border); border-radius: var(--radius-xs); padding: 12px; text-align: center; }
.owner-badge strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; color: var(--text-primary); }
.owner-badge span { font-size: 0.875rem; color: var(--text-tertiary); }


.contact-line { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-xs); color: var(--text-secondary); font-size: 0.9375rem; }
.contact-line a { color: var(--text-primary); font-weight: 600; text-decoration: none; white-space: nowrap; }
.contact-line a:hover { color: var(--accent); }


.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; font-family: 'Space Grotesk', sans-serif; font-size: 1.0625rem; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item p { padding: 0 0 22px; color: var(--text-secondary); line-height: 1.7; }


.form-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.form-intro h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.form-intro p { color: var(--text-secondary); margin-bottom: 14px; }
.form-card { background: var(--bg-tertiary); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.8125rem; font-weight: 500; margin-bottom: 5px; }
.form-group label .opt { color: var(--text-tertiary); font-weight: 400; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-xs); color: var(--text-primary); font-family: inherit; font-size: 0.9375rem; }
.form-group textarea { min-height: 90px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dark); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-tertiary); }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 44px; }
.form-group select option { background: var(--bg-secondary); }
.field-error { display: none; font-size: 0.8125rem; color: #f87171; margin-top: 4px; }
.field-hint { font-size: 0.8125rem; color: var(--text-tertiary); margin-top: 4px; min-height: 1.2em; }
.field-hint.ok { color: #4ade80; } .field-hint.warn { color: var(--accent); }
.has-error .field-hint { display: none; }
.has-error .field-error { display: block; }
.has-error input, .has-error select { border-color: #f87171; }
.more { margin: 4px 0 14px; }
.more summary { cursor: pointer; font-size: 0.875rem; color: var(--accent); padding: 6px 0; }
.more[open] summary { margin-bottom: 10px; }
.form-group label.consent, .consent { display: flex; font-weight: 400; gap: 10px; align-items: flex-start; font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 12px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; margin-top: 6px; }
.form-note { font-size: 0.8125rem; color: var(--text-tertiary); text-align: center; margin-top: 12px; }
.form-status { display: none; margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-xs); font-size: 0.9375rem; }
.form-status.err { display: block; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.form-success { display: none; text-align: center; padding: 32px 12px; }
.form-success svg { width: 56px; height: 56px; color: var(--accent); margin: 0 auto 18px; }
.form-success h3 { font-size: 1.375rem; margin-bottom: 10px; }
.form-success p { color: var(--text-secondary); }


footer { padding: 44px 0 110px; border-top: 1px solid var(--border); }
.footer-content { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-data { font-size: 0.8125rem; color: var(--text-tertiary); line-height: 1.7; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.875rem; color: var(--text-tertiary); text-decoration: none; }
.footer-links a:hover { color: var(--text-primary); }
/* D110: odnosniki do Instagrama w stopce /partner i /partner-en. */
.footer-social { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-social a { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; color: var(--text-tertiary); text-decoration: none; }
.footer-social a:hover { color: var(--text-primary); }
.footer-social-icon { flex: none; }


.mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(10,10,10,0.94); border-top: 1px solid var(--border); }
.mobile-cta .btn { width: 100%; }

@media (max-width: 1024px) {
  .hero-grid, .form-wrap, .two-col { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .span-7, .span-5, .span-6 { grid-column: span 12; }
  .owner-grid { grid-template-columns: 1fr; }
  .owner-photo img { margin: 0 auto; }
  .gallery-item { width: 180px; }
  .gallery-item img { height: 240px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .topbar-label { display: none; }
  .logo-img { height: 60px; }
  .topbar-inner { height: 72px; }
  .topbar .btn { display: none; }
  .hero { padding: 48px 0 56px; }
  .hero-features { grid-template-columns: 1fr; gap: 14px; }
  .hero-cta .btn { width: 100%; }
  .section { padding: 64px 0; }
  .pain { grid-template-columns: 1fr; }
  .pain-problem { border-right: none; border-bottom: 1px solid var(--border); }
  .pain-problem, .pain-fix { padding: 22px 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 22px 18px; }
  .info-card { padding: 24px 20px; }
  .footer-content { flex-direction: column; text-align: center; }
  .gallery-item { width: 160px; }
  .gallery-item img { height: 213px; }
  .owner-content { text-align: center; }
  .owner-list li { text-align: left; }
  .owner-photo img { max-width: 260px; }
  .owner-badge strong { font-size: 1.25rem; }
  .owner-badge span { font-size: 0.8125rem; }
  .mobile-cta { display: block; }
}

/* P128/D87: ta sama regula kursora co web/styles.css (strona /partner ma osobny arkusz) - raczka nad klikalnym, wylaczony = „zakaz”. */
:where(button, summary, select, a[href], [onclick],
  [role="button"], [role="tab"], [role="link"], [role="menuitem"], [role="option"], [role="checkbox"], [role="radio"], [role="switch"],
  input:is([type="button"], [type="submit"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"], [type="color"], [type="image"], [type="range"]),
  label:has(input:is([type="checkbox"], [type="radio"], [type="file"], [type="color"]))) { cursor: pointer; }
:disabled, [aria-disabled="true"] { cursor: not-allowed !important; }
