/*
Theme Name: Strefa Finansów
Theme URI: https://strefa.tomczak.es/
Author: Codelupo
Description: Lekki, niezależny motyw WordPress odtworzony na podstawie dostarczonej wersji Strefy Finansów. Bez zależności od WPBakery i Revolution Slider.
Version: 1.3.0
Text Domain: strefa-finansow
*/

:root{
  --sf-gold:#c0942c;
  --sf-dark:#151515;
  --sf-text:#2f3033;
  --sf-muted:#707070;
  --sf-bg:#ffffff;
  --sf-soft:#f7f7f7;
  --sf-header-h:82px;
}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--sf-header-h) + 18px)}
body{font-family:"Open Sans",Arial,sans-serif;color:var(--sf-text);background:#fff}
body.admin-bar .sf-header{top:32px}
@media(max-width:782px){body.admin-bar .sf-header{top:46px}}
a{transition:color .2s ease,opacity .2s ease,background .2s ease}
img{max-width:100%;height:auto}
#wrapper{margin-bottom:0!important;overflow:hidden}
#primary{padding-bottom:0!important}
#footer{position:relative!important;bottom:auto!important}
.wpb_animate_when_almost_visible,.kd-animated{opacity:1!important;visibility:visible!important}

/* Header */
.sf-header{
  position:fixed;top:0;left:0;right:0;z-index:9999;
  background:rgba(255,255,255,.97);backdrop-filter:blur(12px);
  box-shadow:0 1px 0 rgba(0,0,0,.08);
}
.sf-header .sf-nav-inner{
  max-width:1240px;margin:0 auto;padding:0 24px;min-height:var(--sf-header-h);
  display:flex;align-items:center;gap:28px;
}
.sf-brand{display:flex;align-items:center;flex:0 0 auto}
.sf-brand img{width:142px;max-height:64px;object-fit:contain;display:block}
.sf-menu-wrap{margin-left:auto;display:flex;align-items:center;gap:18px}
.sf-menu{display:flex;list-style:none;margin:0;padding:0;align-items:center;gap:3px}
.sf-menu li{margin:0}
.sf-menu a{display:block;padding:30px 9px;color:#252525;font-size:13px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap}
.sf-menu a:hover{color:var(--sf-gold)}
.sf-header-cta{
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 20px;
  border:2px solid var(--sf-gold);color:#222;font-size:13px;font-weight:700;text-decoration:none;
}
.sf-header-cta:hover{background:var(--sf-gold);color:#fff}
.sf-menu-toggle{display:none;background:none;border:0;padding:12px;margin-left:auto;cursor:pointer}
.sf-menu-toggle span{display:block;width:25px;height:2px;background:#222;margin:5px 0}

/* Hero */
.sf-hero{position:relative;height:min(850px,100vh);min-height:650px;background:#1c1c1c;overflow:hidden}
.sf-hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .65s ease,visibility .65s ease;background-position:center;background-size:cover}
.sf-hero-slide.is-active{opacity:1;visibility:visible}
.sf-hero-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.69) 0%,rgba(0,0,0,.37) 50%,rgba(0,0,0,.17) 100%)}
.sf-hero-content{position:relative;z-index:2;max-width:1240px;height:100%;margin:0 auto;padding:145px 30px 70px;display:flex;align-items:center}
.sf-hero-copy{max-width:720px;color:#fff}
.sf-hero-kicker{font-size:17px;line-height:1.5;margin:0 0 15px;font-weight:500}
.sf-hero h1{font-size:54px;line-height:1.16;letter-spacing:-1.2px;font-weight:300;color:#fff;margin:0 0 26px}
.sf-hero p.sf-hero-lead{font-size:18px;line-height:1.65;max-width:650px;margin:0 0 30px;color:#fff}
.sf-button{
  display:inline-flex;align-items:center;justify-content:center;padding:13px 28px;min-height:50px;
  border:2px solid var(--sf-gold);background:var(--sf-gold);color:#fff!important;text-decoration:none!important;
  font-weight:700;font-size:14px;letter-spacing:.3px;
}
.sf-button:hover{background:transparent;color:#fff!important}
.sf-hero-controls{position:absolute;z-index:4;left:50%;bottom:32px;transform:translateX(-50%);display:flex;gap:9px}
.sf-hero-dot{width:11px;height:11px;border-radius:50%;border:0;background:rgba(255,255,255,.55);padding:0;cursor:pointer}
.sf-hero-dot.is-active{background:#fff}

/* Legacy content corrections */
#home-business-copy .vc_row{margin-left:auto;margin-right:auto}
#home-business-copy .vc_row.vc_row-fluid>.vc_column_container>.vc_column-inner{box-sizing:border-box}
#home-business-copy h2{letter-spacing:-.3px}
#home-business-copy .tt_button,.tt_button{cursor:pointer}
#home-business-copy [id]{scroll-margin-top:100px}
.vc_toggle_title{cursor:pointer}
.vc_toggle_content{transition:none}

/* Footer */
.sf-footer{background:#121212;color:#b9b9b9;padding:36px 0 24px}
.sf-footer .container{max-width:1240px}
.sf-footer-top{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-bottom:26px;border-bottom:1px solid rgba(255,255,255,.08)}
.sf-footer-menu{display:flex;flex-wrap:wrap;gap:18px 25px;list-style:none;padding:0;margin:0}
.sf-footer-menu a{color:#ddd;text-decoration:none;font-size:13px}
.sf-footer-menu a:hover{color:var(--sf-gold)}
.sf-footer-bottom{padding-top:23px;font-size:12px;color:#888}

/* Side contact panel */
.sf-panel-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:10000;opacity:0;visibility:hidden;transition:.25s}
.sf-panel{position:fixed;z-index:10001;top:0;right:0;width:min(520px,100%);height:100%;overflow:auto;background:#fff;padding:48px 44px;transform:translateX(100%);transition:transform .3s ease}
.sf-panel.is-open{transform:translateX(0)}
.sf-panel-overlay.is-open{opacity:1;visibility:visible}
.sf-panel-close{position:absolute;top:18px;right:20px;border:0;background:none;font-size:34px;line-height:1;cursor:pointer}
.sf-panel h3{font-size:32px;margin:10px 0 15px;color:#171717}
.sf-panel-intro{color:#666;line-height:1.7;margin-bottom:26px}
.sf-form-row{margin-bottom:14px}
.sf-form-row label{display:block;font-size:12px;font-weight:700;margin:0 0 6px;color:#333}
.sf-form-row input,.sf-form-row textarea{width:100%;border:1px solid #ddd;padding:12px 13px;background:#fff;border-radius:0;box-sizing:border-box;font:inherit}
.sf-form-row textarea{min-height:115px;resize:vertical}
.sf-consent{display:flex;gap:10px;align-items:flex-start;font-size:11px;line-height:1.45;color:#666;margin:12px 0}
.sf-consent input{margin-top:3px}
.sf-form-message{padding:12px 14px;margin-bottom:16px;font-size:13px}
.sf-form-message.success{background:#edf7ed;color:#28662b}
.sf-form-message.error{background:#fff0f0;color:#8c2727}
.sf-hp{position:absolute!important;left:-9999px!important}

/* Standard WP pages */
.sf-page-shell{max-width:1060px;margin:0 auto;padding:145px 24px 80px}
.sf-page-shell h1{font-size:42px;line-height:1.2;margin:0 0 30px}
.sf-page-content{font-size:16px;line-height:1.8}
.sf-post-list article{padding:30px 0;border-bottom:1px solid #e9e9e9}
.sf-post-list h2{margin:0 0 10px;font-size:30px}
.sf-post-list h2 a{color:#222;text-decoration:none}

/* Responsive */
@media(max-width:1100px){
  .sf-menu a{font-size:12px;padding-left:7px;padding-right:7px}
  .sf-header-cta{display:none}
}
@media(max-width:930px){
  :root{--sf-header-h:72px}
  .sf-menu-toggle{display:block}
  .sf-menu-wrap{position:absolute;left:0;right:0;top:100%;display:none;background:#fff;padding:8px 20px 20px;box-shadow:0 12px 24px rgba(0,0,0,.09)}
  .sf-menu-wrap.is-open{display:block}
  .sf-menu{display:block}
  .sf-menu a{padding:12px 6px;font-size:14px}
  .sf-brand img{width:125px;max-height:54px}
  .sf-hero{min-height:590px;height:82vh}
  .sf-hero-content{padding:120px 28px 60px}
  .sf-hero h1{font-size:42px}
  .sf-hero p.sf-hero-lead{font-size:16px}
}
@media(max-width:767px){
  .sf-hero{height:78vh;min-height:560px}
  .sf-hero-slide:after{background:rgba(0,0,0,.52)}
  .sf-hero-content{padding:110px 22px 55px;text-align:center;justify-content:center}
  .sf-hero-copy{margin:0 auto}
  .sf-hero h1{font-size:34px;line-height:1.17;letter-spacing:-.5px}
  .sf-hero-kicker{font-size:14px}
  .sf-hero p.sf-hero-lead{font-size:15px}
  #home-business-copy .vc_row-has-padding-top{padding-top:65px!important}
  #home-business-copy .vc_row-has-padding-bottom{padding-bottom:65px!important}
  .sf-panel{padding:44px 22px 30px}
  .sf-footer-top{display:block}
  .sf-footer-menu{margin-bottom:18px}
}


/* ===== v1.2 visual pass ===== */
:root{--sf-header-h:92px}
.sf-header{
  background:rgba(255,255,255,.98);
  box-shadow:0 2px 32px rgba(15,15,15,.06);
  transition:background .25s ease,box-shadow .25s ease,transform .25s ease;
}
.sf-header .sf-nav-inner{max-width:1210px;min-height:92px;padding:0 15px;gap:18px}
.sf-brand img{width:150px;max-height:60px}
.sf-menu{gap:0}
.sf-menu a{
  position:relative;padding:35px 8px 34px;color:#6d6d6d;font-size:12.5px;font-weight:400;
}
.sf-menu a:after{content:"";position:absolute;left:50%;right:50%;bottom:23px;height:2px;background:var(--sf-gold);transition:left .2s ease,right .2s ease}
.sf-menu a:hover:after,.sf-menu .current-menu-item>a:after{left:8px;right:8px}
.sf-header-cta{min-height:42px;padding:0 20px;background:transparent;color:#6d6d6d;border-color:var(--sf-gold);font-weight:600}
.sf-header-cta:hover{background:var(--sf-gold);color:#fff}

.sf-hero{height:923px;max-height:100vh;min-height:690px}
.sf-hero-slide:first-child{background-position:center center}
.sf-hero-slide:nth-child(2){background-position:center bottom}
.sf-hero-slide:after{background:linear-gradient(90deg,rgba(0,0,0,.54),rgba(0,0,0,.24) 55%,rgba(0,0,0,.08))}
.sf-hero-content{max-width:1210px;padding:132px 15px 70px}
.sf-hero-copy{max-width:690px}
.sf-hero-kicker{display:none}
.sf-hero h1{font-size:54px;line-height:1.14;font-weight:300;letter-spacing:-1px;margin-bottom:24px}
.sf-hero p.sf-hero-lead{font-size:18px;line-height:1.55;max-width:620px;margin-bottom:30px}
.sf-hero .sf-button{min-width:126px;background:transparent;border-color:var(--sf-gold);font-size:16px;letter-spacing:1px}
.sf-hero .sf-button:hover{background:var(--sf-gold)}
.sf-hero-controls{bottom:40px}

/* Restore background imagery from the source page. These are the exact source assets. */
#home-business-copy .vc_custom_1771401685799{
  background:#1a1a1a url('https://strefa.tomczak.es/wp-content/uploads/2026/02/AdobeStock_1636655593-scaled.jpg') center/cover no-repeat!important;
}
#home-business-copy .vc_custom_1771401729388,
#home-business-copy .vc_custom_1771401745146,
#home-business-copy .vc_custom_1771401780365{
  background:#1a1a1a url('https://strefa.tomczak.es/wp-content/uploads/2026/02/AdobeStock_724981356-scaled.jpeg') center/cover no-repeat!important;
}
#home-business-copy .vc_custom_1771401760586{
  background:#1a1a1a url('https://strefa.tomczak.es/wp-content/uploads/2026/02/AdobeStock_329827687-scaled.jpeg') center/cover no-repeat!important;
}
#home-business-copy .vc_custom_1768553698246{
  background-image:url('https://strefa.tomczak.es/wp-content/uploads/2026/01/AdobeStock_95407494_-produkty-i-rozwiazania-scaled.jpeg')!important;
  background-position:center!important;background-repeat:no-repeat!important;background-size:cover!important;
}

/* Dark photo sections need the same readable overlay the legacy theme used. */
#home-business-copy .vc_custom_1771401685799,
#home-business-copy .vc_custom_1771401760586{position:relative}
#home-business-copy .vc_custom_1771401685799:before,
#home-business-copy .vc_custom_1771401760586:before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.33);pointer-events:none}
#home-business-copy .vc_custom_1771401685799>.vc_column_container,
#home-business-copy .vc_custom_1771401760586>.vc_column_container{position:relative;z-index:1}

/* Cleaner legacy layout and spacing. */
#home-business-copy{font-size:15px;line-height:1.7}
#home-business-copy h2{font-size:36px;line-height:1.25;font-weight:300}
#home-business-copy h5{line-height:1.45}
#home-business-copy .vc_custom_1513708990909{padding-left:120px!important;padding-right:120px!important}
#home-business-copy .kd-section-title{margin-left:auto;margin-right:auto}
#home-business-copy .tt-content .tt-container{max-width:900px;margin-left:auto;margin-right:auto}
#home-business-copy .testimonials.without-image .tt-content{text-align:center}
#home-business-copy .owl-carousel .owl-nav{position:absolute;left:0;right:0;top:50%;justify-content:space-between;transform:translateY(-50%);z-index:3}
#home-business-copy .owl-carousel .owl-prev,
#home-business-copy .owl-carousel .owl-next{width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:#777;background:transparent}
#home-business-copy .owl-carousel .owl-prev::after,
#home-business-copy .owl-carousel .owl-next::after{font-size:38px;font-weight:200}
#home-business-copy .owl-carousel .owl-dots{gap:8px;margin-top:22px}
#home-business-copy .owl-carousel .owl-dot{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:#d6d6d6}
#home-business-copy .owl-carousel .owl-dot span{display:none}
#home-business-copy .owl-carousel .owl-dot.active{background:var(--sf-gold)}

/* SVG icon replacement: no missing icon fonts and no square/emoji fallbacks. */
#home-business-copy i.sf-inline-icon{display:inline-flex!important;width:48px;height:48px;align-items:center;justify-content:center;color:var(--sf-gold)!important;margin-bottom:18px}
#home-business-copy i.sf-inline-icon svg{display:block;width:42px;height:42px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
#home-business-copy .key-icon-box.cont-left i.sf-inline-icon{margin-left:0}
#home-business-copy .key-icon-box.cont-center i.sf-inline-icon{margin-left:auto;margin-right:auto}

/* Google map */
#home-business-copy iframe[src*="google.com/maps"]{display:block;width:100%;min-height:500px;border:0}

@media(max-width:1199px){
  .sf-header .sf-nav-inner{padding-left:22px;padding-right:22px}
  .sf-menu a{font-size:11.5px;padding-left:6px;padding-right:6px}
  #home-business-copy .vc_custom_1513708990909{padding-left:70px!important;padding-right:70px!important}
}
@media(max-width:930px){
  :root{--sf-header-h:72px}
  .sf-header .sf-nav-inner{min-height:72px}
  .sf-menu a:after{display:none}
  .sf-hero{height:760px;min-height:620px}
  .sf-hero-content{padding:105px 28px 60px}
  .sf-hero h1{font-size:44px}
}
@media(max-width:767px){
  .sf-header .sf-nav-inner{padding-left:18px;padding-right:18px}
  .sf-brand img{width:126px}
  .sf-hero{height:680px;min-height:560px}
  .sf-hero-slide:first-child{background-position:center center}
  .sf-hero-slide:nth-child(2){background-position:62% bottom}
  .sf-hero-slide:after{background:rgba(0,0,0,.48)}
  .sf-hero-content{padding:94px 22px 54px;text-align:center}
  .sf-hero h1{font-size:34px;line-height:1.18}
  .sf-hero p.sf-hero-lead{font-size:15px;line-height:1.6}
  #home-business-copy h2{font-size:30px}
  #home-business-copy .vc_custom_1513708990909{padding-left:20px!important;padding-right:20px!important}
  #home-business-copy .vc_row[data-vc-full-width="true"]{padding-left:20px!important;padding-right:20px!important}
  #home-business-copy .vc_row-has-padding-top{padding-top:62px!important}
  #home-business-copy .vc_row-has-padding-bottom{padding-bottom:62px!important}
  #home-business-copy .vc_custom_1768553698246{padding-top:110px!important;padding-bottom:110px!important}
  #home-business-copy .vc_custom_1541587002747,
  #home-business-copy .vc_custom_1541587019967,
  #home-business-copy .vc_custom_1540559965344,
  #home-business-copy .vc_custom_1540560004400,
  #home-business-copy .vc_custom_1540559968536,
  #home-business-copy .vc_custom_1540560007529{padding-left:0!important;padding-right:0!important}
  #home-business-copy .wpb_text_column p{margin-bottom:16px}
}
