/*
Theme Name: S Line Accounting Gold Premium V13 RODO Fix
Theme URI: https://slineaccounting.com
Author: OpenAI
Description: Elegancki motyw WordPress dla S Line Accounting w stylistyce biel, granat i złoto. Hero slider, panel usług, sekcja przewag, rozbudowana stopka i formularz kontaktowy.
Version: 13.0.0
Text Domain: sline-accounting-gold-premium
*/
:root{
  --navy:#0d2b4b;
  --navy-2:#153b63;
  --gold:#c58c16;
  --gold-light:#dcae48;
  --ink:#10243a;
  --muted:#5d6874;
  --line:#e8e8e8;
  --soft:#f8f8f7;
  --white:#fff;
  --shadow:0 18px 50px rgba(13,43,75,.12);
  --container:1420px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:#fff;color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.55;-webkit-font-smoothing:antialiased;
}
body.admin-bar .site-header{top:32px}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto}
button,input,textarea{font:inherit}
.container{width:min(calc(100% - 64px),var(--container));margin:0 auto}

.site-header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  background:rgba(255,255,255,.96);backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(13,43,75,.05)
}
.header-inner{height:112px;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;flex:0 0 auto}
.brand img,.custom-logo-link img{display:block;height:94px;width:auto;max-width:330px;object-fit:contain}
.site-nav{margin-left:auto}
.menu{display:flex;align-items:center;gap:32px;list-style:none;padding:0;margin:0}
.menu a{font-weight:800;text-transform:uppercase;font-size:.78rem;color:#101d2d;letter-spacing:.01em}
.menu a:hover{color:var(--gold)}
.header-phone{
  margin-left:18px;background:linear-gradient(135deg,var(--gold-light),var(--gold));
  color:#fff;padding:14px 20px;border-radius:5px;font-weight:800;font-size:.9rem;
  box-shadow:0 8px 24px rgba(197,140,22,.16)
}
.menu-toggle{display:none;margin-left:auto;background:none;border:0;font-size:1.6rem;color:var(--navy)}

.hero{padding-top:112px;background:#fff;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:.82fr 1.18fr;min-height:500px}
.hero-copy{padding:34px 46px 34px 0;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:5;background:#fff}
.hero-copy h1{
  font-family:Georgia,"Times New Roman",serif;
  color:var(--navy);
  font-size:clamp(2rem,2.65vw,3.15rem);
  line-height:1.05;
  letter-spacing:-.03em;
  margin:0 0 16px;
}
.hero-copy h1 span{color:var(--gold);font-weight:500;display:block;margin-top:5px}
.gold-line{width:60px;height:2px;background:var(--gold);margin:0 0 18px}
.hero-copy p{font-size:1rem;color:#26384c;max-width:600px;margin:0 0 26px}
.actions{display:flex;gap:16px;flex-wrap:wrap}
.btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 28px;
  text-transform:uppercase;font-size:.8rem;font-weight:900;letter-spacing:.02em;border:1px solid var(--gold);
  transition:.2s;cursor:pointer
}
.btn-gold{background:linear-gradient(135deg,var(--gold-light),var(--gold));color:white;border-color:transparent}
.btn-outline{background:white;color:#a76f0b}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(197,140,22,.14)}

.slider{position:relative;overflow:hidden;min-height:500px;background:#f3eee4}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .7s ease;pointer-events:none}
.slide.active{opacity:1;pointer-events:auto}
.slide img{width:100%;height:100%;object-fit:cover;object-position:center center;display:block;transform:none}
.slider:before{
  content:"";position:absolute;z-index:4;inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.84) 0%,rgba(255,255,255,.22) 16%,rgba(255,255,255,0) 34%);
  pointer-events:none
}
.rings{position:absolute;z-index:5;left:5%;top:-80px;width:280px;height:680px;border-left:2px solid rgba(220,174,72,.55);border-radius:50%;pointer-events:none}
.rings:after{content:"";position:absolute;left:24px;top:0;width:100%;height:100%;border-left:2px solid rgba(220,174,72,.32);border-radius:50%}
.badge{
  position:absolute;z-index:8;top:46px;right:6%;width:142px;height:142px;border-radius:50%;
  background:rgba(255,255,255,.97);border:1px solid var(--gold);box-shadow:0 10px 28px rgba(13,43,75,.12);
  display:grid;place-items:center;text-align:center;color:var(--navy);font-size:.66rem;
  text-transform:uppercase;letter-spacing:.1em;font-weight:800
}
.badge:before{content:"";position:absolute;inset:7px;border:1px solid rgba(197,140,22,.65);border-radius:50%}
.badge strong{display:block;color:var(--gold);font:500 2rem/1 Georgia,serif;letter-spacing:0}
.badge small{display:block;color:#b5780e;font-size:.58rem;letter-spacing:.04em;margin:4px 0}
.slider-btn{
  position:absolute;z-index:9;top:50%;transform:translateY(-50%);
  width:38px;height:38px;border-radius:50%;border:0;background:var(--navy);color:white;
  display:grid;place-items:center;cursor:pointer;font-size:1.25rem
}
.slider-prev{left:18px}.slider-next{right:18px}
.slider-dots{position:absolute;z-index:9;bottom:20px;left:50%;transform:translateX(-50%);display:flex;gap:8px}
.slider-dot{width:10px;height:10px;border-radius:50%;border:0;background:rgba(255,255,255,.9);padding:0;cursor:pointer}
.slider-dot.active{background:var(--gold)}

.services-wrap{position:relative;z-index:20;margin-top:-25px}
.services-panel{
  background:#fff;border-radius:16px;box-shadow:var(--shadow);padding:20px 14px;
  display:grid;grid-template-columns:repeat(8,1fr)
}
.service{text-align:center;padding:8px 16px;border-right:1px solid var(--line);min-height:152px}
.service:last-child{border-right:0}
.icon{height:42px;display:grid;place-items:center;color:var(--gold);margin-bottom:8px}
.icon svg{width:36px;height:36px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.service h3{font-size:.88rem;line-height:1.25;margin:0 0 6px;color:#122239}
.service p{font-size:.75rem;line-height:1.5;color:#596575;margin:0}

.why{margin-top:-30px;padding:96px 0 40px;background:linear-gradient(135deg,#0a2440,#123a63);color:#fff}
.why-grid{display:grid;grid-template-columns:1.35fr repeat(6,1fr)}
.why-intro{padding:4px 34px 4px 0}
.why h2{font:500 2.1rem/1.1 Georgia,serif;margin:0 0 16px;color:#fff}
.why-intro p{font-size:.84rem;color:#f0f3f6;margin:0;max-width:310px}
.why-item{border-left:1px solid rgba(255,255,255,.35);padding:4px 18px;text-align:center}
.why-item .icon{height:48px}
.why-item strong{display:block;font-size:.82rem;margin-bottom:7px}
.why-item p{font-size:.73rem;color:#edf1f5;margin:0;line-height:1.5}

.section{padding:84px 0}
.section-soft{background:#f8f7f3}
.section-head{max-width:780px;margin-bottom:36px}
.eyebrow{font-size:.74rem;text-transform:uppercase;letter-spacing:.13em;color:var(--gold);font-weight:900;margin-bottom:10px}
.section h2{font:500 clamp(2.2rem,4vw,3.8rem)/1.05 Georgia,serif;color:var(--navy);margin:0 0 14px}
.lead{color:var(--muted);font-size:1.03rem;margin:0}
.gains{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.gain{background:#fff;border:1px solid #ebe8e0;padding:24px;border-radius:16px}
.gain .num{font:500 2rem Georgia,serif;color:var(--gold)}
.gain h3{font:500 1.25rem Georgia,serif;color:var(--navy);margin:13px 0 8px}
.gain p{font-size:.9rem;color:var(--muted);margin:0}

.footer-main{background:#fff;padding:40px 0 28px;border-top:1px solid #efefef}
.footer-grid{display:grid;grid-template-columns:1.15fr .65fr .9fr .8fr 1.35fr;gap:26px;align-items:start}
.footer-brand img{width:auto;height:118px;max-width:300px;object-fit:contain;display:block}
.footer-brand p{font-size:.8rem;color:#55616d;max-width:270px;margin:12px 0 0}
.footer-main h4{font-size:.72rem;text-transform:uppercase;color:#10243a;margin:0 0 12px;letter-spacing:.03em}
.footer-main ul{list-style:none;margin:0;padding:0;display:grid;gap:7px;font-size:.77rem;color:#26384a}
.footer-contact li{display:flex;gap:8px;align-items:flex-start}
.footer-form{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.footer-form .full{grid-column:1/-1}
.footer-form input,.footer-form textarea{width:100%;border:1px solid #dfe2e6;border-radius:4px;padding:9px 10px;font-size:.76rem;outline:none}
.footer-form textarea{min-height:66px;resize:vertical}
.footer-form input:focus,.footer-form textarea:focus{border-color:var(--gold)}
.footer-form button{min-height:34px;padding:0 22px;font-size:.72rem}
.notice{padding:9px 10px;border-radius:4px;font-size:.75rem;margin-bottom:8px}
.notice.ok{background:#eaf7ee;color:#27613b}.notice.err{background:#fff0f0;color:#913737}

.footer-bottom{background:#071d33;color:#cbd4dd;padding:14px 0;font-size:.72rem}
.footer-bottom .container{display:flex;justify-content:space-between;gap:20px;align-items:center}
.legal{display:flex;gap:20px}

@media(max-width:1180px){
  .container{width:min(calc(100% - 36px),var(--container))}
  .menu{gap:18px}.header-phone{display:none}
  .hero-grid{grid-template-columns:.9fr 1.1fr}
  .services-panel{grid-template-columns:repeat(4,1fr)}
  .service{border-bottom:1px solid var(--line)}
  .service:nth-child(4n){border-right:0}
  .service:nth-child(n+5){border-bottom:0}
  .why-grid{grid-template-columns:repeat(3,1fr)}
  .why-intro{grid-column:1/-1;margin-bottom:18px}
  .footer-grid{grid-template-columns:1.2fr .8fr .9fr}
  .footer-grid>div:nth-child(4),.footer-grid>div:nth-child(5){margin-top:18px}
}
@media(max-width:860px){
  body.admin-bar .site-header{top:46px}
  .header-inner{height:92px}
  .brand img,.custom-logo-link img{height:74px;max-width:260px}
  .menu-toggle{display:block}
  .site-nav{display:none;position:absolute;left:18px;right:18px;top:92px;background:#fff;box-shadow:var(--shadow);border-radius:12px;padding:18px}
  .site-nav.open{display:block}
  .menu{flex-direction:column;align-items:flex-start}
  .hero{padding-top:92px}
  .hero-grid{grid-template-columns:1fr}
  .hero-copy{padding:48px 0 38px}
  .slider{min-height:410px}
  .services-wrap{margin-top:-18px}
  .why{margin-top:-20px;padding-top:80px}
  .why-grid{grid-template-columns:1fr 1fr}
  .why-intro{grid-column:1/-1}
  .gains{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-grid>div{margin-top:0!important}
}
@media(max-width:560px){
  .container{width:min(calc(100% - 24px),var(--container))}
  .hero-copy h1{
  font-family:Georgia,"Times New Roman",serif;
  color:var(--navy);
  font-size:clamp(2rem,2.65vw,3.15rem);
  line-height:1.05;
  letter-spacing:-.03em;
  margin:0 0 16px;
}
  .actions{flex-direction:column;align-items:stretch}
  .slider{min-height:340px}
  .slide img{object-position:center}
  .badge{
  position:absolute;z-index:8;top:46px;right:6%;width:142px;height:142px;border-radius:50%;
  background:rgba(255,255,255,.97);border:1px solid var(--gold);box-shadow:0 10px 28px rgba(13,43,75,.12);
  display:grid;place-items:center;text-align:center;color:var(--navy);font-size:.66rem;
  text-transform:uppercase;letter-spacing:.1em;font-weight:800
}
  .services-panel{grid-template-columns:1fr 1fr;padding:12px 8px}
  .service{border-right:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important}
  .service:nth-child(even){border-right:0!important}
  .service:nth-last-child(-n+2){border-bottom:0!important}
  .why-grid,.gains,.footer-grid,.footer-form{grid-template-columns:1fr}
  .why-item{border-left:0;border-top:1px solid rgba(255,255,255,.22);padding:18px 0}
  .footer-form .full{grid-column:auto}
  .footer-bottom .container{flex-direction:column;align-items:flex-start}
  .section{padding:68px 0}
}


.footer-brand{
  overflow:visible;
  min-width:0;
}
.footer-brand img{
  display:block;
  width:auto;
  height:118px;
  max-width:300px;
  object-fit:contain;
  object-position:left center;
  filter:none !important;
  clip-path:none !important;
  overflow:visible;
}

@media(max-width:860px){
  .hero-copy h1{font-size:clamp(2.25rem,7vw,3rem);}
}
@media(max-width:560px){
  .hero-copy h1{font-size:2.35rem;}
}

/* Formularz: zgoda, pola wymagane i komunikat bezpieczeństwa */
.consent{
  display:flex;
  align-items:flex-start;
  gap:8px;
  color:#344456;
  font-size:.69rem;
  line-height:1.35;
  cursor:pointer;
}
.consent input{
  width:15px;
  height:15px;
  min-width:15px;
  margin:1px 0 0;
  accent-color:var(--gold);
}
.form-required{
  color:#68737e;
  font-size:.66rem;
  line-height:1.3;
}
.form-security{
  display:flex;
  align-items:center;
  gap:6px;
  color:#536170;
  font-size:.67rem;
  line-height:1.35;
}
.form-security .lock{
  font-size:.82rem;
  line-height:1;
}

/* Antybot: niewidoczne pole honeypot */
.hp-field{
  position:absolute !important;
  left:-99999px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
.social-links{display:flex;align-items:center;gap:10px;margin-top:16px}.facebook-link{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#1877F2;transition:.2s}.facebook-link:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(24,119,242,.25)}.facebook-link svg{width:25px;height:25px;fill:#fff}
/* Facebook w górnym menu — pomiędzy Kontakt a telefonem */
.header-facebook{
  flex:0 0 auto;
  width:38px;
  height:38px;
  margin-left:2px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#1877F2;
  color:#fff;
  transition:transform .2s ease, box-shadow .2s ease;
}
.header-facebook:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(24,119,242,.25);
}
.header-facebook svg{
  width:24px;
  height:24px;
  fill:#fff;
}
.header-phone{margin-left:4px}
@media(max-width:1180px){
  .header-facebook{margin-left:auto}
}
@media(max-width:860px){
  .header-facebook{
    width:36px;
    height:36px;
    margin-left:auto;
    margin-right:6px;
  }
  .header-facebook svg{width:22px;height:22px}
  .menu-toggle{margin-left:0}
}

/* V12 - polityka prywatności */
.privacy-page{padding-top:145px;padding-bottom:90px}
.privacy-content{max-width:980px}
.privacy-content h1{font:500 clamp(2.4rem,4vw,4rem)/1.05 Georgia,serif;color:var(--navy);margin:0 0 28px}
.privacy-content h2{font:500 1.65rem/1.2 Georgia,serif;color:var(--navy);margin:34px 0 12px}
.privacy-content p,.privacy-content li{color:#455464}
.privacy-content ul{padding-left:22px}
.privacy-content a{color:var(--gold);text-decoration:underline}
.privacy-note{background:#f8f7f3;border-left:3px solid var(--gold);padding:16px 18px;margin:24px 0}
.consent a{color:var(--gold);text-decoration:underline;font-weight:700}
