/*
Theme Name: ZARTEX
Theme URI: https://example.com/zartex
Author: ZARTEX
Description: Firmowy motyw WordPress dla ZARTEX: fixed header, centralne logo, menu z poziomami, wysuwane menu mobilne i stopka z widgetem menu.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: zartex
*/

:root {
  --z-red: #e30613;
  --z-black: #101010;
  --z-dark: #161616;
  --z-gray: #5d5d5d;
  --z-light: #f5f5f5;
  --z-white: #ffffff;
  --z-border: rgba(16, 16, 16, .10);
  --z-shadow: 0 18px 50px rgba(0, 0, 0, .13);
  --z-header: 104px;
  --z-header-small: 76px;
  --z-radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--z-black);
  background: var(--z-white);
  line-height: 1.55;
}
body.z-menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; }

.z-container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.z-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--z-header);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--z-border);
  transition: height .25s ease, box-shadow .25s ease, background .25s ease;
}
.z-site-header.is-scrolled {
  height: var(--z-header-small);
  box-shadow: var(--z-shadow);
  background: rgba(255, 255, 255, .98);
}
.admin-bar .z-site-header { top: 32px; }

.z-header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 34px;
  position: relative;
}

.z-brand {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transform: scale(1.1);
  transform-origin: center;
/*  transition: width .25s ease, transform .25s ease; */
  transition: all .25s ease;
  z-index: 4;
}
.z-site-header.is-scrolled .z-brand {
  width: 220px;
  transform: scale(0.8);
  transition: all .25s ease;
}
.z-brand img { display: block; width: 100%; }

.z-desktop-nav { display: flex; align-items: center; min-width: 0; }
.z-desktop-nav-left { grid-column: 1; justify-content: flex-end; }
.z-desktop-nav-right { grid-column: 3; justify-content: flex-start; }

.z-menu,
.z-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.z-menu-desktop {
  display: flex;
  align-items: center;
  justify-content: inherit;
  gap: clamp(12px, 1.4vw, 26px);
}
.z-menu .menu-item { position: relative; }
.z-menu-link-row { display: flex; align-items: center; }
.z-menu-desktop > .menu-item > .z-menu-link-row > a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 2px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--z-black);
  white-space: nowrap;
  transition: color .2s ease;
}
.z-menu a:hover,
.z-menu .current-menu-item > .z-menu-link-row > a,
.z-menu .current-menu-ancestor > .z-menu-link-row > a { color: var(--z-red); }

.z-menu-desktop .z-submenu-toggle {
  width: 18px;
  height: 18px;
  margin-left: 2px;
  border: 0;
  background: transparent;
  color: var(--z-red);
  font-weight: 900;
  cursor: default;
  pointer-events: none;
  line-height: 1;
  transform: translateY(-1px);
}
.z-menu-desktop .menu-item-has-children > .z-menu-link-row > .z-submenu-toggle::before { content: ""; }

.z-menu-desktop .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  padding: 10px;
  background: var(--z-white);
  border: 1px solid var(--z-border);
  border-radius: 16px;
  box-shadow: var(--z-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 30;
}
.z-desktop-nav-right .z-menu-desktop > .menu-item:last-child > .sub-menu,
.z-desktop-nav-right .z-menu-desktop > .menu-item:nth-last-child(2) > .sub-menu { left: auto; right: 0; }
.z-menu-desktop .sub-menu .sub-menu {
  top: -10px;
  left: calc(100% + 10px);
}
.z-desktop-nav-right .z-menu-desktop > .menu-item:last-child .sub-menu .sub-menu,
.z-desktop-nav-right .z-menu-desktop > .menu-item:nth-last-child(2) .sub-menu .sub-menu {
  left: auto;
  right: calc(100% + 10px);
}
.z-menu-desktop .menu-item:hover > .sub-menu,
.z-menu-desktop .menu-item:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.z-menu-desktop .sub-menu a {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--z-black);
  white-space: nowrap;
	width:100%;
}
.z-menu-desktop .sub-menu a:hover { background: var(--z-light); color: var(--z-red); width:100%;}
.z-menu-desktop .sub-menu .z-submenu-toggle { margin-left: auto; }

.z-burger {
  display: none;
  grid-column: 3;
  justify-self: end;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--z-black);
  cursor: pointer;
  position: relative;
  padding: 0;
}
.z-burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 3px;
  background: var(--z-white);
  border-radius: 3px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.z-burger span:nth-child(1) { top: 15px; }
.z-burger span:nth-child(2) { top: 23px; }
.z-burger span:nth-child(3) { top: 31px; }
.z-menu-open .z-burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.z-menu-open .z-burger span:nth-child(2) { opacity: 0; }
.z-menu-open .z-burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.z-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .50);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.z-menu-open .z-drawer-backdrop { opacity: 1; pointer-events: auto; }
.z-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  width: min(430px, 90vw);
  height: 100vh;
  background: var(--z-white);
  box-shadow: -20px 0 70px rgba(0,0,0,.22);
  transform: translateX(105%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}
.admin-bar .z-mobile-drawer { top: 32px; height: calc(100vh - 32px); }
.z-menu-open .z-mobile-drawer { transform: translateX(0); }
.z-drawer-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--z-border);
}
.z-drawer-logo img { width: 185px; display: block; }
.z-drawer-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--z-black);
  color: var(--z-white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.z-mobile-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 22px 20px;
}
.z-menu-mobile .menu-item { border-bottom: 1px solid var(--z-border); }
.z-menu-mobile .z-menu-link-row { align-items: stretch; }
.z-menu-mobile a {
  display: flex;
  align-items: center;
  min-height: 52px;
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--z-black);
}
.z-menu-mobile .sub-menu a {
  min-height: 44px;
  font-size: 14px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}
.z-menu-mobile .sub-menu .sub-menu a { padding-left: 18px; color: #303030; }
.z-menu-mobile .z-submenu-toggle {
  flex: 0 0 44px;
  width: 44px;
  border: 0;
  background: transparent;
  color: var(--z-red);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}
.z-menu-mobile .sub-menu {
  display: none;
  padding-left: 14px;
  border-left: 3px solid var(--z-red);
}
.z-menu-mobile .menu-item.is-open > .sub-menu { display: block; }
.z-menu-mobile .menu-item.is-open > .z-menu-link-row > .z-submenu-toggle { transform: rotate(45deg); }
.z-drawer-contact {
  flex: 0 0 auto;
  padding: 18px 22px 24px;
  border-top: 1px solid var(--z-border);
  background: var(--z-light);
}
.z-drawer-contact p { margin: 0 0 8px; color: var(--z-gray); }
.z-drawer-contact strong { color: var(--z-black); }

.z-main { padding-top: var(--z-header); }
.z-hero {
  min-height: calc(60vh - var(--z-header));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(227,6,19,.15), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f5f5f5 52%, #ededed 100%);
}
.z-hero:before {
  content: "";
  position: absolute;
  right: -120px;
  top: 110px;
  width: 520px;
  height: 520px;
  border: 70px solid rgba(16,16,16,.04);
  border-radius: 50%;
}
.z-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 56px;
  padding: 84px 0;
}
.z-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--z-red);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
}
.z-kicker:before {
  content: "";
  width: 42px;
  height: 3px;
  background: var(--z-red);
}
.z-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .95;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.z-hero h1 span { color: var(--z-red); }
.z-hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--z-gray);
  font-size: 18px;
}
.z-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.z-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px; 
 /* padding: 0 24px; */
  border-radius: 999px;
  background: var(--z-red);
  color: var(--z-white);
  font-weight: 900;
  border: 2px solid var(--z-red);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
width:300px;
}
.z-btn:hover { transform: translateY(-1px); }
.z-btn-outline { background: transparent; color: var(--z-red); }
.z-btn-outline:hover { background: var(--z-red); color: var(--z-white); }
.z-hero-card {
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px;
  border-radius: 34px;
  background: var(--z-white);
  box-shadow: var(--z-shadow);
  position: relative;
  overflow: hidden;
}
.z-hero-card:after {
  content: "";
  position: absolute;
  inset: auto -80px -130px auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(227,6,19,.10);
}
.z-hero-card img { width: min(360px, 82%); position: relative; z-index: 1; }
.z-stat-grid {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  z-index: 2;
}
.z-stat {
  padding: 14px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--z-border);
  text-align: center;
}
.z-stat strong { display: block; font-size: 22px; color: var(--z-red); line-height: 1; }
.z-stat span { display: block; margin-top: 4px; font-size: 12px; color: var(--z-white); font-weight: 800; text-transform: uppercase; }

.z-section { padding: 25px 0; }
.z-section-dark { background: var(--z-dark); color: var(--z-white); }
.z-section-head { max-width: 780px; margin-bottom: 34px; }
.z-section-head h2,
.z-split h2,
.z-cta h2 {
  margin: 0;
  font-size: clamp(22px, calc(4vw-10px), 44px);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.z-section-head p,
.z-split p,
.z-cta p { color: var(--z-gray); font-size: 17px; }
.z-section-dark .z-section-head p { color: rgba(255,255,255,.72); }
.z-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.z-card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius);
  background: var(--z-white);
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.z-card:hover { transform: translateY(-3px); box-shadow: var(--z-shadow); }
.z-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--z-black);
  color: var(--z-white);
  font-weight: 900;
  font-size: 22px;
}
.z-card h3 { margin: 0 0 10px; font-size: 24px; }
.z-card p { margin: 0; color: var(--z-gray); }
.z-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.z-step {
  padding: 26px;
  border-radius: var(--z-radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  counter-increment: step;
}
.z-step:before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 18px;
  color: var(--z-red);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}
.z-step h3 { margin: 0 0 8px; font-size: 22px; }
.z-step p { margin: 0; color: rgba(255,255,255,.72); }
.z-split { display: grid; grid-template-columns: .88fr 1.12fr; gap: 56px; align-items: center; }
.z-panel {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 34px;
  background: var(--z-black);
  overflow: hidden;
}
.z-panel img { width: min(330px, 86%); filter: drop-shadow(0 18px 40px rgba(0,0,0,.28)); }
.z-panel-slider { position: relative; min-height: 460px; }
.z-panel-slide {
  position: absolute;
 /* inset: 28px; */
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 26px;
  opacity: 0;
  transform: scale(.98);
  transition: opacity .45s ease, transform .45s ease;
  filter: none !important;
}
.z-panel-slide.is-active { opacity: 1; transform: scale(1); }
.z-list { padding: 0; margin: 26px 0 0; list-style: none; }
.z-list li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--z-border); font-weight: 800; }
.z-list li:before { content: ""; position: absolute; left: 0; top: 21px; width: 12px; height: 12px; background: var(--z-red); border-radius: 50%; }
.z-about-list { display: grid; gap: 10px; }
.z-about-list li {
  cursor: pointer;
  border: 1px solid var(--z-border);
  border-radius: 18px;
  padding: 16px 18px 16px 44px;
  background: var(--z-white);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.z-about-list li:before { left: 18px; top: 22px; }
.z-about-list li strong { display: block; font-size: 16px; line-height: 1.25; }
.z-about-list li span { display: block; margin-top: 6px; color: var(--z-gray); font-weight: 500; line-height: 1.55; }
.z-about-list li.is-active {
  background: linear-gradient(135deg, rgba(227,6,19,.12), rgba(0,0,0,.045));
  border-color: rgba(227,6,19,.32);
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
}
.z-about-list li.is-active:before { transform: scale(1.25); }
.z-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 33px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--z-black), #2b2b2b);
  color: var(--z-white);
}
.z-cta p { margin-bottom: 0; color: rgba(255,255,255,.76); }

.z-site-footer {
  background: #080808;
  color: var(--z-white);
  padding: 64px 0 0;
}
.z-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.z-footer-logo img { width: 250px; display: block; }
.z-footer-grid h3,
.z-footer-widget-title { margin: 0 0 16px; font-size: 17px; text-transform: uppercase; letter-spacing: .08em; }
.z-footer-grid p,
.z-footer-grid a { color: rgba(255,255,255,.76); }
.z-footer-grid a:hover { color: var(--z-white); }
.z-footer-widget ul { list-style: none; padding: 0; margin: 0; }
.z-footer-widget li { margin: 0 0 9px; }
.z-footer-widget .sub-menu { margin: 8px 0 0 14px; }
.z-footer-widget .sub-menu a { color: rgba(255,255,255,.58); font-size: 14px; }
.z-footer-hint { margin: 0; font-size: 14px; color: rgba(255,255,255,.62); }
.z-footer-bottom {
  margin-top: 46px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.56);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .z-menu-desktop { gap: 12px; }
  .z-menu-desktop > .menu-item > .z-menu-link-row > a { font-size: 12px; }
  .z-brand { width: 250px; }
  .z-site-header.is-scrolled .z-brand { width: 200px; }
}

@media (max-width: 980px) {
  :root { --z-header: 86px; --z-header-small: 70px; }
  .z-header-inner { grid-template-columns: 1fr auto; }
  .z-desktop-nav { display: none; }
  .z-brand { grid-column: 1; justify-self: start; width: 220px; transform: scale(1.1); }
  .z-site-header.is-scrolled .z-brand { width: 185px; transform: scale(0.8); }
  .z-burger { display: block; grid-column: 2; }
  .z-hero-grid,
  .z-split { grid-template-columns: 1fr; }
  .z-hero-card { min-height: 360px; }
  .z-cards,
  .z-process,
  .z-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .z-container { width: min(100% - 28px, 1240px); }
  .z-brand { width: 190px; }
  .z-site-header.is-scrolled .z-brand { width: 165px; }
  .z-hero h1 { font-size: 40px; }
  .z-hero-grid { padding: 54px 0; gap: 34px; }
  .z-hero-card { min-height: 320px; padding: 30px; }
  .z-stat-grid { grid-template-columns: 1fr; position: static; width: 100%; margin-top: 22px; }
  .z-hero-card { flex-direction: column; }
  .z-cards,
  .z-process,
  .z-footer-grid { grid-template-columns: 1fr; }
  .z-section { padding: 25px 0; }
  .z-cta { align-items: flex-start; flex-direction: column; padding: 30px; }
  .z-mobile-drawer { width: 94vw; }
}

@media (max-width: 782px) {
  .admin-bar .z-site-header { top: 46px; }
  .admin-bar .z-mobile-drawer { top: 46px; height: calc(100vh - 46px); }
}

/* ZARTEX v1.2 poprawki układu */
.z-site-header {
  height: 126px;
}
.z-site-header.is-scrolled {
  height: 86px;
}
.z-header-inner {
  grid-template-columns: minmax(0, 1fr) 380px minmax(0, 1fr);
  column-gap: 44px;
}
.z-brand {
  width: 360px;
  transform: scale(1.1);
  align-self: center;
}
.z-site-header.is-scrolled .z-brand {
  width: 270px;
  transform: scale(0.8);
}
.z-desktop-nav {
  width: 100%;
  align-self: center;
}
.z-desktop-nav-left .z-menu-desktop,
.z-desktop-nav-right .z-menu-desktop {
  width: 100%;
  justify-content: space-evenly;
  gap: clamp(16px, 2vw, 34px);
}
.z-menu-desktop > .menu-item > .z-menu-link-row > a {
  font-size: 14px;
  letter-spacing: .07em;
}
.z-menu-desktop > .menu-item.contact > .z-menu-link-row > a,
.z-menu-desktop > .menu-item.z-contact > .z-menu-link-row > a {
  min-height: 42px;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--z-red);
  border: 2px solid var(--z-red);
  color: var(--z-white);
  box-shadow: 0 12px 28px rgba(227, 6, 19, .20);
}
.z-menu-desktop > .menu-item.contact > .z-menu-link-row > a:hover,
.z-menu-desktop > .menu-item.z-contact > .z-menu-link-row > a:hover:hover {
  background: var(--z-black);
  border-color: var(--z-black);
  color: var(--z-white);
}
.z-main { padding-top: 126px; }
.z-site-header.is-scrolled + .z-drawer-backdrop + .z-mobile-drawer + .z-main { padding-top: 86px; }

.z-cards {
  align-items: stretch;
}
.z-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.z-card-bg {
  min-height: 315px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--z-white);
  background-size: cover;
  background-position: center;
  border: 0;
}
.z-card-bg:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
 /* background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.70) 64%, rgba(0,0,0,.88) 100%); */
	background: rgba(0, 0, 0, 0.2);
}

.z-card-link {
  position: absolute;
  inset: 0;
  z-index: 4;
}
.z-card-bg h3,
.z-card-bg p,
.z-card-bg .z-card-icon {
  position: relative;
  z-index: 2;
}
.z-card-bg h3 { color: var(--z-white); }
.z-card-bg p { color: rgba(255,255,255,.86); }
.z-card-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--z-red);
  color: var(--z-white);
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}
.z-card-icon svg,
.z-step-icon svg,
.z-stat-icon svg {
  width: 35px;
  height: 100%;
  display: block;
  fill: currentColor;
}
.z-card-balloons {
  background:
    radial-gradient(circle at 20% 34%, rgba(227,6,19,.95) 0 8%, transparent 8.5%),
    radial-gradient(circle at 42% 25%, rgba(255,255,255,.86) 0 7%, transparent 7.5%),
    radial-gradient(circle at 66% 36%, rgba(227,6,19,.78) 0 9%, transparent 9.5%),
    radial-gradient(circle at 58% 58%, rgba(255,255,255,.72) 0 8%, transparent 8.5%),
    linear-gradient(135deg, #171717 0%, #2a2a2a 52%, #0f0f0f 100%) !important;
}
.z-card-balloons:before {
  background:
    linear-gradient(115deg, rgba(0,0,0,.15), rgba(0,0,0,.82)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(255,255,255,.05) 43px 44px);
}
.z-card-balloons:after {
  opacity: .9;
  background:
    linear-gradient(120deg, transparent 0 43%, rgba(227,6,19,.44) 44% 46%, transparent 47% 100%);
}

.z-stat strong { display: none; }
.z-stat-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--z-black);
  color: var(--z-white);
  margin-bottom: 8px;
}
.z-stat:nth-child(2) .z-stat-icon {
  background: transparent;
  color: var(--z-red);
}
.z-stat:nth-child(3) .z-stat-icon {
  background: rgba(255, 83, 93,1);
  color: transparent;
}
.z-step {
  position: relative;
  overflow: hidden;
}
.z-step:before {
  content: none;
}
.z-step-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
/*  background: rgba(227,6,19,.14);
  color: var(--z-red);
  border: 1px solid rgba(227,6,19,.28);
	*/
	  background: rgba(255,255,255,.10);
  color: var(--z-white);
  border-color: rgba(255,255,255,.18);
}
.z-step:nth-child(even) .z-step-icon {
  background: rgba(255,255,255,.10);
  color: var(--z-white);
  border-color: rgba(255,255,255,.18);
}

@media (max-width: 1320px) {
  .z-header-inner { grid-template-columns: minmax(0, 1fr) 320px minmax(0, 1fr); column-gap: 28px; }
  .z-brand { width: 310px; }
  .z-site-header.is-scrolled .z-brand { width: 240px; }
  .z-menu-desktop > .menu-item > .z-menu-link-row > a { font-size: 13px; }
}

@media (max-width: 1120px) {
  .z-header-inner { grid-template-columns: minmax(0, 1fr) 260px minmax(0, 1fr); column-gap: 18px; }
  .z-brand { width: 255px; }
  .z-site-header.is-scrolled .z-brand { width: 210px; }
  .z-desktop-nav-left .z-menu-desktop,
  .z-desktop-nav-right .z-menu-desktop { gap: 10px; }
  .z-menu-desktop > .menu-item > .z-menu-link-row > a { font-size: 12px; }
}

@media (max-width: 980px) {
  :root { --z-header: 86px; --z-header-small: 70px; }
  .z-site-header { height: var(--z-header); }
  .z-site-header.is-scrolled { height: var(--z-header-small); }
  .z-main { padding-top: var(--z-header); }
  .z-header-inner { grid-template-columns: 1fr auto; }
  .z-brand { width: 220px; }
  .z-site-header.is-scrolled .z-brand { width: 185px; }
  .z-mobile-nav { max-height: calc(100vh - 180px); overflow-y: auto; }
}

.z-section-action {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.z-btn-light {
    background: #fff;
    color: #0b0b0d;
    border-color: #fff;
}

.z-btn-light:hover {
    background: var(--z-red);
    border-color: var(--z-red);
    color: #fff;
}

/* ZARTEX v3.1: edytowalne ikonki/tła + poprawki menu/stat */
.z-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.z-stat > span:not(.z-stat-icon) {
  display: block;
  margin-top: 0;
  font-size: 12px;
  color: var(--z-gray);
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}
.z-stat-icon {
  margin: 0 auto 8px;
}
.z-stat-icon svg {
  margin: auto;
}
.z-menu-desktop > .menu-item.contact > .z-menu-link-row.contact > a,
.z-menu-desktop > .menu-item.z-contact > .z-menu-link-row.contact > a {
  min-height: 42px;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--z-red);
  border: 2px solid var(--z-red);
  color: var(--z-white);
  box-shadow: 0 12px 28px rgba(227, 6, 19, .20);
}
.z-menu-desktop > .menu-item.contact > .z-menu-link-row.contact > a:hover,
.z-menu-desktop > .menu-item.z-contact > .z-menu-link-row.contact > a:hover {
  background: var(--z-black);
  border-color: var(--z-black);
  color: var(--z-white);
}
.z-menu-mobile > .menu-item.contact > .z-menu-link-row > a,
.z-menu-mobile > .menu-item.z-contact > .z-menu-link-row > a {
  margin: 10px 14px;
  justify-content: center;
  border-radius: 999px;
  background: var(--z-red);
  color: var(--z-white);
}


/* ZARTEX menu layout fix: left nav / centered logo / right nav in one row */
@media (min-width: 981px) {
  .z-site-header {
    height: 108px;
    overflow: visible;
  }

  .z-site-header.is-scrolled {
    height: 82px;
  }

  .z-header-inner {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(260px, 24vw, 380px) minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    column-gap: clamp(22px, 3vw, 54px);
  }

  .z-desktop-nav,
  .z-brand {
    grid-row: 1;
    min-width: 0;
  }

  .z-desktop-nav-left {
    grid-column: 1;
    justify-content: stretch;
  }

  .z-brand {
    grid-column: 2;
    justify-self: center;
    align-self: center;
    width: clamp(260px, 23vw, 360px);
    max-width: 100%;
  }

  .z-site-header.is-scrolled .z-brand {
    width: clamp(210px, 18vw, 280px);

  }

  .z-brand img,
  .z-brand-img {
    display: block;
    width: 100%;
    max-height: 72px;
    object-fit: contain;
  }

  .z-site-header.is-scrolled .z-brand img,
  .z-site-header.is-scrolled .z-brand-img {
    max-height: 54px;
  }

  .z-desktop-nav-right {
    grid-column: 3;
    justify-content: stretch;
  }

  .z-desktop-nav-left .z-menu-desktop,
  .z-desktop-nav-right .z-menu-desktop {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: clamp(10px, 1.5vw, 28px);
  }

  .z-menu-desktop > .menu-item > .z-menu-link-row > a {
    font-size: clamp(12px, .9vw, 14px);
    letter-spacing: .065em;
  }

  .z-menu-desktop > .menu-item.contact > .z-menu-link-row > a,
  .z-menu-desktop > .menu-item.z-contact > .z-menu-link-row > a {
    min-height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--z-red);
    border: 2px solid var(--z-red);
    color: var(--z-white);
    box-shadow: 0 12px 28px rgba(227, 6, 19, .20);
  }

  .z-menu-desktop > .menu-item.contact > .z-menu-link-row > a:hover,
  .z-menu-desktop > .menu-item.z-contact > .z-menu-link-row > a:hover {
    background: var(--z-black);
    border-color: var(--z-black);
    color: var(--z-white);
  }

  .z-main {
    padding-top: 108px;
  }

  .z-site-header.is-scrolled + .z-drawer-backdrop + .z-mobile-drawer + .z-main {
    padding-top: 82px;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .z-header-inner {
    grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1fr);
    column-gap: 16px;
  }

  .z-brand,
  .z-site-header.is-scrolled .z-brand {
    width: 240px;
  }

  .z-menu-desktop > .menu-item > .z-menu-link-row > a {
    font-size: 11px;
    letter-spacing: .045em;
  }
}
.text12345
{
	width:auto!important;
padding:0!important;
    border-radius: 999px;
    background: transparent;
    color: var(--z-red);
    border: 2px solid var(--z-red);
    box-shadow: 0 12px 28px rgba(227, 6, 19, .20);
margin:0!important;
	box-shadow:unset;
	transition: transform .2s ease, background .2s ease, color .2s ease;
}
.text12345:hover {
    background: var(--z-red);
    color: var(--z-white);
}
.text12345 a 
{
	display:block!important;
    padding: 4px 19px!important;
width:100%!important;
	margin:0!important;
}

h1
{
    font-size:clamp(22px, 3vw, 44px);
	margin: 0;
    line-height: .95;
    letter-spacing: -.05em;
    text-transform: uppercase;
width:100%;
}
.page-id-7 .h1
{
    font-size: clamp(42px, 6vw, 82px);
}

.breadcrumbs__separator
{
	color: var(--z-red);
}

.hr-breadcrumbs
{
	border: 1.5px solid var(--z-red);
}



.text12345
{
	width:auto!important;
padding:0!important;
    border-radius: 999px;
    background: transparent;
    color: var(--z-red);
    border: 2px solid var(--z-red);
    box-shadow: 0 12px 28px rgba(227, 6, 19, .20);
margin:0!important;
	box-shadow:unset;
	transition: transform .2s ease, background .2s ease, color .2s ease;
}
.text12345:hover {
    background: var(--z-red);
    color: var(--z-white);
}
.text12345 a 
{
	display:block!important;
    padding: 4px 19px!important;
width:100%!important;
	margin:0!important;
}
.contact-z path
{
	    fill:  var(--z-red);
}
.contact-z svg
{
	margin-right:5px;
}


/* Formularz */
.wpcf7-form {
  max-width: 100%;
  margin: 30px auto;
  padding: 32px;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  font-family: inherit;
}

.wpcf7-form p {
  margin: 0 0 18px;
}

.wpcf7-form label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  line-height: 1.4;
}

.wpcf7-form-control-wrap {
  margin-top: 7px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 15px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  background: #ffffff;
  color: #333333;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.wpcf7-form textarea {
  min-height: 160px;
  resize: vertical;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #777777;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(120, 120, 120, 0.18);
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #999999;
}

.wpcf7-form .wpcf7-acceptance {
  display: inline-block;
}

.wpcf7-form .wpcf7-list-item {
  margin: 0;
}

.wpcf7-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0 8px 0 0;
  vertical-align: middle;
  accent-color: #555555;
  cursor: pointer;
}

.wpcf7-form a {
  color: #444444;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wpcf7-form a:hover {
  color: #000000;
}

.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit {
  display: inline-block;
  width: auto !important;
  padding: 4px 19px !important;
  margin: 0 !important;
  border-radius: 999px;
  background: transparent;
  color: var(--z-red);
  border: 2px solid var(--z-red);
  box-shadow: unset;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover {
  background: var(--z-red);
  color: var(--z-white);
  box-shadow: unset;
  transform: none;
}

.wpcf7-form input[type="submit"]:active,
.wpcf7-form .wpcf7-submit:active {
  transform: none;
  box-shadow: unset;
}

.wpcf7-form input[type="submit"]:disabled,
.wpcf7-form .wpcf7-submit:disabled {
  background: transparent;
  color: var(--z-red);
  border: 2px solid var(--z-red);
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: unset;
  transform: none;
}

.wpcf7-not-valid {
  border-color: #c62828 !important;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12) !important;
}

.wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #c62828;
  font-size: 13px;
  font-weight: 500;
}

.wpcf7-response-output {
  margin: 18px 0 0 !important;
  padding: 13px 15px !important;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #2e7d32 !important;
  background: #eef8ef;
  color: #2e7d32;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #c62828 !important;
  background: #fff1f1;
  color: #c62828;
}

.wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}
.hidden-fields-container
{
	display:none!important;
}
@media (max-width: 768px) {
  .wpcf7-form {
    margin: 20px 10px;
    padding: 22px;
    border-radius: 10px;
  }

  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form textarea {
    font-size: 16px;
  }
}
/* formularz koniec */
.contact-z {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-z__item {
  font-size: 15px;
  line-height: 1.5;
}

.contact-z__item svg {
  width: 15px;
  height: 15px;
  margin-right: 6px;
  vertical-align: -2px;
}

.contact-z__item svg,
.contact-z__item svg *,
.contact-z__item svg path,
.contact-z__item svg g {
  fill: #ff0000 !important;
  color: #ff0000 !important;
}

.contact-z__item a {
  color: inherit;
  text-decoration: none;
}

.contact-z__item a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-z {
    grid-template-columns: 1fr;
  }
}
.button{
display: block;
    padding: 4px 19px !important;
    border-radius: 999px;
    background: transparent;
    color: var(--z-red);
    border: 2px solid var(--z-red);
    box-shadow: unset;
    transition: transform .2s ease, background .2s ease, color .2s ease;
    text-decoration: none !important;
    width: 50%;
    margin: 5px auto;
    text-align: center;
}

.button:hover {
    background: var(--z-red);
    color: var(--z-white);
}
