:root{
  --blue:#2d2b91;
  --text:#111;
  --muted:#555;
  --line:#d8d8d8;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:"Roboto","Arial",sans-serif;
  color:var(--text);
  background:#fff;
  font-size:16px;
  font-weight:400;
}

a{color:inherit}

.site-header{
  height:72px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  border-bottom:0;
  position:sticky;
  top:0;
  z-index:50;
}

.header-inner{
  width:100%;
  max-width:1220px;
  display:flex;
  align-items:center;
  gap:34px;
  padding:0 20px;
}

.logo img{
  display:block;
  width:145px;
  height:auto;
}

.main-menu{
  display:flex;
  align-items:center;
  gap:28px;
  flex:1;
  font-size:15px;
  font-weight:700;
  text-transform:uppercase;
  white-space:nowrap;
  letter-spacing:.2px;
}

.main-menu a{
  text-decoration:none;
  color:#111;
}

.main-menu a.active{
  background:var(--blue);
  color:#fff;
  padding:21px 15px;
}

.lang-switch{
  display:flex;
  gap:10px;
  align-items:center;
}

.lang-switch img{
  width:17px;
  height:auto;
  display:block;
}

.home-hero{
  min-height:410px;
  display:grid;
  grid-template-columns:37% 63%;
}

.home-hero-text{
  background:var(--blue);
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:42px;
  font-size:27px;
  line-height:1.42;
  font-weight:300;
}

.home-hero-text .sep{
  width:180px;
  height:1px;
  background:#fff;
  opacity:.85;
  margin:24px 0;
}

.home-hero-text small{
  display:block;
  font-size:25px;
  line-height:1.55;
  font-weight:300;
}

.home-hero-media{
  position:relative;
  overflow:hidden;
  background:#ddd;
}

.home-hero-media video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.section-title{
  text-align:center;
  font-size:28px;
  font-weight:400;
  margin:46px 0 38px;
}

.wide-photo{
  position:relative;
  height:280px;
  overflow:hidden;
}

.wide-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.photo-card{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(560px,80%);
  background:rgba(255,255,255,.86);
  text-align:center;
  padding:28px 25px;
  font-size:25px;
}

.photo-card .btn{
  display:inline-block;
  background:var(--blue);
  color:#fff;
  font-size:11px;
  text-decoration:none;
  padding:9px 18px;
  margin-top:13px;
}

.two-col{
  max-width:1180px;
  margin:0 auto 60px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:95px;
  align-items:center;
  padding:0 14px;
}

.two-col img{
  width:100%;
  height:290px;
  object-fit:cover;
}

.link-list{
  text-align:center;
  font-size:17px;
  line-height:2.35;
}

.link-list ul{
  padding:0;
  margin:0;
  list-style:none;
}

.page-wrap{
  max-width:1180px;
  margin:90px auto 70px;
  padding:0 24px;
}

.page-title{
  font-size:36px;
  letter-spacing:13px;
  font-weight:400;
  margin:0 0 20px;
}

.title-line{
  border-top:1px solid #111;
  margin-bottom:30px;
}

.breadcrumb{
  color:#222;
  margin-bottom:55px;
  font-size:15px;
}

.page-content{
  font-size:17px;
  line-height:1.75;
}

.page-content img{
  max-width:100%;
  height:auto;
}

.page-content a{
  color:var(--blue);
}

.site-footer{
  padding:60px 20px 35px;
  text-align:center;
  color:#555;
  font-size:12px;
}

.footer-logo img{
  width:95px;
  height:auto;
  margin-bottom:14px;
}

.footer-grid{
  max-width:650px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:start;
}

.footer-contact-title{
  display:inline-block;
  background:var(--blue);
  color:#fff;
  padding:11px 20px;
  margin-bottom:13px;
  font-size:15px;
}

.footer-bottom{
  margin-top:35px;
}

.footer-bottom a{
  text-decoration:none;
  color:#111;
  margin:0 14px;
}

@media(max-width:1100px){
  .main-menu{
    gap:16px;
    font-size:13px;
  }

  .logo img{
    width:125px;
  }
}

@media(max-width:900px){
  .site-header{
    height:auto;
    position:relative;
  }

  .header-inner{
    flex-wrap:wrap;
    padding:15px;
  }

  .main-menu{
    order:3;
    width:100%;
    gap:14px;
    flex-wrap:wrap;
  }

  .main-menu a.active{
    padding:8px 10px;
  }

  .home-hero{
    grid-template-columns:1fr;
  }

  .home-hero-media{
    height:280px;
  }

  .two-col{
    grid-template-columns:1fr;
    gap:25px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:25px;
  }

  .page-title{
    font-size:29px;
    letter-spacing:6px;
  }
}

.subpage-hero{
  width:100%;
  height:280px;
  overflow:hidden;
  margin-top:-10px;
  margin-bottom:55px;
}

.subpage-hero img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.page-wrap-content{
  margin-top:55px;
}

.subpage-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 360px;
  gap:80px;
  align-items:start;
}

.subpage-single{
  max-width:900px;
}

.page-content{
  font-size:16px;
  line-height:1.7;
  color:#222;
}

.page-content strong{
  font-size:25px;
  line-height:1.45;
  font-weight:400;
  color:#111;
}

.page-content p{
  margin:0 0 22px;
}

.page-content ul{
  margin-top:35px;
  padding-left:22px;
}

.page-content li{
  margin:7px 0;
}

.child-links{
  padding-top:2px;
  font-size:18px;
  line-height:1.45;
}

.child-links a{
  display:block;
  color:#111;
  text-decoration:none;
  margin-bottom:25px;
}

.child-links a:hover{
  color:var(--blue);
}

@media(max-width:900px){
  .subpage-hero{height:210px}
  .subpage-grid{grid-template-columns:1fr;gap:30px}
}

/* ESG fix */
body .page-content img[src*="pdf"],
body .page-content img[src*="PDF"],
body .page-content img[alt*="PDF"],
body .page-content img[alt*="pdf"]{
  width:24px !important;
  height:24px !important;
  max-width:24px !important;
  object-fit:contain !important;
}

.esg-content{
  max-width:920px;
  margin:0 auto;
  font-size:16px;
}

.esg-content h2{
  font-size:30px;
  font-weight:400;
  margin:0 0 35px;
}

.pdf-list{
  display:flex;
  flex-direction:column;
  gap:28px;
  margin-bottom:80px;
}

.pdf-list a{
  display:inline-flex;
  align-items:center;
  gap:16px;
  color:#2d2b91;
  text-decoration:none;
  font-size:16px;
}

.pdf-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:32px;
  background:#2d2b91;
  color:#fff;
  font-size:9px;
  font-weight:700;
  border-radius:2px;
}

.esg-note{
  max-width:850px;
  color:#555;
  line-height:1.6;
}

.esg-note a{
  color:#2d2b91;
  font-weight:700;
  text-decoration:none;
}

/* ESG dokładniej jak oryginał */
.subpage-hero{
  height:280px;
  margin-top:-10px;
  margin-bottom:85px;
}

.esg-content{
  max-width:920px;
  margin:0 auto;
}

.esg-content h2{
  font-size:28px;
  font-weight:400;
  margin:0 0 38px;
}

.pdf-list{
  display:flex;
  flex-direction:column;
  gap:32px;
  margin-bottom:95px;
}

.pdf-list a{
  display:inline-flex;
  align-items:center;
  gap:16px;
  color:#2d2b91;
  text-decoration:none;
  font-size:16px;
}

.pdf-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:32px;
  background:#2d2b91;
  color:#fff;
  font-size:9px;
  font-weight:700;
  border-radius:2px;
}

.esg-note{
  max-width:920px;
  color:#555;
  line-height:1.65;
  font-size:15px;
}

.esg-note a{
  color:#2d2b91;
  font-weight:700;
  text-decoration:none;
}

/* GLOBAL MENU FIX - większe menu jak oryginał */
.site-header{
  height:82px !important;
  min-height:82px !important;
  background:#fff !important;
  border-bottom:0 !important;
}

.header-inner{
  max-width:1320px !important;
  padding:0 22px !important;
  gap:34px !important;
  align-items:center !important;
}

.logo img{
  width:150px !important;
  max-width:150px !important;
  height:auto !important;
}

.main-menu{
  gap:30px !important;
  font-size:15px !important;
  font-weight:700 !important;
  letter-spacing:.25px !important;
  line-height:1 !important;
  align-items:center !important;
}

.main-menu a{
  color:#111 !important;
  text-decoration:none !important;
  padding:0 !important;
}

.main-menu a.active{
  background:#2d2b91 !important;
  color:#fff !important;
  padding:25px 17px !important;
}

.lang-switch{
  gap:10px !important;
  margin-left:10px !important;
}

.lang-switch img{
  width:17px !important;
  height:auto !important;
}

/* żeby tytuł strony nie podchodził za wysoko po powiększeniu menu */
.page-wrap{
  margin-top:92px !important;
}

body:has(.home-hero) .page-wrap{
  margin-top:0 !important;
}

@media(max-width:1200px){
  .header-inner{
    max-width:1180px !important;
    gap:24px !important;
  }

  .main-menu{
    gap:20px !important;
    font-size:14px !important;
  }

  .logo img{
    width:135px !important;
  }
}

@media(max-width:900px){
  .site-header{
    height:auto !important;
  }

  .header-inner{
    flex-wrap:wrap !important;
    padding:16px !important;
  }

  .main-menu{
    width:100% !important;
    order:3 !important;
    flex-wrap:wrap !important;
    gap:14px !important;
  }

  .main-menu a.active{
    padding:10px 12px !important;
  }
}

/* CONTACT MODULE */
.page-wrap-contact{
  margin-top:40px !important;
}

.contact-accordion{
  max-width:820px;
  margin:0 auto 55px;
}

.contact-item{
  border-bottom:1px solid #dcdcdc;
}

.contact-title{
  width:100%;
  border:0;
  background:#fff;
  text-align:left;
  cursor:pointer;
  color:#111;
  font-size:15px;
  font-weight:700;
  padding:13px 0;
}

.contact-title:before{
  content:"▸";
  display:inline-block;
  margin-right:11px;
  font-size:11px;
  color:#111;
}

.contact-item.open .contact-title:before{
  content:"▾";
}

.contact-body{
  display:none;
  text-align:center;
  padding:18px 0 30px;
  color:#111;
}

.contact-item.open .contact-body{
  display:block;
}

.contact-person{
  margin-bottom:25px;
}

.contact-person h3{
  font-size:22px;
  font-weight:400;
  margin:10px 0 6px;
}

.contact-person h4{
  font-size:18px;
  font-weight:700;
  margin:0 0 8px;
}

.contact-person p{
  margin:7px 0;
  font-size:16px;
  line-height:1.55;
}

.contact-person a{
  color:#2d2b91;
  text-decoration:none;
}

.contact-person .flag{
  width:16px;
  height:auto;
  margin-left:4px;
  vertical-align:middle;
}

.empty-contact{
  color:#777;
  font-size:14px;
}

.contact-photo{
  max-width:820px;
  margin:50px auto 360px;
}

.contact-photo img{
  width:100%;
  height:auto;
  display:block;
}

.contact-extra{
  max-width:820px;
  margin:0 auto 40px;
}

.contact-company{
  font-size:13px;
  line-height:1.55;
  color:#555;
  margin-bottom:25px;
}

.contact-extra h2{
  font-size:22px;
  margin:30px 0 25px;
}

.contact-form textarea{
  width:100%;
  min-height:185px;
  border:1px solid #ddd;
  resize:vertical;
  padding:15px;
  font-family:Arial, sans-serif;
}

.contact-rodo{
  font-size:12px;
  color:#555;
  line-height:1.55;
}

@media(max-width:900px){
  .contact-photo{
    margin-bottom:80px;
  }
}

/* Contact EN/PL completeness */
.contact-photo{
  max-width:820px !important;
  margin:50px auto 70px !important;
}

.contact-photo img{
  width:100% !important;
  height:auto !important;
  display:block !important;
  margin:0 !important;
}

.contact-photo img + img{
  margin-top:0 !important;
}

.contact-extra{
  max-width:820px !important;
}

.contact-rodo a{
  color:#2d2b91 !important;
  font-weight:700 !important;
  text-decoration:none !important;
}

/* Kontakt - poprawne zdjęcia i brak dziwnych odstępów */
.contact-photo{
  max-width:820px !important;
  margin:50px auto 70px !important;
}

.contact-photo img{
  width:100% !important;
  height:auto !important;
  display:block !important;
  margin:0 !important;
}

.contact-photo img + img{
  margin-top:0 !important;
}

/* Powiększone logo i menu */
.site-header{
  height:110px !important;
  min-height:110px !important;
}

.header-inner{
  max-width:1480px !important;
  gap:42px !important;
  padding:0 24px !important;
}

.logo img{
  width:300px !important;
  max-width:300px !important;
}

.main-menu{
  gap:34px !important;
  font-size:21px !important;
  font-weight:800 !important;
  letter-spacing:.25px !important;
}

.main-menu a.active{
  padding:39px 22px !important;
}

.lang-switch img{
  width:22px !important;
}

@media(max-width:1400px){
  .logo img{
    width:240px !important;
  }

  .main-menu{
    gap:24px !important;
    font-size:17px !important;
  }

  .main-menu a.active{
    padding:36px 18px !important;
  }
}

@media(max-width:1100px){
  .site-header{
    height:auto !important;
  }

  .logo img{
    width:190px !important;
  }

  .main-menu{
    width:100% !important;
    order:3 !important;
    flex-wrap:wrap !important;
    gap:16px !important;
    font-size:15px !important;
  }

  .main-menu a.active{
    padding:10px 14px !important;
  }
}

/* HEADER - powrót do rozmiaru jak oryginał */
.site-header{
  height:58px !important;
  min-height:58px !important;
}

.header-inner{
  max-width:1180px !important;
  gap:26px !important;
  padding:0 18px !important;
  align-items:center !important;
}

.logo img{
  width:145px !important;
  max-width:145px !important;
  height:auto !important;
}

.main-menu{
  gap:24px !important;
  font-size:13px !important;
  font-weight:700 !important;
  letter-spacing:.1px !important;
  line-height:1 !important;
}

.main-menu a{
  padding:0 !important;
}

.main-menu a.active{
  padding:20px 14px !important;
  background:#2d2b91 !important;
  color:#fff !important;
}

.lang-switch{
  gap:9px !important;
  margin-left:auto !important;
}

.lang-switch img{
  width:16px !important;
  height:auto !important;
}

.page-wrap{
  margin-top:80px !important;
}

@media(max-width:1100px){
  .site-header{
    height:auto !important;
  }

  .header-inner{
    flex-wrap:wrap !important;
    padding:14px !important;
  }

  .logo img{
    width:130px !important;
  }

  .main-menu{
    width:100% !important;
    order:3 !important;
    flex-wrap:wrap !important;
    gap:14px !important;
    font-size:13px !important;
  }

  .main-menu a.active{
    padding:10px 12px !important;
  }
}

/* HEADER +35% względem oryginału */
.site-header{
  height:78px !important;
  min-height:78px !important;
}

.header-inner{
  max-width:1320px !important;
  gap:32px !important;
  padding:0 22px !important;
}

.logo img{
  width:196px !important;
  max-width:196px !important;
  height:auto !important;
}

.main-menu{
  gap:30px !important;
  font-size:18px !important;
  font-weight:700 !important;
  letter-spacing:.1px !important;
}

.main-menu a.active{
  padding:27px 19px !important;
}

.lang-switch img{
  width:18px !important;
}

@media(max-width:1200px){
  .logo img{
    width:170px !important;
  }

  .main-menu{
    gap:20px !important;
    font-size:15px !important;
  }

  .main-menu a.active{
    padding:22px 15px !important;
  }
}

/* HERO tekst jak oryginał + języki odsunięte od menu */
.home-hero-text{
  font-size:27px !important;
  line-height:1.45 !important;
  font-weight:300 !important;
  letter-spacing:.2px !important;
}

.home-hero-text small{
  font-size:25px !important;
  line-height:1.55 !important;
  font-weight:300 !important;
}

.home-hero-text .sep{
  width:180px !important;
  margin:24px 0 !important;
}

/* języki oddzielone od menu jak w oryginale */
.lang-switch{
  margin-left:55px !important;
  padding-left:18px !important;
  gap:10px !important;
  display:flex !important;
  align-items:center !important;
}

.lang-switch img{
  width:17px !important;
  height:auto !important;
}

/* menu bez przyklejenia do flag */
.main-menu{
  flex:0 1 auto !important;
}

/* header zostaje w rozmiarze zbliżonym do oryginału */
.site-header{
  height:58px !important;
  min-height:58px !important;
}

.logo img{
  width:145px !important;
  max-width:145px !important;
}

.main-menu{
  font-size:13px !important;
  gap:24px !important;
}

.main-menu a.active{
  padding:20px 14px !important;
}

@media(max-width:1100px){
  .lang-switch{
    margin-left:0 !important;
    padding-left:0 !important;
  }

  .home-hero-text{
    font-size:24px !important;
  }

  .home-hero-text small{
    font-size:22px !important;
  }
}

/* PDF icons fix */
.page-content img[src*="pdf"],
.page-content img[src*="PDF"],
.page-content img[src*="-pdf"],
.page-content img[src*="_pdf"],
.page-content figure:has(img[src*="pdf"]),
.page-content figure:has(img[src*="PDF"]),
.page-content object[type="application/pdf"],
.page-content embed[type="application/pdf"],
.page-content iframe[src*=".pdf"]{
  display:none !important;
}

.pdf-list,
.quality-pdfs{
  display:flex !important;
  flex-direction:column !important;
  gap:22px !important;
  margin:35px 0 60px !important;
}

.pdf-list a,
.quality-pdfs a{
  display:inline-flex !important;
  align-items:center !important;
  gap:14px !important;
  color:#2d2b91 !important;
  text-decoration:none !important;
  font-size:16px !important;
  line-height:1.2 !important;
}

.pdf-icon{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:28px !important;
  height:32px !important;
  min-width:28px !important;
  background:#2d2b91 !important;
  color:#fff !important;
  font-size:8px !important;
  font-weight:700 !important;
  border-radius:2px !important;
  letter-spacing:.3px !important;
}

.quality-content .lead strong{
  font-size:22px !important;
  line-height:1.45 !important;
  font-weight:700 !important;
}

.btn-small{
  display:inline-block !important;
  background:#2d2b91 !important;
  color:#fff !important;
  padding:10px 18px !important;
  text-decoration:none !important;
  font-size:14px !important;
}

.quality-diagram{
  text-align:center !important;
  margin:70px auto 20px !important;
}

.quality-diagram img{
  max-width:760px !important;
  width:100% !important;
  height:auto !important;
  display:inline-block !important;
}
