/*
Theme Name: Ekopompaciepla
Theme URI: https://ekopompaciepla.pl
Author: Ekopompaciepla.pl
Description: Motyw z oryginalnego statycznego serwisu ekopompaciepla.pl
Version: 2.1
*/
/* =====================
   ZMIENNE I STYLE BAZOWE
   ===================== */
:root {
  --g900: #080808;   /* luxury black — nav, buttons, footer */
  --g700: #085133;   /* brand dark green */
  --g500: #085133;   /* brand green accent */
  --g400: #0a6840;   /* mid green */
  --g200: #C9A84C;   /* gold — key accent */
  --g100: #E8D5A3;   /* light gold */
  --g50:  #FAF6EC;   /* cream gold tint */
  --cream: #FDFCF9;  /* warm white background */
  --white: #FFFFFF;
  --text: #0d0d0d;
  --muted: #5a5a5a;
  --border: #E2D9C4;
  --gold: #C9A84C;
  --sh: none; --shlg: 0 10px 40px rgba(0,0,0,.06);
}
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ── GLOBAL OVERFLOW FIX ── */
*, *::before, *::after { max-width: 100%; }
html, body { overflow-x: hidden !important; width: 100%; }
img, video, iframe, canvas { max-width: 100%; }

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; }

/* Nawigacja */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 2000; background: rgba(253,252,249,.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0 40px; height: 80px; display: flex; align-items: center; justify-content: space-between; transition: background .35s, border-color .35s; }
/* Domyślnie — ciemny nav (wszystkie strony poza index) */
nav.nav-scrolled { background: rgba(253,252,249,.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
nav::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent 0%, #C9A84C 30%, #C9A84C 70%, transparent 100%); opacity: 0; transition: opacity .35s; }
nav.nav-scrolled::after { opacity: 0.6; }
.nav-logo-main { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 400; color: var(--g900); text-decoration: none; letter-spacing: 0.5px; text-transform: uppercase; transition: color .35s; }
.nav-logo-sub { font-size: 9px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; display: block; font-family: 'DM Sans', sans-serif; transition: color .35s; }
.nav-links { display: flex; gap: 40px; list-style: none; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 500; letter-spacing: 1px; color: var(--text); text-decoration: none; text-transform: uppercase; transition: color .35s; }
.nav-links a:hover { color: var(--g400); }
.nav-cta { background: var(--g900); color: white; padding: 12px 24px; border-radius: 0; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; transition: all .35s; border: 1px solid var(--g900); }
.nav-cta:hover { background: var(--g700); border-color: var(--g700); }

/* Tylko na index — przezroczysty nav do momentu scrolla */
.page-index nav:not(.nav-scrolled) { background: transparent; backdrop-filter: none; border-bottom: 1px solid transparent; }
.page-index nav:not(.nav-scrolled)::after { opacity: 0; }
.page-index nav:not(.nav-scrolled) .nav-logo-main { color: white; }
.page-index nav:not(.nav-scrolled) .nav-logo-sub { color: rgba(255,255,255,.78); }
.page-index nav:not(.nav-scrolled) .nav-links a { color: rgba(255,255,255,.85); }
.page-index nav:not(.nav-scrolled) .nav-links a:hover { color: #C9A84C; }
.page-index nav:not(.nav-scrolled) .nav-cta { background: transparent; border-color: rgba(255,255,255,.4); color: white; }
.page-index nav:not(.nav-scrolled) .nav-cta:hover { background: #C9A84C; border-color: #C9A84C; color: #080808; }
.nav-cta:hover { background: var(--gold); color: var(--g900); border-color: var(--gold); }
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.hamburger span { width: 30px; height: 2px; background: var(--g900); transition: 0.3s; }

/* Przyciski i utility */
.btn-primary { background: var(--g900); color: white; padding: 18px 36px; border: 1px solid var(--g900); border-radius: 0; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: all 0.3s; cursor: pointer; }
.btn-primary:hover { background: var(--gold); color: var(--g900); border-color: var(--gold); }
.btn-secondary { background: transparent; color: var(--g900); padding: 18px 36px; border: 1px solid var(--border); border-radius: 0; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: all 0.3s; cursor: pointer; }
.btn-secondary:hover { border-color: var(--gold); color: var(--g900); background: var(--g50); }
.txt-center { text-align: center; }

/* === NOWY MAGAZYNOWY DESIGN (INDEX) === */
.sec-padding { padding: 80px 40px; }

/* Split-screen Hero */
.hero-split { display: flex; min-height: 100vh; position: relative; }
.hs-text { flex: 1; padding: 160px 80px 80px; display: flex; flex-direction: column; justify-content: center; }
.hs-img { flex: 1; background: var(--g900); position: relative; }
.hs-img-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,0.2); font-size: 13px; letter-spacing: 2px; }
.hs-img-placeholder .ico { font-size: 64px; margin-bottom: 24px; opacity: 0.5; }
.hs-card { position: absolute; bottom: 80px; left: -60px; background: white; padding: 32px 40px; border: 1px solid var(--border); }
.hsc-title { font-family: 'Fraunces', serif; font-size: 24px; color: var(--g900); margin-bottom: 8px; }
.hsc-sub { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--g500); padding: 4px 0; font-size: 11px; font-weight: 600; color: var(--g500); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 40px; align-self: flex-start; }
.hero-title { font-family: 'Fraunces', serif; font-size: 72px; font-weight: 300; color: var(--g900); line-height: 1.1; letter-spacing: -2px; margin-bottom: 32px; }
.hero-title span { color: var(--g500); font-style: italic; }
.hero-sub { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 48px; max-width: 480px; font-weight: 300; }
.hero-actions { display: flex; gap: 32px; align-items: center; margin-bottom: 64px; }
.hero-stats { display: flex; gap: 48px; border-top: 1px solid var(--border); padding-top: 40px; }
.hero-stat-num { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 300; color: var(--g700); line-height: 1; margin-bottom: 8px;}
.hero-stat-label { font-size: 10px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

/* Trust Bar */
.trust-bar { background: var(--g900); border-bottom: 1px solid rgba(255,255,255,0.1); }
.trust-bar-inner { display: flex; align-items: center; justify-content: space-between; padding: 32px 0; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; gap: 24px;}
.tb-item { font-size: 12px; color: white; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; display: flex; align-items: center; gap: 12px; }

/* Odstępy i siatki */
.c { max-width: 1200px; margin: 0 auto; }
@media(max-width:768px){ .c{ padding-left:20px; padding-right:20px; } }
.sh { margin-bottom: 48px; max-width: 700px; }
.stag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--g500); margin-bottom: 16px; border-bottom: 1px solid var(--g500); padding-bottom: 4px; }
.stitle { font-family: 'Fraunces', serif; font-size: 56px; font-weight: 300; color: var(--g900); line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 24px; }
.ssub { font-size: 16px; color: var(--muted); line-height: 1.8; font-weight: 300; }

/* Services List (Editorial) */
.services-list { display: flex; flex-direction: column; gap: 80px; }
.sl-item { display: flex; gap: 80px; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 80px; }
.sl-item:last-child { border-bottom: none; padding-bottom: 0; }
.sl-reverse { flex-direction: row-reverse; }
.sl-img { flex: 1; height: 500px; background: var(--g100); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 80px; }
.sl-content { flex: 1; }
.sl-title { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 300; color: var(--g900); margin-bottom: 24px; }
.sl-desc { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 40px; font-weight: 300; }
.sl-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 48px; }
.sl-features li { font-size: 13px; font-weight: 500; display: flex; align-items: flex-start; gap: 12px; }
.sl-features li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--g500); margin-top: 6px; flex-shrink: 0; }

.why-bg { background: white; border-top: 2px solid var(--border); border-bottom: 2px solid var(--border); }
.why-grid { display: grid; grid-template-columns: 40% 60%; gap: 100px; align-items: stretch; }
.why-img { background: var(--g100); height: 100%; min-height: 600px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--g500); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border: 1px solid var(--border); }
.why-content { display: flex; flex-direction: column; justify-content: center; padding: 40px 0;}
.why-list { display: flex; flex-direction: column; gap: 56px; }
.wi { display: flex; gap: 40px; align-items: flex-start; }
.wi-num { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 300; color: var(--g500); line-height: 1; padding-bottom: 8px; border-bottom: 1px solid var(--g500); width: 60px; }
.wi-title { font-size: 20px; font-weight: 400; font-family: 'Fraunces', serif; color: var(--g900); margin-bottom: 16px; }
.wi-desc { font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; }

/* Timeline (Process) */
.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 40px; max-width: 800px;}
.tl-item { display: flex; gap: 60px; position: relative; padding-bottom: 80px; }
.tl-item::before { content: ''; position: absolute; left: 24px; top: 60px; bottom: 0; width: 1px; background: var(--border); }
.tl-item:last-child::before { display: none; }
.tl-item:last-child { padding-bottom: 0; }
.tl-num { font-family: 'Fraunces', serif; font-size: 48px; font-weight: 300; color: var(--gold); line-height: 1; width: 100px; }
.tl-content { flex: 1; padding-top: 10px; }
.tl-title { font-size: 20px; font-family: 'Fraunces', serif; font-weight: 400; color: var(--g900); margin-bottom: 16px; }
.tl-desc { font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; }

.certs-bg { background: var(--cream); }
.certs-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 64px; align-items: start;}
.certs-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.certs-nums .cn-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 12px); justify-self: center; }
.certs-highlight { font-family:'Fraunces',serif; font-size:40px; font-weight:300; color:var(--g900); line-height:1.2; letter-spacing:-1px; margin-bottom:20px; }
.certs-desc { font-size:15px; color:var(--muted); line-height:1.8; font-weight: 300; }
.cn-card { background: transparent; border-radius: 0; padding: 32px 24px; border: 1px solid var(--border); text-align: center; }
.cn-val { font-family:'Fraunces',serif; font-size:48px; font-weight:300; color:var(--g900); line-height:1; margin-bottom:12px; }
.cn-label { font-size:11px; color:var(--muted); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
/* Gallery grid for certs */
.certs-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.cg-item { aspect-ratio: 3/4; background: white; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; letter-spacing: 2px; color: var(--muted); transition: background .3s; cursor: pointer; }
.cg-item:hover { background: var(--g50); }

/* Portfolio Strips */
.rlz-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.rlz-strip { display: flex; background: white; text-decoration: none; color: inherit; transition: background .3s; }
.rlz-strip:hover { background: var(--cream); }
.rlz-strip-img { width: 320px; background: var(--g100); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; letter-spacing: 2px; color: var(--g500); flex-shrink: 0; }
.rlz-strip-info { padding: 48px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.rlz-loc { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--g500); margin-bottom: 16px; }
.rlz-title { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 300; color: var(--g900); margin-bottom: 24px; }
.rlz-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tag { font-size: 11px; font-weight: 500; padding: 6px 16px; border: 1px solid var(--border); letter-spacing: 1px; text-transform: uppercase; }
.rlz-save { font-size: 12px; font-weight: 600; color: var(--g900); text-transform: uppercase; letter-spacing: 1px; padding-top: 24px; border-top: 1px solid var(--border); }

/* Editorial Opinie */
.opinie-bg {background: white; border-top: 2px solid var(--border); border-bottom: 2px solid var(--border);}
.op-editorial { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 800px; margin: 0 auto; position: relative; }
.ope-quote { font-family: 'Fraunces', serif; font-size: 160px; line-height: 0; color: var(--g100); margin-bottom: 40px; margin-top: 60px; }
.ope-text { font-family: 'Fraunces', serif; font-style: italic; font-size: 28px; font-weight: 300; line-height: 1.6; color: var(--g900); margin-bottom: 48px; }
.ope-author { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ope-name { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--g900); }
.ope-src { font-size: 11px; color: var(--muted); }

/* Dotacje & Kontakt */
.dotacje-sec { background: var(--g900); padding: 120px 40px; }
.dot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; max-width: 1200px; margin: 0 auto; align-items: center; }
.dot-tag {display:inline-block; font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--g200); margin-bottom:24px; border-bottom: 1px solid var(--g200); padding-bottom: 4px;}
.dot-title {font-family:'Fraunces',serif; font-size:48px; font-weight:300; color:white; line-height:1.1; letter-spacing:-1px; margin-bottom:24px;}
.dot-desc {font-size:15px; color:rgba(255,255,255,0.7); line-height:1.8; margin-bottom:48px; font-weight: 300;}
.dot-cards {display:flex; flex-direction:column; gap:24px;}
.dc { background: transparent; border:1px solid rgba(255,255,255,.2); border-radius: 0; padding: 32px; display: flex; gap: 24px; transition:border-color .3s;}
.dc:hover {border-color:white;}
.dc-icon {width:56px; height:56px; border-radius:0; background:rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; font-size:24px; flex-shrink:0;}
.dc-name {font-size:13px; font-weight:600; color:white; margin-bottom:8px; text-transform: uppercase; letter-spacing: 1px;}
.dc-amount {font-family:'Fraunces',serif; font-size:32px; font-weight:300; color:var(--g200); margin-bottom:12px;}
.dc-desc {font-size:13px; color:rgba(255,255,255,.5); line-height:1.6; font-weight: 300;}

.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items:start;}
.k-title {font-family:'Fraunces',serif; font-size:48px; font-weight:300; color:var(--g900); letter-spacing:-1px; line-height:1.1; margin-bottom:24px;}
.k-desc {font-size:15px; color:var(--muted); line-height:1.8; margin-bottom:48px; font-weight: 300;}
.k-details { display: flex; flex-direction: column; gap: 24px; margin-bottom:40px;}
.kd { display: flex; align-items: center; gap: 24px; padding: 24px; background: transparent; border-radius: 0; border: 1px solid var(--border); text-decoration: none; color: var(--text); transition:border-color .3s;}
.kd:hover {border-color:var(--g900);}
.kd-icon {width:48px; height:48px; border-radius:0; background:var(--cream); border: 1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0;}
.kd-label {font-size:10px; color:var(--muted); text-transform:uppercase; letter-spacing:2px; margin-bottom: 4px;}
.kd-val {font-size:16px; font-weight:400; color:var(--g900); font-family: 'Fraunces', serif;}

/* Kontakt Editorial */
.form-editorial { background: var(--g50); padding: 56px; border: 1px solid var(--border); }
.fe-title { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 300; color: var(--g900); margin-bottom: 40px; }
.fe-group { margin-bottom: 16px; }
.fe-input { width: 100%; padding: 16px 0; border: none; border-bottom: 1px solid var(--border); background: transparent; font-family: inherit; font-size: 14px; outline: none; transition: border-color .3s; }
.fe-input:focus { border-color: var(--g900); }
.fe-textarea { height: 80px; resize: vertical; }
.fe-radios { display: flex; flex-direction: column; gap: 16px; }
.fe-radios label { font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.fe-radios input { accent-color: var(--g900); }

/* === FAQ SECTION STYLES === */
.faq-layout { max-width: 860px; margin: 0 auto; padding: 160px 20px 100px; min-height: 100vh; }
.search-wrap { position: relative; margin-bottom: 48px; }
.search-wrap input { width: 100%; padding: 20px 60px 20px 24px; border: 1px solid var(--border); border-radius: 0; font-family: inherit; font-size: 16px; background: transparent; outline: none; transition: border-color 0.3s; color: var(--text); }
.search-wrap input:focus { border-color: var(--g900); }
.search-icon { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 20px; opacity: 0.5; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; border-bottom: 1px solid var(--border); padding-bottom: 24px;}
.cat-btn { padding: 12px 24px; border-radius: 0; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.3s; font-family: inherit; }
.cat-btn.active { color: var(--g900); border-bottom: 1px solid var(--g900); }
.cat-btn:hover:not(.active) { color: var(--g900); }
.faq-section { margin-bottom: 56px; }
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--g500); margin-bottom: 24px; display: flex; align-items: center; gap: 24px; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.faq-item { background: transparent; border-bottom: 1px solid var(--border); border-radius: 0; margin-bottom: 0; overflow: hidden; transition: border-color 0.3s; }
.faq-item:hover { border-color: var(--g900); }
.faq-item.open { border-color: var(--g900); }
.faq-question { width: 100%; text-align: left; padding: 32px 0; background: none; border: none; font-family: 'Fraunces', serif; font-size: 20px; font-weight: 400; color: var(--g900); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.faq-toggle { width: 32px; height: 32px; border-radius: 0; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--g900); font-weight: 300; transition: all 0.3s; flex-shrink: 0; background: transparent; }
.faq-item.open .faq-toggle { background: var(--g900); color: white; border-color: var(--g900); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 1200px; }
.faq-answer-inner { padding: 0 0 40px 0; font-size: 15px; line-height: 1.8; color: var(--muted); font-weight: 300; }
.faq-answer-inner ul, .faq-answer-inner ol { margin-left: 24px; margin-top: 16px; margin-bottom: 16px; }
.faq-answer-inner li { margin-bottom: 8px; }
.faq-answer-inner strong { color: var(--g900); font-weight: 500;}
.faq-answer-inner video { width: 100%; max-width: 100%; border-radius: 0; margin-top: 24px; border: 1px solid var(--border); outline: none; }

/* === CHATBOT WIDGET STYLES === */
.chat-fab { position: fixed; bottom: 40px; right: 40px; width: 64px; height: 64px; border-radius: 0; background: var(--g900); border: 1px solid var(--g900); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 1000; transition: background 0.3s; }
.chat-fab:hover { background: transparent; }
.chat-fab:hover svg { fill: var(--g900); }
.chat-fab svg { width: 28px; height: 28px; fill: white; transition: fill 0.3s;}
.chat-fab .badge { position: absolute; top: -8px; right: -8px; width: 16px; height: 16px; border-radius: 50%; background: #C04040; border: 1px solid white; }
.chat-popup { position: fixed; bottom: 120px; right: 40px; width: 400px; height: 600px; background: white; border-radius: 0; border: 1px solid var(--g900); box-shadow: var(--shlg); z-index: 999; display: none; flex-direction: column; overflow: hidden; font-family: inherit; }
.chat-popup.open { display: flex; animation: fadeUp 0.3s ease; }
@keyframes fadeUp { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform: translateY(0); } }
.cp-header { background: var(--g900); padding: 24px; display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.cp-avatar { width: 48px; height: 48px; border-radius: 0; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.2); }
.cp-header-info h3 { color: white; font-size: 16px; font-weight: 500; font-family: 'Fraunces', serif; margin: 0; letter-spacing: 0.5px; }
.cp-header-info p { color: var(--g200); font-size: 11px; margin: 4px 0 0; text-transform: uppercase; letter-spacing: 1px; }
.cp-close { margin-left: auto; background: none; border: none; cursor: pointer; color: white; font-size: 24px; opacity: 0.5; transition: opacity 0.3s; font-weight: 300;}
.cp-close:hover { opacity: 1; }
.cp-messages { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 16px; background: var(--cream); scroll-behavior: smooth; }
.cp-msg { display: flex; gap: 12px; align-items: flex-end; max-width: 85%; }
.cp-msg.user { flex-direction: row-reverse; align-self: flex-end; }
.cp-msg.bot { align-self: flex-start; }
.cp-msg-av { width: 32px; height: 32px; border-radius: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.cp-msg.bot .cp-msg-av { background: white; border: 1px solid var(--border); }
.cp-msg.user .cp-msg-av { background: var(--g200); border: 1px solid var(--g200); }
.cp-bubble { padding: 16px; border-radius: 0; font-size: 14px; line-height: 1.7; color: var(--text); font-weight: 300; }
.cp-msg.bot .cp-bubble { background: white; border: 1px solid var(--border); }
.cp-msg.user .cp-bubble { background: var(--g900); color: white; border: 1px solid var(--g900); }
.cp-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 8px 44px; }
.cp-qbtn { padding: 10px 16px; border-radius: 0; border: 1px solid var(--border); background: white; color: var(--g900); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.3s; font-family: inherit; }
.cp-qbtn:hover { background: var(--g900); color: white; border-color: var(--g900); }
.cp-typing { display: flex; gap: 6px; padding: 16px; }
.cp-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--g400); animation: bounce 1.2s infinite; }
.cp-typing span:nth-child(2) { animation-delay: 0.2s; }
.cp-typing span:nth-child(3) { animation-delay: 0.4s; }
.cp-input-area { border-top: 1px solid var(--border); padding: 16px 24px; display: flex; gap: 16px; align-items: center; flex-shrink: 0; background: white; }
.cp-input-area input { flex: 1; border: none; padding: 12px 0; font-size: 14px; outline: none; background: transparent; color: var(--text); font-family: inherit; font-weight: 300;}
.cp-send { width: 48px; height: 48px; border-radius: 0; background: var(--g900); border: 1px solid var(--g900); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.3s; }
.cp-send:hover { background: transparent; }
.cp-send:hover svg { fill: var(--g900); }
.cp-send svg { width: 20px; height: 20px; fill: white; margin-left: 2px; transition: fill 0.3s; }

/* Stopka */
footer { background: var(--g900); padding: 80px 40px 40px; color: white; border-top: 1px solid rgba(255,255,255,0.1); }
.ft-top { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 80px; }
.ft-logo {font-family:'Fraunces',serif; font-size:24px; font-weight:300; color:white; margin-bottom:20px; letter-spacing: 0.5px; text-transform: uppercase;}
.ft-tag {font-size:14px; color:rgba(255,255,255,0.6); line-height:1.8; margin-bottom:24px; font-weight: 300;}
.ft-col-title {font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--g200); margin-bottom:24px;}
.ft-links { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.ft-links a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 13px; font-weight: 300; transition:color .3s;}
.ft-links a:hover {color:white;}
.ft-bottom { max-width: 1200px; margin: 0 auto; padding-top: 32px; border-top: 1px solid rgba(201,168,76,.2); display: flex; justify-content: space-between; flex-wrap:wrap; gap:16px;}
.ft-copy {font-size: 12px; color: rgba(255,255,255,.4); font-weight: 300;}
.txt-center { text-align: center; }

/* Nowe strony */
.pd-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; padding: 160px 40px 100px; max-width: 1200px; margin: 0 auto; }
.pd-content img { width: 100%; border-radius: 0; margin-bottom: 40px; object-fit: cover; border: 1px solid var(--border); }
.pd-content h1 { font-family: 'Fraunces', serif; font-size: 48px; font-weight: 300; margin-bottom: 32px; color: var(--g900); line-height: 1.1; letter-spacing: -1px; }
.pd-content p { font-size: 15px; line-height: 1.9; color: var(--muted); margin-bottom: 32px; font-weight: 300; }
.pd-content h3 { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 400; margin: 48px 0 24px; color: var(--g900); }
.pd-sidebar { position: sticky; top: 120px; background: transparent; padding: 40px; border-radius: 0; border: 1px solid var(--border); height: fit-content; }
.pd-sidebar h4 { font-size: 20px; margin-bottom: 32px; font-family: 'Fraunces', serif; font-weight: 400; color: var(--g900); }

.blog-header { text-align: center; padding: 180px 20px 80px; background: transparent; border-bottom: 1px solid var(--border); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto; padding: 100px 40px; }
.blog-card { border: 1px solid var(--border); border-radius: 0; overflow: hidden; text-decoration: none; color: inherit; transition: border-color 0.3s; display: block; background: transparent; }
.blog-card:hover { border-color: var(--g900); }
.blog-img { height: 260px; background: var(--g100); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.blog-body { padding: 32px; }
.blog-date { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--g500); margin-bottom: 12px; display: block; }
.blog-title { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 400; margin-bottom: 16px; color: var(--g900); line-height: 1.3; }
.blog-excerpt { font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; }

/* ── PROJECT DETAILS ── */
.pd-layout { max-width: 1200px; margin: 0 auto; padding: 120px 40px; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.pd-sidebar { border: 1px solid var(--border); padding: 48px; border-radius: 0; position: sticky; top: 100px; background: white; }
.pd-content h1 { font-family: 'Fraunces', serif; font-size: 48px; margin-bottom: 24px; letter-spacing: -1px; color: var(--g900); }
.pd-content h3 { font-family: 'Fraunces', serif; font-size: 28px; margin: 40px 0 24px; color: var(--g900); }
.pd-content p { font-size: 16px; color: var(--muted); margin-bottom: 24px; line-height: 1.8; }
.k-details { display: grid; gap: 16px; border-top: 1px solid var(--border); padding-top: 24px; }
.kd { display: flex; gap: 16px; align-items: center; }
.kd-icon { font-size: 24px; color: var(--g500); }
.kd-label { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.kd-val { font-size: 16px; font-weight: 400; color: var(--g900); }

/* ── FAQ ── */
.faq-layout { max-width: 800px; margin: 0 auto; padding: 120px 40px; }
.search-wrap { position: relative; margin-bottom: 40px; }
.search-wrap input { width: 100%; padding: 24px 24px 24px 64px; border: 1px solid var(--border); border-radius: 0; font-family: inherit; font-size: 16px; outline: none; transition: border-color .3s; }
.search-wrap input:focus { border-color: var(--g900); }
.search-icon { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; justify-content: center; }
.cat-btn { padding: 12px 24px; border: 1px solid var(--border); border-radius: 0; background: white; cursor: pointer; font-family: inherit; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: all .2s; }
.cat-btn.active { border-color: var(--g900); background: var(--g900); color: white; }
.cat-btn:hover:not(.active) { border-color: var(--g900); }
.faq-section { margin-bottom: 48px; }
.section-label { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 24px 0; font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 400; color: var(--g900); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-toggle { font-size: 24px; transition: transform .3s; color: var(--muted); }
.faq-item.open .faq-toggle { transform: rotate(45deg); color: var(--g900); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding-bottom: 24px; color: var(--muted); line-height: 1.8; font-size: 15px; }

/* ── MAPA REALIZACJI ── */
.rlz-map-section { max-width: 1280px; margin: 0 auto; padding: 0 40px 60px; }
.rlz-map-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; gap: 24px; }
.rlz-map-sub { font-size: 14px; color: var(--muted); margin-top: 8px; font-weight: 300; }
.rlz-map-legend { display: flex; gap: 20px; flex-shrink: 0; }
.rlz-legend-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: .5px; }
.rlz-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.rlz-dot--air { background: #C9A84C; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.rlz-dot--ground { background: #1a3d2b; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
#rlzMap { height: 520px; min-height: 320px; width: 100%; border: 1px solid var(--border); display: block; }
.leaflet-popup-content-wrapper { border-radius: 0 !important; box-shadow: 0 4px 24px rgba(0,0,0,.12) !important; border: 1px solid var(--border); }
.leaflet-popup-tip { display: none; }
.leaflet-popup-content { margin: 16px 18px !important; }
@media (max-width: 768px) {
  .rlz-map-section { padding: 0 20px 40px; }
  .rlz-map-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  #rlzMap { height: 360px; }
}

/* ── FILTER BAR ── */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 40px 0; padding: 0 40px; max-width: 1280px; margin-left: auto; margin-right: auto; }
.filter-btn { font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; padding: 10px 22px; border: 1px solid var(--border); background: white; color: var(--muted); cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
.filter-btn:hover { border-color: var(--g900); color: var(--g900); }
.filter-btn.active { background: var(--g900); color: white; border-color: var(--g900); }
.filter-hidden { display: none !important; }

/* ── CHECKBOXES ── */
.fe-radios { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fe-radios label { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); cursor: pointer; }
.fe-radios input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--g700); cursor: pointer; flex-shrink: 0; }

/* ── HORIZONTAL TIMELINE ── */
.timeline-h { display: flex; flex-direction: row; gap: 0; margin-top: 60px; max-width: 100%; border-top: 1px solid var(--border); }
.tlh-item { flex: 1; padding: 40px 32px; border-right: 1px solid var(--border); }
.tlh-item:last-child { border-right: none; }
.tlh-num { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 300; color: var(--g500); line-height: 1; margin-bottom: 20px; }
.tlh-title { font-size: 15px; font-family: 'Fraunces', serif; font-weight: 400; color: var(--g900); margin-bottom: 10px; }
.tlh-desc { font-size: 13px; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* ── SERVICE CARDS (compact 3-col) ── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.svc-card { background: white; border: 1px solid var(--border); display: flex; flex-direction: column; }
.svc-card:last-child { border-right: 1px solid var(--border); }
.svc-card-img { height: 220px; overflow: hidden; }
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.svc-card:hover .svc-card-img img { transform: scale(1.03); }
.svc-card-body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.svc-card-title { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 400; color: var(--g900); margin-bottom: 20px; }
.svc-card-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.svc-card-features li { font-size: 13px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.svc-card-features li::before { content: '→'; color: var(--g500); flex-shrink: 0; margin-top: 1px; }

/* ── RLZ TAG ── */
.rlz-tag { font-size: 11px; font-weight: 500; padding: 5px 14px; border: 1px solid var(--border); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ── OPINIE ── */
.op-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media(max-width:900px){ .op-grid{grid-template-columns:repeat(2,1fr); gap:24px;} }
@media(max-width:600px){ .op-grid{grid-template-columns:1fr; gap:20px;} }
.oc { border: 1px solid var(--border); padding: 48px; background: white; border-radius: 0; display: flex; flex-direction: column; }
.oc-stars { margin-bottom: 24px; font-size: 14px; letter-spacing: 2px; }
.oc-text { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 32px; flex: 1; font-weight: 300; }
.oc-author { display: flex; align-items: center; gap: 16px; margin-top: auto; }
.oc-av { width: 48px; height: 48px; border-radius: 50%; background: var(--g100); display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--g900); font-size: 14px; }
.oc-name { font-weight: 600; color: var(--g900); font-size: 14px; }
.oc-loc { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Responsywność */
@media (max-width: 1024px) {
  .hero-split { flex-direction: column; }
  .hs-text { padding: 120px 40px 60px; }
  .hs-img { min-height: 400px; }
  .hs-card { left: 40px; right: 40px; bottom: 40px; width: auto; }
  .services-list { gap: 60px; }
  .sl-item { flex-direction: column; gap: 40px; text-align: left; padding-bottom: 60px; }
  .sl-reverse { flex-direction: column; }
  .sl-img { width: 100%; height: 300px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-img { min-height: 400px; }
  .certs-gallery { grid-template-columns: repeat(2, 1fr); }
  .rlz-strip { flex-direction: column; }
  .rlz-strip-img { width: 100%; height: 260px; }
  .rlz-strip-info { padding: 32px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: none; border-bottom: 1px solid var(--border); }
  .timeline-h { flex-direction: column; border-top: none; }
  .tlh-item { border-right: none; border-top: 1px solid var(--border); padding: 28px 20px; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 60px; }
  .form-editorial { padding: 40px; }
  .pd-layout { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); padding: 60px 40px; gap: 24px; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .hamburger { display: flex; }
  .nav-links, .nav-links-desktop { display: none !important; }
  .hamburger { z-index: 9999; position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(8,8,8,.45); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
  .hamburger span { background: white; transition: background .3s; }
  nav.nav-scrolled .hamburger { background: rgba(8,8,8,.1); border: 1px solid rgba(8,8,8,.15); }
  nav.nav-scrolled .hamburger span { background: var(--g900); }
  .nav-cta { display: none; }
  .mobile-menu ul { list-style: none; padding: 0; margin: 0; }
  .mobile-menu li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .mobile-menu a { display: block; color: white; font-size: 22px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; padding: 20px 0; font-family: 'DM Sans', sans-serif; }
  .mobile-menu a:hover { color: #C9A84C; }
  .mobile-menu-close { display: block !important; width: 100%; text-align: right; background: none; border: none; color: rgba(255,255,255,.78); font-size: 32px; cursor: pointer; padding: 0 0 32px 0; line-height: 1; }
  .mobile-menu-close:hover { color: #C9A84C; }
  .sec-padding { padding: 80px 20px; }
  .filter-bar { padding: 0 20px; gap: 8px; }
  .filter-btn { font-size: 11px; padding: 8px 14px; }
  .fe-radios { grid-template-columns: 1fr; }
  .hero-title { font-size: 48px; }
  .hero-actions { flex-direction: column; gap: 16px; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; text-align: center; }
  .trust-bar-inner { flex-direction: column; align-items: flex-start; }
  .tl-item { gap: 24px; flex-direction: column; padding-bottom: 60px; }
  .tl-item::before { display: none; }
  .dot-grid { grid-template-columns: 1fr; gap: 40px; }
  .ope-quote { font-size: 100px; margin-top: 20px; }
  .ope-text { font-size: 20px; }
  .ft-top { grid-template-columns: 1fr; gap: 40px; }
  .ft-bottom { flex-direction: column; text-align: center; gap: 16px; }
  .chat-popup { width: calc(100% - 40px); bottom: 120px; right: 20px; height: 500px; }
  .chat-fab { right: 20px; bottom: 20px; }

  /* Blog / Realizacje grid → 1 kolumna na telefonie */
  .blog-grid { grid-template-columns: 1fr; padding: 40px 20px; gap: 24px; }
  .blog-img { height: 220px; }
  .blog-body { padding: 24px; }
  .blog-title { font-size: 20px; }

  /* Títuły sekcji mniejsze na telefonie */
  .stitle { font-size: 36px; letter-spacing: -0.5px; }

  /* Svc grid – już 1 kolumna od 1024px, doprecyzowanie */
  .svc-card-img { height: 180px; }
  .svc-card-body { padding: 24px; }

  /* Horizontal timeline → kompaktowy */
  .tlh-item { padding: 20px 16px; }
  .tlh-num { font-size: 28px; margin-bottom: 12px; }

  /* Certs */
  .certs-intro { grid-template-columns: 1fr; gap: 40px; }
  .certs-highlight { font-size: 28px; }
  .certs-nums { grid-template-columns: repeat(2, 1fr); }
  .cn-card { padding: 20px 16px; }
  .cn-val { font-size: 36px; }
  .certs-gallery { grid-template-columns: repeat(2, 1fr); }

  /* Kontakt */
  .form-editorial { padding: 24px 20px; }
  .fe-radios { grid-template-columns: 1fr; gap: 10px; }
  .checkbox-grid { grid-template-columns: 1fr !important; gap: 8px !important; }

  /* Hero split */
  .hero-split { flex-direction: column; min-height: auto; }
  .hs-text { padding: 120px 24px 48px; }
  .hs-img { min-height: 300px; }
  .hs-card { display: none; }
  .hero-title { font-size: 42px; letter-spacing: -1px; }

  /* Opinie */
  .ope-text { font-size: 18px; line-height: 1.7; }
}

/* Mobile menu */
.mobile-menu {
  display: block;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #080808;
  z-index: 9998;
  padding: 80px 40px 40px;
  overflow-y: auto;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}

/* =====================
   SCROLL REVEAL
   ===================== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; } }

/* =====================
   STICKY MOBILE CTA BAR
   ===================== */
.sticky-cta-bar {
  display: none; /* desktop: ukryty */
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--g900);
  padding: 12px 14px 18px; /* 18px bottom — safezone iPhone */
  align-items: center;
  gap: 8px;
  box-shadow: 0 -6px 32px rgba(0,38,25,.35);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.sticky-cta-bar.scb-visible {
  transform: translateY(0);
}
.scb-call {
  flex: 1;
  background: #C9A84C;
  color: #080808;
  text-decoration: none;
  padding: 13px 10px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: .3px;
  white-space: nowrap;
  transition: background .2s;
}
.scb-call:hover { background: #b8962e; }
.scb-quote {
  flex: 1;
  background: white;
  color: var(--g900);
  text-decoration: none;
  padding: 13px 10px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  transition: background .2s;
}
.scb-quote:hover { background: var(--g50); }
.scb-close {
  background: rgba(255,255,255,.12);
  border: none;
  color: rgba(255,255,255,.8);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  padding: 0;
  line-height: 1;
}
.scb-close:hover { background: rgba(255,255,255,.22); color: #fff; }

@media (max-width: 768px) {
  .sticky-cta-bar { display: flex; }
}

/* =====================
   CHECKBOX GRID (form)
   ===================== */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

/* =====================
   MOBILE REOPEN BUTTON
   ===================== */
.scb-reopen {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 9998;
  background: var(--g900);
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  box-shadow: 0 4px 20px rgba(0,38,25,.45);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .3s;
  opacity: 0;
}
.scb-reopen.scb-reopen-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 768px) {
  .scb-reopen { display: flex; }
}

/* =====================
   DESKTOP CONTACT FAB
   ===================== */
.desk-fab {
  display: none;
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 9999;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
@media (min-width: 769px) {
  .desk-fab { display: flex; }
}
.dfab-btn-main {
  width: 58px;
  height: 58px;
  border-radius: 0;
  background: var(--g900);
  border: 1px solid var(--g900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(0,38,25,.35);
  transition: background .25s, transform .2s;
  flex-shrink: 0;
}
.dfab-btn-main:hover { background: var(--g700); transform: scale(1.05); }

.dfab-popup {
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,38,25,.18);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 240px;
  transform-origin: bottom right;
  transform: scale(.85) translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s cubic-bezier(.4,0,.2,1), opacity .2s;
}
.desk-fab.open .dfab-popup {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.dfab-popup-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2px;
}
.dfab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  transition: background .15s;
  border-radius: 0;
  cursor: pointer;
}
.dfab-call {
  background: var(--g50);
  color: var(--g900);
  border: 1px solid var(--g100);
}
.dfab-call:hover { background: var(--g100); }
.dfab-mail {
  background: var(--g50);
  color: var(--g900);
  border: 1px solid var(--g100);
}
.dfab-mail:hover { background: var(--g100); }
.dfab-form {
  background: var(--g900);
  color: white;
  border: 1px solid var(--g900);
}
/* fix: CTA wewnątrz treści wpisu */
.article-body .article-cta h2, .article-body .article-cta p { color: #fff; }
.article-body .article-cta p { opacity: .65; }

.article-body .article-cta h2, .article-body .article-cta p { color: #fff !important; }
.article-body .blog-faq-q, .article-body .blog-faq-q p { text-align: left !important; margin: 0; display: flex; justify-content: space-between; align-items: center; width: 100%; }
.article-body .blog-faq-q p { display: contents; }
.article-body .blog-faq-a { text-align: left !important; }

.article-cta h2, .article-cta p { color: #fff !important; }

/* style spisu treści (dla nowych wpisów) */
.toc { background: #FAF6EC; border-left: 3px solid #C9A84C; padding: 24px 28px 20px; margin: 0 0 48px; }
.toc-title { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #C9A84C; margin-bottom: 14px; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { font-family: 'DM Sans', sans-serif; font-size: 14px; line-height: 1.6; margin-bottom: 6px; }
.toc li a { color: #080808; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.toc li a:hover { border-color: #C9A84C; color: #080808; }

/* FAQ przez standardowy blok Szczegóły (dla redaktorów bez HTML) */
.blog-faq .wp-block-details { border-bottom: 1px solid #E2D9C4; margin: 0; padding: 0; }
.blog-faq .wp-block-details summary { padding: 18px 0; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; color: #080808; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; text-align: left; }
.blog-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.blog-faq .wp-block-details summary::after { content: '+'; color: #C9A84C; font-size: 18px; flex-shrink: 0; }
.blog-faq .wp-block-details[open] summary::after { content: '\2212'; }
.blog-faq .wp-block-details > *:not(summary) { padding: 0 0 18px; font-family: 'DM Sans', sans-serif; font-size: 15px; line-height: 1.7; color: #444; margin: 0; }
.czytaj-tez p strong { display: block; font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #C9A84C; margin-bottom: 14px; }
.czytaj-tez p { margin: 0; }

/* Mapa: pinezki realizacji */
.eko-pin { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .15s; cursor: pointer; }
.eko-pin:hover { transform: scale(1.25); }
.eko-pin--air { background: rgba(201, 168, 76, .3); }
.eko-pin--ground { background: rgba(26, 61, 43, .3); }
.eko-pin span { display: block; width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.45); }
.eko-pin--air span { background: #C9A84C; }
.eko-pin--ground span { background: #1a3d2b; }

/* Leaflet: globalny max-width psuje pinezki */
#rlzMap .leaflet-pane * { max-width: none !important; max-height: none !important; }

.seo-text-local { background: var(--cream); border-top: 2px solid var(--border); }
.seo-text-local-inner { max-width: 1200px; margin: 0 auto; padding: 60px 40px 5px; }
.seo-text-local-inner h2 { font-family: 'Fraunces', serif; font-size: clamp(28px, 3.5vw, 40px); font-weight: 300; letter-spacing: -0.5px; margin: 40px 0 16px; color: #080808; }
.seo-text-local-inner h2:first-child { margin-top: 0; }
.seo-text-local-inner h3 { font-size: 20px; font-weight: 600; margin: 28px 0 12px; color: #080808; }
.seo-text-local-inner p { font-size: 15px; line-height: 1.8; color: #444; margin-bottom: 16px; }
.seo-text-local-inner ul { margin: 0 0 16px 20px; }
.seo-text-local-inner li { font-size: 15px; line-height: 1.8; color: #444; margin-bottom: 6px; }
.seo-text-local-inner strong { color: #080808; }
.seo-text-local-inner a { color: #C9A84C; text-decoration: underline; }
@media (max-width: 768px) {
  .seo-text-local-inner { padding: 60px 20px; }
}
body .why-local { background: white; }
/* Modal: Bezpłatna wycena */
.eko-modal-overlay { position: fixed; inset: 0; background: rgba(8,8,8,.65); z-index: 9999; display: none; align-items: flex-start; justify-content: center; padding: 60px 20px; overflow-y: auto; }
.eko-modal-overlay.active { display: flex; }
.eko-modal-box { background: #fff; max-width: 480px; width: 100%; padding: 36px 32px; position: relative; margin: auto 0; }
.eko-modal-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: none; background: transparent; font-size: 18px; cursor: pointer; color: var(--muted); }
.eko-modal-close:hover { color: var(--g900); }
body.eko-modal-open { overflow: hidden; }
@media (max-width: 600px) {
  .eko-modal-box { padding: 28px 20px; }
}