/* ==========================================================
   renogy.pl — lifting 2026-11 (warstwa nadpisująca, ładowana
   jako ostatnia; usunięcie <link> przywraca stary wygląd)
   ========================================================== */
:root{
  --blue:#0b3587; --blue-l:#1747a6; --blue-d:#061d4d; --renogy-blue:#0b3587;
  --ink:#0d1424; --text:#3a4254; --muted:#6b7385;
  --line:#e7ebf2; --bg:#f5f7fa; --sky:#7fb2ff; --cyan:#19aad4;
  --r-card:18px; --sh-1:0 1px 2px rgba(13,20,36,.04),0 2px 8px rgba(13,20,36,.04);
  --sh-2:0 2px 6px rgba(13,20,36,.04),0 18px 44px -12px rgba(13,20,36,.16);
  --ease:cubic-bezier(.2,.7,.2,1);
}
body{color:var(--text);font-feature-settings:"ss01","tnum" 0;text-rendering:optimizeLegibility}
::selection{background:rgba(25,170,212,.22)}

/* ---------- pasek górny ---------- */
.top-bar{background:var(--blue-d)!important;color:rgba(255,255,255,.78)!important;font-size:12px!important;
  font-weight:400!important;letter-spacing:.06em!important;padding:7px 20px!important;animation:none!important}
.top-bar b,.top-bar strong{color:#fff;font-weight:500}
.top-bar .sep{display:inline-block;width:3px;height:3px;border-radius:50%;background:var(--cyan);margin:0 12px;vertical-align:middle}

/* ---------- nagłówek ---------- */
.nav-main{background:rgba(255,255,255,.86)!important;backdrop-filter:saturate(180%) blur(14px);-webkit-backdrop-filter:saturate(180%) blur(14px);
  box-shadow:none!important;border-bottom:1px solid rgba(13,20,36,.07)}
header.scrolled .nav-main{box-shadow:0 6px 24px -10px rgba(13,20,36,.18)!important}
.logo-renogy img{height:32px!important;width:auto!important}
.distributor-badge{border-left-color:rgba(13,20,36,.1)!important}
.distributor-badge .label{color:#8a91a1!important;letter-spacing:.16em!important}
.distributor-badge .label strong{color:var(--ink)!important;font-weight:500!important;letter-spacing:.08em!important}
.nav-links{gap:30px!important}
.nav-links a{color:#283041!important;font-weight:450!important;font-size:14px!important;letter-spacing:.01em}
.nav-links a:hover{color:var(--blue)!important}
.nav-links>li>a::after{height:1.5px!important;bottom:-6px!important;background:var(--cyan)!important}
.dropdown-menu{border-radius:14px!important;box-shadow:0 24px 60px -16px rgba(13,20,36,.28)!important;border:1px solid var(--line)!important}

/* ---------- typografia ---------- */
h1,h2,h3{font-feature-settings:"kern"}
.hero h1,.sec-head h2,.cta h2{font-weight:500!important;letter-spacing:-.035em!important}
.hero h1 em{color:#fff!important;background:linear-gradient(90deg,#9cc4ff,#5fd0ef);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.sec-head h2{color:var(--ink)!important}
.sec-head p{color:var(--muted)!important;font-weight:300;font-size:17.5px!important}
.eyebrow{font-size:11.5px!important;font-weight:500!important;letter-spacing:.22em!important}
.eyebrow::before{width:22px!important;height:1px!important}
.sec-head .eyebrow{color:var(--blue)!important}
.cat h3,.prod h3,.guide h3,.use h3,.steps h3{font-weight:500!important;letter-spacing:-.015em!important}

/* ---------- przyciski ---------- */
.btn{border-radius:999px!important;padding:14px 26px!important;font-weight:500!important;letter-spacing:.01em;transition:all .3s var(--ease)!important}
.btn-primary{background:linear-gradient(180deg,#1648ab,#0b3587)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 8px 22px -8px rgba(11,53,135,.6)}
.btn-primary:hover{transform:translateY(-1px)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 14px 30px -10px rgba(11,53,135,.7)!important}
.btn-light:hover,.btn-ghost:hover{transform:translateY(-1px)!important}
.btn-ghost{border-color:rgba(255,255,255,.35)!important;background:rgba(255,255,255,.06)!important}
.btn-shop{border-radius:999px!important;text-transform:none!important;letter-spacing:.01em!important;font-weight:500!important}
#karta-pdf{border-width:1.5px!important}
#karta-pdf:hover{background:var(--blue)!important;color:#fff!important}

/* ---------- hero (strona główna) ---------- */
.hero::after{background:
  linear-gradient(90deg,rgba(6,14,32,.86) 0%,rgba(6,14,32,.6) 36%,rgba(6,14,32,.05) 68%),
  linear-gradient(0deg,rgba(6,14,32,.7) 0%,transparent 42%)!important}
.hero-lead{font-weight:300!important;color:rgba(255,255,255,.8)!important}
.hero-facts{border-top:1px solid rgba(255,255,255,.14)!important;gap:0!important}
.hero-facts div{padding-right:36px;margin-right:36px;border-right:1px solid rgba(255,255,255,.14);color:rgba(255,255,255,.62)!important;font-size:12.5px!important;letter-spacing:.02em}
.hero-facts div:last-child{border-right:0;margin-right:0}
.hero-facts strong{font-weight:500!important;font-size:30px!important;letter-spacing:-.02em!important}

/* pasek zaufania pod hero (nowy element) */
.trust{border-bottom:1px solid var(--line);background:#fff}
.trust ul{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);max-width:1240px;margin:0 auto;padding:0 48px}
.trust li{display:flex;align-items:center;gap:14px;padding:26px 22px;font-size:13.5px;line-height:1.45;color:var(--muted)}
.trust li+li{border-left:1px solid var(--line)}
.trust li:first-child{padding-left:0}
.trust b{display:block;color:var(--ink);font-weight:500;font-size:14.5px}
.trust svg{flex:0 0 38px;width:38px;height:38px;padding:9px;border-radius:12px;background:#eef4fd;color:var(--blue)}
@media (max-width:900px){.trust ul{grid-template-columns:1fr 1fr;padding:0 20px}.trust li{padding:18px 10px}.trust li:nth-child(3){border-left:0;padding-left:0}.trust li:nth-child(n+3){border-top:1px solid var(--line)}}
@media (max-width:560px){.trust ul{grid-template-columns:1fr}.trust li{border-left:0!important;padding-left:0!important}.trust li+li{border-top:1px solid var(--line)}}

/* ---------- sekcje ---------- */
section.block{padding:120px 0!important}
.block.alt{background:linear-gradient(180deg,#f6f8fb,#f2f5f9)!important}
.sec-head{margin-bottom:60px!important}

/* ---------- karty ---------- */
.cat,.prod,.guide,.related-card{border:1px solid var(--line)!important;border-radius:var(--r-card)!important;box-shadow:var(--sh-1);transition:transform .45s var(--ease),box-shadow .45s var(--ease),border-color .45s!important}
.cat:hover,.prod:hover,.guide:hover,.related-card:hover{transform:translateY(-3px)!important;box-shadow:var(--sh-2)!important;border-color:#dde3ee!important}
.cat{padding:24px 24px 22px!important}
.cat-img{background:linear-gradient(180deg,#f4f7fb,#eef2f8)!important;border-radius:12px!important;height:180px!important}
.cat-img img{mix-blend-mode:multiply}
.cat p{font-weight:300;color:var(--muted)!important}
.cat-foot{border-top-color:var(--line)!important}
.cat-foot strong,.prod-price{font-variant-numeric:tabular-nums}
.cat-foot strong{font-weight:500!important}
.prod-img{background:linear-gradient(180deg,#f6f8fb,#eff3f8)!important;border-bottom:1px solid var(--line)}
.prod-img img{mix-blend-mode:multiply}
.prod-cat,.guide-tag{font-weight:500!important;letter-spacing:.16em!important;font-size:10.5px!important}
.prod-price{font-weight:500!important;letter-spacing:-.02em}
.guide .more{font-weight:500!important}
.guide .more::after,.steps a::after{content:"";display:inline-block}

/* zastosowania */
.use{border-radius:22px!important}
.use::after{background:linear-gradient(0deg,rgba(6,14,32,.9) 0%,rgba(6,14,32,.35) 46%,rgba(6,14,32,0) 72%)!important}
.use li{background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.22)!important;backdrop-filter:blur(6px);font-weight:400}

/* kroki */
.steps li::before{border-radius:50%!important;background:#fff!important;border:1px solid #d9e1ee;color:var(--blue)!important;font-weight:500!important;width:48px;height:48px!important;font-size:14px!important}
.setup-img{border-radius:24px!important;box-shadow:0 40px 80px -30px rgba(13,20,36,.4)!important}

/* FAQ */
.faq details{border-bottom-color:var(--line)!important}
.faq summary h3{font-weight:500!important;font-size:18.5px!important}
.faq summary::after{content:""!important;width:30px;height:30px;border-radius:50%;border:1px solid #d6deea;
  background:linear-gradient(var(--blue),var(--blue)) center/11px 1.5px no-repeat,linear-gradient(var(--blue),var(--blue)) center/1.5px 11px no-repeat;right:0!important}
.faq details[open] summary::after{transform:translateY(-50%) rotate(45deg)!important;background-color:#eef4fd}
.faq details p{font-weight:300;color:var(--text)!important}

/* CTA */
.cta::after{background:radial-gradient(120% 90% at 50% 0%,rgba(11,53,135,.55),rgba(6,14,32,.88) 70%)!important}
.cta p{font-weight:300!important}

/* ---------- stopka ---------- */
footer{background:#0a1020!important;position:relative}
footer::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(25,170,212,.6),transparent)}
.foot h4{font-weight:500!important;letter-spacing:.14em!important;text-transform:uppercase;font-size:11.5px!important;color:rgba(255,255,255,.9)!important}
.foot a{color:rgba(255,255,255,.58)!important}
.foot a:hover{color:#fff!important}
.foot p{font-weight:300}

/* ---------- strona produktu ---------- */
.product-tag{border-radius:999px!important;font-weight:500!important;letter-spacing:.16em!important;font-size:10.5px!important;padding:6px 12px!important;background:#eef4fd!important}
.product-info h1{font-weight:500!important;letter-spacing:-.03em!important;color:var(--ink)}
.key-spec{border-color:var(--line)!important;border-radius:14px!important;padding:14px 16px!important;background:linear-gradient(180deg,#fff,#fafbfd)!important}
.key-spec strong{font-weight:500!important;color:var(--ink)!important;font-size:20px!important}
.key-spec span{color:var(--muted)!important}
.price-box{border:1px solid var(--line)!important;border-radius:18px!important;box-shadow:var(--sh-1);background:linear-gradient(180deg,#fff,#f9fbfd)!important}
.price-main{font-weight:500!important;letter-spacing:-.03em!important;font-variant-numeric:tabular-nums}
.price-label{letter-spacing:.16em!important;font-weight:500!important}
.page-tabs ul{gap:6px!important;padding:6px!important;background:#f3f6fa;border:1px solid var(--line);border-radius:999px;display:inline-flex!important}
.page-tabs a{border:0!important;background:transparent!important;color:#4a5265!important;padding:9px 16px!important}
.page-tabs a:hover{background:#fff!important;color:var(--blue)!important;box-shadow:var(--sh-1)}
@media (max-width:768px){.page-tabs ul{display:flex!important;border-radius:14px}}

/* okrągłe zdjęcia z niebieskim pierścieniem → spokojne kadry */
.circle-photo{width:330px!important;height:240px!important;shape-outside:none!important;margin:6px 0 18px 36px!important}
.circle-photo.left{margin:6px 36px 18px 0!important}
.circle-photo img{border-radius:18px!important;border:0!important;box-shadow:0 1px 2px rgba(13,20,36,.06),0 24px 48px -20px rgba(13,20,36,.35)!important}
@media (max-width:768px){.circle-photo,.circle-photo.left{width:100%!important;height:220px!important;margin:0 0 22px!important}}
.prose-block{border-color:var(--line)!important;border-radius:20px!important}

.feature-card{border-radius:16px!important;background:rgba(255,255,255,.045)!important}
.feature-card h3{font-weight:500!important}
.feature-card-icon{border-radius:50%!important;background:rgba(127,178,255,.12)!important}
.section-title-dark,.section-title-white{font-weight:500!important;letter-spacing:-.02em}

/* telefon */
@media (max-width:700px){
  .top-bar{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11.5px!important}
  .top-bar .sep,.top-bar span{display:none}
  .hero-facts{gap:22px 28px!important}
  .hero-facts div{border-right:0!important;padding-right:0!important;margin-right:0!important}
  .hero-facts strong{font-size:24px!important}
}

/* ---------- przycisk / sekcja Centrum wiedzy (help.renogy.pl) ---------- */
.nav-links>li.nav-help>a::after{display:none!important}
.btn-help{display:inline-flex!important;align-items:center;gap:8px;padding:9px 16px 9px 13px;border-radius:999px;
  background:var(--ink);color:#fff!important;font-size:13.5px!important;font-weight:500!important;letter-spacing:.01em;
  box-shadow:0 6px 16px -8px rgba(13,20,36,.55);transition:background .25s,transform .25s var(--ease),box-shadow .25s!important}
.btn-help svg{width:16px;height:16px;color:#5fd0ef}
.btn-help:hover{background:var(--blue)!important;color:#fff!important;transform:translateY(-1px);box-shadow:0 10px 22px -10px rgba(11,53,135,.7)}
.mobile-drawer a.drawer-help{display:flex!important;align-items:center;gap:10px;margin-top:18px;padding:14px 16px!important;border:0!important;border-radius:12px;background:var(--ink);color:#fff!important}
.drawer-help svg{width:18px;height:18px;color:#5fd0ef}
@media (max-width:1180px) and (min-width:901px){.btn-help span{display:none}.btn-help{padding:9px 11px!important}}

section.kb{padding:0 0 110px;background:#fff}
.block+section.kb,section.block#poradniki+section.kb{padding-top:0}
.kb-box{position:relative;overflow:hidden;display:grid;grid-template-columns:1.15fr 1fr;gap:56px;align-items:center;
  padding:64px;border-radius:28px;color:#fff;
  background:radial-gradient(90% 120% at 100% 0%,rgba(25,170,212,.28),transparent 55%),linear-gradient(135deg,#0b3587 0%,#07245e 55%,#0a1020 100%)}
.kb-box::after{content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:44px 44px;-webkit-mask-image:linear-gradient(90deg,transparent 30%,#000);mask-image:linear-gradient(90deg,transparent 30%,#000)}
.kb-txt,.kb-list{position:relative;z-index:1}
.kb .eyebrow{color:#7fd6f0!important}
.kb .eyebrow::before{background:#7fd6f0!important}
.kb h2{font-size:clamp(28px,3.2vw,40px);font-weight:500;letter-spacing:-.03em;line-height:1.12;margin-bottom:16px}
.kb p{font-size:17px;font-weight:300;line-height:1.7;color:rgba(255,255,255,.8);margin-bottom:30px;max-width:520px}
.kb-list{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.kb-list li{padding:20px;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(8px)}
.kb-list b{display:block;font-weight:500;font-size:16px;margin-bottom:4px}
.kb-list span{font-size:13.5px;line-height:1.5;color:rgba(255,255,255,.66)}
@media (max-width:900px){.kb-box{grid-template-columns:1fr;padding:36px 24px;gap:32px;border-radius:22px}section.kb{padding-bottom:72px}}
@media (max-width:480px){.kb-list{grid-template-columns:1fr}}
.nav-links a.btn-help,.nav-links a.btn-help:hover{color:#fff!important}

/* ===== hero strony głównej v2 (06.11): klimat Renogy, nowocześnie, bez efektów na siłę ===== */
.hero{min-height:min(94vh,980px)!important;background:#0b1a3a!important}
.hero-img{animation:hZoom 24s ease-out both;transform-origin:65% 60%}
@keyframes hZoom{from{transform:scale(1.07)}to{transform:scale(1)}}
.hero::after{background:
  linear-gradient(90deg,rgba(7,26,66,.88) 0%,rgba(7,26,66,.62) 34%,rgba(7,26,66,.12) 64%,rgba(7,26,66,0) 80%),
  linear-gradient(0deg,rgba(7,26,66,.72) 0%,rgba(7,26,66,0) 40%)!important}
.hero h1{font-size:clamp(42px,5.6vw,78px)!important;line-height:1.02!important}
.hero h1 em{background:none!important;-webkit-text-fill-color:currentColor!important;color:#8ec5ff!important}
.hero .eyebrow{color:#a9d4ff!important}.hero .eyebrow::before{background:#a9d4ff!important}
.hero-content>*{opacity:0;transform:translateY(18px);animation:hIn .9s cubic-bezier(.2,.7,.2,1) forwards}
.hero-content>*:nth-child(2){animation-delay:.1s}.hero-content>*:nth-child(3){animation-delay:.2s}.hero-content>*:nth-child(4){animation-delay:.3s}.hero-content>*:nth-child(5){animation-delay:.45s}.hero-content>*:nth-child(6){animation-delay:.55s}
@keyframes hIn{to{opacity:1;transform:none}}
.hero-buttons .btn-primary{background:#fff!important;color:var(--blue)!important;box-shadow:0 10px 30px -10px rgba(0,0,0,.5)!important}
.hero-buttons .btn-primary:hover{background:#eef4fd!important}
/* liczby w szklanym pasku */
.hero-facts{display:inline-flex!important;margin-top:44px!important;padding:16px 26px!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:16px;
  background:rgba(255,255,255,.07);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.hero-facts strong{font-size:26px!important}
/* karta „Nowości 2027” */
.hero-new{position:absolute;right:48px;bottom:56px;display:flex;align-items:center;gap:18px;max-width:430px;padding:14px 22px 14px 14px;border-radius:18px;text-decoration:none;color:var(--ink);
  background:rgba(255,255,255,.94);box-shadow:0 24px 60px -20px rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.6);transition:transform .35s var(--ease),box-shadow .35s}
.hero-new:hover{transform:translateY(-3px);box-shadow:0 30px 70px -20px rgba(0,0,0,.6)}
.hero-new img{width:120px;height:auto;flex:none;background:linear-gradient(180deg,#f2f6fb,#e6edf6);border-radius:12px;padding:10px}
.hero-new small{display:inline-flex;align-items:center;gap:7px;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--blue);font-weight:500}
.hero-new small::before{content:"";width:7px;height:7px;border-radius:50%;background:#19aad4}
.hero-new b{display:block;font-size:16.5px;font-weight:500;letter-spacing:-.015em;margin:4px 0 3px}
.hero-new em{display:block;font-style:normal;font-size:13px;color:var(--muted)}
.hero-content{position:relative;z-index:2}
@media (max-width:1100px){.hero-new{position:relative;right:auto;bottom:auto;margin-top:28px;max-width:none}}
@media (max-width:900px){.hero-new img{width:92px}.hero-facts{display:flex!important}}
@media (prefers-reduced-motion:reduce){.hero-img,.hero-content>*{animation:none;opacity:1;transform:none}}

/* ===== 06.11 v3: poprawki kontrastu i nagłówki kategorii ze zdjęciami Renogy ===== */
/* stary „hero v2” dotyczył tylko strony głównej – nie ruszamy nagłówków kategorii */
.hero:not(:has(.hero-img)){min-height:0!important}
.hero:not(:has(.hero-img))::after{content:none}
/* przycisk główny na ciemnym tle = biały */
.hero .btn-primary,.cta .btn-primary,.h3 .btn-primary,.kb .btn-primary,.r2p .btn-primary,.nw-hero .btn-primary{background:#fff!important;color:var(--blue)!important;box-shadow:0 14px 34px -14px rgba(0,0,0,.55)!important}
.hero .btn-primary:hover,.cta .btn-primary:hover{background:#eef4fd!important}
.hero .btn-ghost{color:#fff!important;border-color:rgba(255,255,255,.45)!important;background:rgba(255,255,255,.08)!important}
/* nagłówek kategorii ze zdjęciem */
.hero-foto{background:#0c1d3e!important}
.hero-foto .hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;animation:hZoom 20s ease-out both}
.hero-foto::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(6,22,56,.9) 0%,rgba(6,22,56,.72) 38%,rgba(6,22,56,.2) 70%,rgba(6,22,56,.05) 100%),linear-gradient(0deg,rgba(6,22,56,.55) 0%,rgba(6,22,56,0) 35%)}
.hero-foto .hero-in{position:relative;z-index:2}
.hero-foto .scena{display:none!important}
.hero-foto .hero-in{grid-template-columns:1fr!important;min-height:min(68vh,620px);align-content:center}
.hero-foto .hero-in>div:first-child{max-width:640px}
.hero-foto h1 em{color:#8ec5ff!important;background:none!important;-webkit-text-fill-color:currentColor!important}
.hero-foto .fakty{border-top-color:rgba(255,255,255,.2)!important}
@media (max-width:900px){.hero-foto::before{background:linear-gradient(0deg,rgba(6,22,56,.92) 0%,rgba(6,22,56,.7) 60%,rgba(6,22,56,.35) 100%)}}
.hero-foto::before{opacity:1!important;-webkit-mask-image:none!important;mask-image:none!important;background-size:auto!important;
  background-image:linear-gradient(90deg,rgba(6,22,56,.9) 0%,rgba(6,22,56,.74) 36%,rgba(6,22,56,.22) 66%,rgba(6,22,56,.04) 100%),linear-gradient(0deg,rgba(6,22,56,.6) 0%,rgba(6,22,56,0) 36%)!important}
@media (max-width:900px){.hero-foto::before{background-image:linear-gradient(0deg,rgba(6,22,56,.94) 0%,rgba(6,22,56,.72) 60%,rgba(6,22,56,.38) 100%)!important}}
/* przycisk pobierania cennika */
.cennik-pobierz{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:24px;padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:#f6f8fb;max-width:640px}
.cennik-pobierz .btn{display:inline-flex;align-items:center;gap:10px;background:var(--blue)!important;color:#fff!important;box-shadow:0 10px 24px -12px rgba(11,53,135,.7)!important}
.cennik-pobierz .btn:hover{background:#0d3f9e!important;transform:translateY(-1px)}
.cennik-pobierz span{font-size:13px;color:var(--muted);line-height:1.4}
.cennik-pobierz b{display:block;color:var(--ink);font-weight:600;font-size:14.5px}
.btn svg{width:18px;height:18px;flex:none}
.cennik-pobierz .btn,.cennik-pobierz .btn:hover{text-decoration:none!important}
.foot img,footer img{width:auto!important}
img[width="34"][height="34"]{object-fit:contain}
.dropdown-menu>a>svg{width:34px!important;height:34px!important;flex:none;padding:7px;border-radius:10px;background:#eef3fb;color:#0b3587}
.dropdown-menu>a>img{border-radius:9px;object-fit:cover}
