:root{
  --bg:#08131e;
  --bg2:#0c1a28;
  --panel:#102334;
  --text:#f4f0e8;
  --muted:#aeb9c3;
  --gold:#d9a84e;
  --gold2:#f0c876;
  --line:rgba(217,168,78,.28);
  --light:#f5f4f0;
  --ink:#151b22;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(var(--max),calc(100% - 40px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:10;background:rgba(6,16,25,.94);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.08)}
.nav-wrap{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.brand{display:inline-flex;align-items:center;gap:12px}
.brand-mark{font-size:30px;color:var(--gold2);line-height:1}
.brand-text{display:flex;flex-direction:column;line-height:1;letter-spacing:.12em}
.brand-text strong{font-family:Georgia,serif;font-size:18px;color:#f0c876}
.brand-text small{font-size:10px;margin-top:5px;color:#fff}
.nav{display:flex;gap:28px;font-size:14px;color:#d6dde4}
.nav a:hover{color:var(--gold2)}
.section{padding:76px 0}
.section-dark{background:radial-gradient(circle at 80% 10%,rgba(59,82,103,.18),transparent 32%),linear-gradient(180deg,var(--bg2),var(--bg))}
.section-light{background:var(--light);color:var(--ink)}
.hero{padding:88px 0 72px}
.hero-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:58px;align-items:center}
.eyebrow{margin:0 0 14px;font-size:12px;font-weight:800;letter-spacing:.18em;color:var(--gold2)}
.eyebrow.dark{color:#9b6e24}
h1,h2,h3{font-family:Georgia,'Times New Roman',serif;margin-top:0}
h1{font-size:clamp(54px,7vw,92px);line-height:.88;margin-bottom:26px;letter-spacing:-.035em}
h1 span{color:var(--gold2)}
.lead{font-family:Georgia,serif;font-size:clamp(24px,3vw,36px);margin:0 0 16px}
.hero-desc{max-width:630px;color:#c6d0d8;font-size:17px;margin:0 0 28px}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin:28px 0 22px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:52px;padding:0 24px;border-radius:9px;border:1px solid transparent;font-weight:800;transition:.2s ease}
.btn:hover{transform:translateY(-2px)}
.btn-gold{background:linear-gradient(135deg,var(--gold2),var(--gold));color:#18202a;box-shadow:0 10px 30px rgba(217,168,78,.12)}
.btn-outline{border-color:var(--gold);color:#f4efe3;background:rgba(255,255,255,.02)}
.btn.small{min-height:44px;padding:0 18px;font-size:14px}
.hero-points{display:flex;flex-wrap:wrap;gap:18px;color:#9facb6;font-size:13px}
.card-photo{border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.11);background:#fff;box-shadow:0 22px 70px rgba(0,0,0,.28)}
.photo-placeholder{aspect-ratio:4/3;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;padding:35px;color:#59616a;background:linear-gradient(145deg,#fff,#eceef0)}
.photo-placeholder .photo-icon{font-size:58px;color:#aab0b6}
.photo-placeholder strong{color:#20262d;letter-spacing:.08em}
.photo-placeholder code{margin-top:8px;padding:6px 10px;border-radius:6px;background:#e5e7e9;color:#48505a}
.section-heading{max-width:780px;margin-bottom:34px}
.section-heading.centered{text-align:center;margin-inline:auto}
.section-heading h2{font-size:clamp(34px,4vw,52px);margin-bottom:8px}
.section-heading p:last-child{margin:0;color:#6c7680}
.section-heading.light p:last-child{color:#aeb9c3}
.market-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.market-card{min-height:92px;border-radius:12px;padding:18px 20px;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:10px;color:white;box-shadow:0 10px 22px rgba(0,0,0,.08)}
.market-card strong{font-size:23px;grid-row:1/3;text-transform:none}
.market-card span{font-size:13px;opacity:.9}
.market-card b{font-size:24px;grid-row:1/3;grid-column:2}
.market-card.vinted{background:#007782}

.allegro{background:#f25a24}.olx{background:#0d6b69}.ebay{background:#2559bc}.cm{background:#182430}
.line-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.line-card{display:grid;grid-template-columns:118px 1fr;gap:20px;padding:20px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035);border-radius:14px}
.mini-photo{aspect-ratio:1;border-radius:10px;background:linear-gradient(145deg,#f7f7f5,#dfe2e4);display:flex;align-items:center;justify-content:center;color:#1e2630;font-family:Georgia,serif;font-weight:bold;font-size:27px}
.line-card h3{font-size:28px;margin-bottom:3px}.line-card p{color:#b9c4cd;margin:8px 0 0;font-size:14px}.line-card .line-meta{color:var(--gold2);font-weight:800;margin-top:0}
.included-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}
.included-item{text-align:center;padding:22px 8px;border-right:1px solid #ddd}.included-item:last-child{border-right:0}.included-item span{display:block;font-size:36px;color:#b7822e;margin-bottom:8px}.included-item strong{display:block}.included-item small{color:#727b84}
.site-footer{padding:34px 0;background:#06101a;border-top:1px solid rgba(255,255,255,.08)}
.footer-grid{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:26px}.footer-links{display:flex;gap:20px;color:#bec8d0;font-size:13px}.footer-copy{color:#7f8b95;font-size:12px}

/* ===== V2: obsługa zdjęć z pliku EDYTUJ_TUTAJ.js ===== */
.noscript{padding:18px;background:#fff3cd;color:#5e4800;font-family:system-ui,sans-serif;text-align:center}
.hero-photo{position:relative}
.hero-managed-image{aspect-ratio:4/3;background:#fff}
.hero-managed-image img{object-fit:cover}
h1 b{font-weight:700}


/* v4: proste obrazy — bez placeholderów JS */
.hero-photo > img{width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;display:block;background:#fff}
.line-card .mini-photo{aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:#fff}
.line-card .mini-photo img{width:100%;height:100%;object-fit:cover;display:block}

/* v5: przełącznik języka PL / EN */
.nav-right{display:flex;align-items:center;gap:22px}
.lang-switch{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:800;letter-spacing:.08em}
.lang-switch a,.lang-switch span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border:1px solid rgba(255,255,255,.14);border-radius:8px}
.lang-switch a{color:#b9c4cd}.lang-switch a:hover{color:var(--gold2);border-color:var(--gold)}
.lang-switch .lang-current{background:var(--gold2);color:#16202a;border-color:var(--gold2)}
@media (max-width:980px){.nav{display:none}.hero-grid{grid-template-columns:1fr}.hero-photo{max-width:720px}.market-grid{grid-template-columns:repeat(2,1fr)}.line-grid{grid-template-columns:1fr}.included-grid{grid-template-columns:repeat(3,1fr)}.included-item{border-right:0;border-bottom:1px solid #ddd}.footer-grid{grid-template-columns:1fr}.footer-links{flex-wrap:wrap}}
@media (max-width:600px){.container{width:min(100% - 28px,var(--max))}.section{padding:56px 0}.hero{padding-top:58px}.hero-grid{gap:34px}.hero-actions{flex-direction:column}.btn{width:100%}.hero-points{flex-direction:column;gap:8px}.market-grid{grid-template-columns:1fr}.included-grid{grid-template-columns:repeat(2,1fr)}.line-card{grid-template-columns:90px 1fr}.footer-links{flex-direction:column;gap:9px}}
