:root{
  --red:#c9111c;
  --red-dark:#9d0e17;
  --red-soft:#fbe9eb;
  --black:#070707;
  --ink:#141414;
  --text:#2b2b2b;
  --muted:#666b73;
  --line:#dfe3e8;
  --line-strong:#cfd5dc;
  --bg:#f3f4f6;
  --bg-soft:#eef1f4;
  --white:#fff;
  --radius:22px;
  --radius-sm:16px;
  --shadow:0 18px 50px rgba(0,0,0,.09);
  --shadow-soft:0 10px 30px rgba(0,0,0,.06);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Arial,Helvetica,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top right, rgba(201,17,28,.03), transparent 20%),
    linear-gradient(180deg,#f5f6f8 0%, #f0f2f5 100%);
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1180px,calc(100% - 38px));margin:auto}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:linear-gradient(180deg,#0a0a0a,#050505);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 12px 34px rgba(0,0,0,.24);
}
.nav{height:82px;display:flex;align-items:center;gap:28px}
.logo img{height:54px;width:auto}
.menu{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:26px;
  color:#fff;
  font-size:14px;
  font-weight:700;
}
.menu a{opacity:.9;position:relative}
.menu a:hover,.menu a.active{opacity:1}
.menu a.active:after,.menu a:hover:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-10px;
  height:2px;
  background:var(--red);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:12px;
  padding:14px 20px;
  border:1px solid transparent;
  font-weight:800;
  cursor:pointer;
  transition:.22s ease;
  background:var(--red);
  color:#fff;
  box-shadow:0 12px 28px rgba(201,17,28,.22);
}
.btn:hover{background:var(--red-dark);transform:translateY(-1px)}
.btn.outline{
  background:#fff;
  color:var(--ink);
  border-color:#d4d8de;
  box-shadow:none;
}
.btn.outline:hover{border-color:var(--red);color:var(--red);background:#fff}
.mobile-btn{
  display:none;
  margin-left:auto;
  background:transparent;
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  border-radius:10px;
  padding:10px 12px;
  font-size:22px;
}

.hero{
  position:relative;
  overflow:hidden;
  background:#eceff2;
  border-bottom:1px solid var(--line);
}
.hero:before{
  content:"";
  position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.92),rgba(255,255,255,.86) 45%,rgba(255,255,255,.6)),
    url('../img/o-firmie-Elzit.webp') center/cover no-repeat;
}
.hero:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg,rgba(201,17,28,.06),transparent 22%),
    linear-gradient(0deg,rgba(7,7,7,.08),transparent 20%),
    repeating-linear-gradient(115deg,transparent 0 48px, rgba(0,0,0,.02) 48px 49px);
  pointer-events:none;
}
.hero .container{position:relative;z-index:1}
.hero-main{min-height:650px;padding:76px 0 54px;text-align:center}
.eyebrow{
  color:var(--red);
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:900;
  margin-bottom:12px;
}
.hero h1,.page-hero h1{
  font-size:clamp(36px,5vw,68px);
  line-height:1.04;
  margin:0 0 18px;
  color:#111;
  letter-spacing:-.04em;
}
.hero p.lead,.page-hero p.lead{
  font-size:18px;
  max-width:760px;
  margin:0 auto 28px;
  color:#40454c;
}

.choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:44px;text-align:left}
.choice{
  min-height:330px;
  border-radius:var(--radius);
  overflow:hidden;
  position:relative;
  background:#111;
  color:#fff;
  box-shadow:var(--shadow);
  border:1px solid rgba(0,0,0,.08);
  isolation:isolate;
}
.choice:before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.34));
  z-index:1;
}
.choice:after{
  content:"";
  position:absolute;left:0;right:0;top:0;height:4px;
  background:linear-gradient(90deg,var(--red),rgba(255,255,255,.16));
  z-index:4;
}
.choice.elektro{background:url('../img/elzit-elektroenergetyka-1-2.jpg') center/cover no-repeat}
.choice.rozdzielnice{background:url('../img/R_Przemysl_3.jpg') center/cover no-repeat}
.choice.echogram{
  background:
    radial-gradient(circle at 73% 40%,rgba(201,17,28,.45),transparent 0 18%,rgba(0,0,0,.15) 19% 20%,transparent 21%),
    linear-gradient(135deg,#181818,#0b0b0b);
}
.choice.echogram .sonar{
  position:absolute;right:22px;top:40px;
  width:170px;height:170px;border-radius:50%;
  background:repeating-radial-gradient(circle,rgba(201,17,28,.28) 0 2px,transparent 3px 18px);
  filter:drop-shadow(0 0 20px rgba(201,17,28,.30));
  z-index:0;
}
.choice-content{position:absolute;z-index:3;inset:auto 26px 24px 26px}
.choice-icon{
  width:58px;height:58px;border:2px solid var(--red);
  border-radius:50%;display:grid;place-items:center;
  color:var(--red);font-size:28px;margin-bottom:72px;
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
}
.choice h2{font-size:30px;margin:0 0 8px;color:#fff;letter-spacing:-.02em}
.choice p{margin:0 0 20px;color:#ececec}

.section{padding:74px 0}
.section.light{
  background:linear-gradient(180deg,#eef1f4 0%, #f5f7f9 100%);
  border-top:1px solid rgba(255,255,255,.9);
  border-bottom:1px solid rgba(215,220,226,.8);
}
.section.dark{background:#080808;color:#fff}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}
.section-title{margin:0;font-size:clamp(28px,3vw,42px);letter-spacing:-.035em;line-height:1.1;color:#111}
.dark .section-title{color:#fff}
.section-desc{max-width:530px;color:#666b73;margin:0}
.dark .section-desc{color:#bdbdbd}

.pillar-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.pillar{
  display:grid;grid-template-columns:42% 1fr;
  background:#fff;border:1px solid var(--line);
  border-radius:20px;overflow:hidden;box-shadow:var(--shadow-soft);
  position:relative;
}
.pillar:before{
  content:"";
  position:absolute;left:0;right:0;top:0;height:4px;
  background:linear-gradient(90deg,var(--red),transparent 78%);
}
.pillar img{height:100%;min-height:250px;object-fit:cover}
.pillar-body{padding:34px}
.pillar h3{font-size:28px;margin:0 0 12px;color:#111}
.check-list{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:9px}
.check-list li{position:relative;padding-left:26px}
.check-list li:before{content:"✓";position:absolute;left:0;top:0;color:var(--red);font-weight:900}

.features{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.feature{
  padding:26px;background:#fff;border:1px solid var(--line);
  border-radius:18px;min-height:150px;box-shadow:var(--shadow-soft);
  position:relative;overflow:hidden;
}
.feature:before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:4px;
  background:linear-gradient(180deg,var(--red),rgba(201,17,28,.15));
}
.feature .ico{font-size:34px;color:var(--red);margin-bottom:12px}
.feature h3{margin:0 0 6px;font-size:18px;color:#111}
.feature p{margin:0;color:#666;font-size:14px}

.offer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.offer-card{
  background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;min-height:135px;
  transition:.2s;box-shadow:var(--shadow-soft);
}
.offer-card:hover{transform:translateY(-3px);box-shadow:0 18px 36px rgba(0,0,0,.08);border-color:#f0b7bc}
.offer-card .mini{width:42px;height:42px;border-radius:12px;background:#fff1f2;color:var(--red);display:grid;place-items:center;font-size:24px;margin-bottom:14px}
.offer-card h3{margin:0 0 6px;color:#111;font-size:17px}
.offer-card p{margin:0;color:#666;font-size:14px}

.logos{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;align-items:stretch}
.logo-tile{
  min-height:94px;border:1px solid var(--line);border-radius:18px;background:#fff;
  display:flex;align-items:center;justify-content:center;padding:18px 20px;
  box-shadow:var(--shadow-soft);
  filter:grayscale(1);
  opacity:.82;
  transition:.22s ease;
}
.logo-tile:hover{filter:none;opacity:1;transform:translateY(-2px)}
.logo-tile img{
  width:auto;
  max-width:150px;
  max-height:40px;
  object-fit:contain;
}

.contact-strip{
  background:linear-gradient(180deg,#ffffff,#fbfbfc);
  border:1px solid var(--line-strong);
  border-radius:22px;padding:28px;
  display:grid;grid-template-columns:1.3fr .8fr .8fr auto;gap:22px;align-items:center;
  box-shadow:0 18px 44px rgba(0,0,0,.05);
}
.contact-strip h3{font-size:24px;margin:0;color:#111}
.contact-strip p{margin:4px 0 0;color:#666}
.contact-item{font-weight:800;color:#111}

.footer{
  background:
    linear-gradient(180deg,rgba(255,255,255,.02),transparent),
    linear-gradient(180deg,#090909,#040404);
  color:#fff;
  padding:50px 0 24px;
  border-top:4px solid var(--red);
}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:34px}
.footer img{height:52px;width:auto;margin-bottom:16px}
.footer h4{margin:0 0 12px}
.footer p,.footer a{color:#bfbfbf;font-size:14px}
.footer a:hover{color:#fff}
.footer-links{display:grid;gap:8px}
.footer-bottom{
  margin-top:30px;padding-top:20px;
  border-top:1px solid rgba(255,255,255,.1);
  display:flex;justify-content:space-between;color:#888;font-size:13px
}

.page-hero{
  position:relative;padding:96px 0 72px;overflow:hidden;
  background:#eef1f4;border-bottom:1px solid var(--line);
}
.page-hero:before{
  content:"";position:absolute;inset:0;opacity:.25;
  background:var(--bg) center/cover no-repeat;
}
.page-hero:after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.92) 0 54%, rgba(255,255,255,.72) 78%, rgba(255,255,255,.55) 100%),
    linear-gradient(135deg,rgba(201,17,28,.05),transparent 25%);
}
.page-hero .container{position:relative;z-index:1}
.page-hero .lead{margin-left:0}

.split{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center}
.card,
.service,
.job,
.num,
.form-panel,
.offer-card{
  background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px;box-shadow:var(--shadow-soft)
}
.text-block h2{font-size:38px;letter-spacing:-.035em;line-height:1.1;margin:0 0 16px;color:#111}
.text-block p{color:#555}
.image-card{border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}
.image-card img{height:420px;width:100%;object-fit:cover}
.service-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.service{position:relative;overflow:hidden}
.service:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--red),transparent 75%)}
.service h3{margin:0 0 8px;color:#111}
.service p{margin:0;color:#666}
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.gallery img{height:230px;width:100%;object-fit:cover;border-radius:18px;border:1px solid var(--line);box-shadow:var(--shadow-soft)}
.jobs{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.job h3{font-size:24px;margin:0 0 12px;color:#111}
.job ul{padding-left:18px;color:#555}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-grid .full{grid-column:1/-1}
input,select,textarea{
  width:100%;border:1px solid #d5dae1;border-radius:12px;padding:15px 16px;font:inherit;background:#fff
}
input:focus,select:focus,textarea:focus{
  outline:none;border-color:#df7a82;box-shadow:0 0 0 4px rgba(201,17,28,.08)
}
textarea{min-height:140px}
.small{font-size:13px;color:#777}
.badge-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.badge{display:inline-flex;border-radius:999px;padding:8px 12px;background:#fff1f2;color:var(--red);font-weight:800;font-size:13px}
.numbers{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.num strong{font-size:40px;color:var(--red);display:block;line-height:1}
.num span{color:#555}
.map-placeholder{
  min-height:340px;border-radius:22px;
  background:linear-gradient(135deg,#121212,#2a2a2a);position:relative;overflow:hidden;box-shadow:var(--shadow)
}
.map-placeholder:before{
  content:"";position:absolute;inset:0;
  background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size:32px 32px
}
.map-placeholder:after{
  content:"Budowlanych 4c, 84-200 Wejherowo";
  position:absolute;left:28px;bottom:28px;color:#fff;background:var(--red);padding:14px 18px;border-radius:12px;font-weight:800
}
.echogram-visual{
  min-height:420px;border-radius:24px;
  background:
    radial-gradient(circle at 50% 42%,rgba(201,17,28,.86),rgba(201,17,28,.18) 12%,transparent 13%),
    repeating-radial-gradient(circle at 50% 42%,rgba(201,17,28,.14) 0 2px,transparent 3px 34px),
    linear-gradient(180deg,#111,#050505);
  position:relative;overflow:hidden;box-shadow:var(--shadow)
}
.echogram-visual:before{
  content:"";position:absolute;left:-20%;right:-20%;bottom:-20%;height:52%;
  background:repeating-linear-gradient(90deg,rgba(255,255,255,.08) 0 1px,transparent 1px 30px),linear-gradient(180deg,transparent,rgba(201,17,28,.18));
  transform:perspective(700px) rotateX(58deg);transform-origin:top
}
.echogram-visual:after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 45%, rgba(255,255,255,.03) 70%, transparent 100%);
}
.cta-dark{
  border-radius:24px;
  background:linear-gradient(135deg,#111,#060606);
  color:#fff;padding:46px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  box-shadow:var(--shadow)
}
.cta-dark h2{margin:0;font-size:34px}
.cta-dark p{margin:8px 0 0;color:#bbb}
.source-note{font-size:12px;color:#777;margin-top:16px}

@media(max-width:980px){
  .menu{display:none;position:absolute;left:0;right:0;top:82px;background:#060606;padding:20px;flex-direction:column;align-items:flex-start}
  .menu.open{display:flex}
  .mobile-btn{display:block}
  .choice-grid,.features,.offer-grid,.logos,.numbers{grid-template-columns:repeat(2,1fr)}
  .pillar-grid,.split,.jobs{grid-template-columns:1fr}
  .contact-strip{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .hero-main{min-height:unset}
  .pillar{grid-template-columns:1fr}
  .pillar img{height:240px}
  .nav .btn{display:none}
}

@media(max-width:640px){
  .container{width:min(100% - 28px,1180px)}
  .nav{height:72px}
  .logo img{height:42px}
  .menu{top:72px}
  .hero h1,.page-hero h1{font-size:36px}
  .choice-grid,.features,.offer-grid,.logos,.numbers,.service-list,.gallery,.form-grid{grid-template-columns:1fr}
  .choice{min-height:280px}
  .section{padding:54px 0}
  .section-head{display:block}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{display:block}
  .page-hero{padding:70px 0 48px}
  .cta-dark{display:block;padding:30px}
  .cta-dark .btn{margin-top:20px}
  .image-card img{height:280px}
}

/* === V3: rebuilt premium header + corrected cards === */
.topbar{
  background:rgba(7,7,7,.88);
  backdrop-filter:blur(18px) saturate(1.35);
  -webkit-backdrop-filter:blur(18px) saturate(1.35);
  border-bottom:1px solid rgba(255,255,255,.09);
  box-shadow:0 18px 55px rgba(0,0,0,.28);
  overflow:visible;
}
.topbar-glow{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 12% 50%, rgba(201,17,28,.28), transparent 18%),
    linear-gradient(90deg, rgba(201,17,28,.08), transparent 38%, rgba(255,255,255,.03));
  opacity:.82;
}
.nav-pro{
  position:relative;
  height:84px;
  gap:18px;
}
.logo-pro{
  position:relative;
  display:flex;
  align-items:center;
  min-width:178px;
  padding:8px 12px 8px 0;
}
.logo-pro:after{
  content:"";
  position:absolute;
  left:-16px;right:0;bottom:8px;height:1px;
  background:linear-gradient(90deg,rgba(201,17,28,.7),transparent);
}
.logo-pro img{
  height:50px;
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.45));
}
.menu-pro{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:6px;
  padding:7px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 30px rgba(0,0,0,.22);
}
.menu-pro>a,
.menu-pro .drop-trigger{
  height:42px;
  display:flex;
  align-items:center;
  gap:6px;
  padding:0 15px;
  border-radius:999px;
  color:#f6f6f6;
  opacity:.88;
  font-size:13px;
  font-weight:800;
  letter-spacing:.01em;
  position:relative;
  white-space:nowrap;
}
.menu-pro>a:after,
.menu-pro .drop-trigger:after{display:none!important}
.menu-pro>a:hover,
.menu-pro>a.active,
.nav-drop:hover .drop-trigger,
.nav-drop.active .drop-trigger{
  opacity:1;
  background:rgba(255,255,255,.09);
  color:#fff;
}
.menu-pro>a.active,
.nav-drop.active .drop-trigger{
  background:linear-gradient(180deg,rgba(201,17,28,.95),rgba(146,10,17,.95));
  box-shadow:0 10px 22px rgba(201,17,28,.22);
}
.nav-drop{position:relative;display:flex;align-items:center}
.drop-trigger span{font-size:14px;transform:translateY(-1px)}
.drop-panel{
  position:absolute;
  top:calc(100% + 18px);
  left:50%;
  transform:translate(-50%,8px);
  width:335px;
  padding:10px;
  background:rgba(10,10,10,.96);
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  box-shadow:0 24px 70px rgba(0,0,0,.42);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:.18s ease;
  z-index:80;
}
.drop-panel:before{
  content:"";
  position:absolute;
  top:-7px;left:50%;
  width:14px;height:14px;
  transform:translateX(-50%) rotate(45deg);
  background:#0a0a0a;
  border-left:1px solid rgba(255,255,255,.12);
  border-top:1px solid rgba(255,255,255,.12);
}
.nav-drop:hover .drop-panel,
.nav-drop:focus-within .drop-panel{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translate(-50%,0);
}
.drop-panel a{
  display:block;
  padding:14px 16px;
  border-radius:14px;
  color:#fff;
  border:1px solid transparent;
}
.drop-panel a:hover,
.drop-panel a[aria-current="page"]{
  background:rgba(255,255,255,.07);
  border-color:rgba(201,17,28,.45);
}
.drop-panel strong{display:block;font-size:14px;line-height:1.15}
.drop-panel small{display:block;color:#aeb3ba;margin-top:5px;font-size:12px}
.header-cta{
  flex:0 0 auto;
  height:56px;
  padding:0 20px 0 22px;
  border-radius:16px;
  box-shadow:0 16px 34px rgba(201,17,28,.28), inset 0 1px 0 rgba(255,255,255,.18);
}
.cta-arrow{
  width:28px;height:28px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(255,255,255,.12);
}

.hero-main{padding-top:86px}
.choice{
  min-height:360px;
  overflow:hidden;
  display:flex;
}
.choice-content{
  position:relative;
  inset:auto;
  z-index:3;
  min-height:100%;
  width:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:28px 28px 26px;
}
.choice-icon{
  margin-bottom:auto;
}
.choice .btn{
  align-self:flex-start;
  margin-top:4px;
}
.choice h2{line-height:1.08}
.choice p{max-width:96%}
.choice:hover{
  transform:translateY(-4px);
  box-shadow:0 26px 70px rgba(0,0,0,.18);
}
.choice{transition:.24s ease}
.choice:hover:before{background:linear-gradient(90deg,rgba(0,0,0,.64),rgba(0,0,0,.28))}
.choice.echogram{
  background:url('../img/echogram-hero.svg') center/cover no-repeat;
}
.page-hero[style*="linear-gradient"]:before{
  background:url('../img/echogram-hero.svg') center/cover no-repeat;
  opacity:.32;
}
.logo-tile{
  overflow:hidden;
}
.logo-tile img{
  display:block;
  width:auto!important;
  height:auto!important;
  max-width:155px!important;
  max-height:42px!important;
  margin:auto;
}

@media(max-width:1180px){
  .menu-pro>a,.menu-pro .drop-trigger{padding:0 12px;font-size:12.5px}
  .logo-pro{min-width:160px}
  .header-cta{padding:0 16px}
}
@media(max-width:980px){
  .nav-pro{height:76px}
  .logo-pro{min-width:auto}
  .logo-pro img{height:44px}
  .mobile-btn{display:block;position:relative;z-index:90;margin-left:auto}
  .menu-pro{
    display:none;
    position:absolute;
    left:0;right:0;top:76px;
    margin:0;
    padding:14px;
    border-radius:0 0 22px 22px;
    background:rgba(7,7,7,.98);
    border:1px solid rgba(255,255,255,.1);
    border-top:0;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }
  .menu-pro.open{display:flex}
  .menu-pro>a,.menu-pro .drop-trigger{
    height:48px;
    justify-content:space-between;
    border-radius:14px;
    padding:0 16px;
    font-size:14px;
  }
  .nav-drop{display:block}
  .drop-panel{
    position:static;
    transform:none!important;
    width:100%;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    margin-top:8px;
    box-shadow:none;
    background:rgba(255,255,255,.045);
  }
  .drop-panel:before{display:none}
  .header-cta{display:none!important}
  .choice{min-height:330px}
}
@media(max-width:640px){
  .nav-pro{height:72px}
  .choice{min-height:340px}
  .choice-content{padding:24px 22px}
  .choice-icon{width:52px;height:52px;font-size:24px}
}


/* === ELZIT v4: header WOW + pierwotny układ strony głównej === */
:root{--header-h:92px;--glass:rgba(10,10,10,.82)}
.topbar{position:sticky;top:0;z-index:100;background:radial-gradient(circle at 18% 0%, rgba(201,17,28,.26), transparent 28%),linear-gradient(180deg,rgba(18,18,18,.96),rgba(5,5,5,.94));backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.10);box-shadow:0 22px 60px rgba(0,0,0,.30)}
.topbar:before{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(201,17,28,.95),transparent)}
.nav{height:var(--header-h);gap:22px}.logo{display:flex;align-items:center;min-width:150px}.logo img{height:56px;filter:drop-shadow(0 10px 18px rgba(0,0,0,.32))}
.menu{gap:7px;padding:7px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.045);border-radius:999px;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.menu a{opacity:1;padding:10px 13px;border-radius:999px;color:#f2f2f2;font-size:13px;white-space:nowrap;transition:.2s ease}.menu a.active,.menu a:hover{background:#fff;color:#111}.menu a.active:after,.menu a:hover:after{display:none}.nav>.btn{border-radius:999px;padding:14px 19px;white-space:nowrap;background:linear-gradient(135deg,#e01827,#9d0e17);box-shadow:0 14px 34px rgba(201,17,28,.32), inset 0 1px 0 rgba(255,255,255,.25)}.mobile-btn{border-radius:999px;width:46px;height:46px;display:none;align-items:center;justify-content:center}
.hero.home-hero{min-height:720px;display:flex;align-items:center;background:#f1f3f6;border-bottom:1px solid var(--line)}.hero.home-hero:before{background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.92) 46%,rgba(255,255,255,.42) 100%),url('../img/o-firmie-Elzit.webp') right center/cover no-repeat}.hero.home-hero:after{background:radial-gradient(circle at 75% 35%,rgba(201,17,28,.18),transparent 20%),repeating-linear-gradient(115deg,transparent 0 52px, rgba(0,0,0,.035) 52px 53px)}
.home-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(360px,.86fr);gap:48px;align-items:center;padding:72px 0}.home-hero-copy{text-align:left}.home-hero-copy h1{font-size:clamp(42px,5.4vw,78px);line-height:.98;letter-spacing:-.055em;margin:0 0 22px;color:#101010}.home-hero-copy h1 span{color:var(--red)}.home-hero-copy .lead{margin:0 0 30px;max-width:680px;font-size:19px;color:#3d424a}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:30px}.hero-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:680px}.proof-card{background:rgba(255,255,255,.82);border:1px solid rgba(210,216,224,.9);border-radius:18px;padding:17px 18px;box-shadow:0 16px 38px rgba(0,0,0,.06);backdrop-filter:blur(8px)}.proof-card strong{display:block;color:#111;font-size:22px;line-height:1}.proof-card span{display:block;color:#666b73;font-size:13px;margin-top:6px}
.hero-panel{background:linear-gradient(180deg,rgba(15,15,15,.92),rgba(5,5,5,.96));border:1px solid rgba(255,255,255,.12);border-radius:30px;padding:18px;box-shadow:0 32px 80px rgba(0,0,0,.28);position:relative;overflow:hidden}.hero-panel:before{content:"";position:absolute;right:-20%;top:-20%;width:70%;height:70%;background:radial-gradient(circle,rgba(201,17,28,.32),transparent 64%)}.hero-panel img{height:360px;width:100%;object-fit:cover;border-radius:22px;position:relative;z-index:1}.hero-panel-row{position:relative;z-index:2;margin-top:14px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.hero-panel-chip{color:#fff;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:16px}.hero-panel-chip strong{display:block;font-size:14px}.hero-panel-chip span{display:block;color:#c9c9c9;font-size:12px;margin-top:4px}
.division-strip{margin-top:-46px;position:relative;z-index:4}.division-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.division-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 18px 52px rgba(0,0,0,.10);position:relative;overflow:hidden}.division-card:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,var(--red),transparent)}.division-card .mini{width:48px;height:48px;border-radius:16px;background:#fff1f2;color:var(--red);display:grid;place-items:center;font-size:26px;margin-bottom:16px}.division-card h3{margin:0 0 8px;color:#111;font-size:23px}.division-card p{margin:0 0 18px;color:#666b73}.division-card a{font-weight:900;color:var(--red)}
.theme-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow-soft)}.theme-card img{height:280px;width:100%;object-fit:cover}.theme-card .theme-body{padding:28px}.theme-card h3{margin:0 0 10px;font-size:27px;color:#111}.theme-card p{margin:0;color:#666b73}.image-card.theme-image{background:#111}.image-card.theme-image img{object-fit:cover;background:#111}
@media(max-width:1100px){.menu{gap:4px}.menu a{padding:9px 10px;font-size:12px}}
@media(max-width:980px){.mobile-btn{display:flex}.menu{display:none;position:absolute;top:var(--header-h);left:18px;right:18px;border-radius:22px;padding:14px;background:rgba(8,8,8,.96);flex-direction:column;align-items:stretch}.menu.open{display:flex}.menu a{border-radius:14px;padding:13px 14px}.home-hero-grid{grid-template-columns:1fr;padding:56px 0 86px}.hero-panel{max-width:620px}.division-grid{grid-template-columns:1fr}.division-strip{margin-top:-34px}}
@media(max-width:640px){:root{--header-h:76px}.logo img{height:42px}.hero.home-hero{min-height:auto}.home-hero-grid{padding:46px 0 76px}.home-hero-copy h1{font-size:40px}.hero-proof{grid-template-columns:1fr}.hero-panel img{height:240px}.hero-panel-row{grid-template-columns:1fr}}


/* === ELZIT v5 final polish === */
:root{--header-h:88px;--red:#c9111c;--red-dark:#9d0e17;--ink:#111;--line:#dfe3e8}
body{background:linear-gradient(180deg,#f4f5f7,#eef1f4)}
.topbar{position:sticky;top:0;z-index:100;height:var(--header-h);background:radial-gradient(circle at 14% -20%,rgba(201,17,28,.28),transparent 32%),linear-gradient(180deg,rgba(15,15,15,.98),rgba(5,5,5,.96));border-bottom:1px solid rgba(255,255,255,.10);box-shadow:0 18px 50px rgba(0,0,0,.28);backdrop-filter:blur(16px)}
.topbar:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(201,17,28,.9),transparent)}
.nav{height:var(--header-h)!important;display:flex;align-items:center;gap:18px}
.logo{flex:0 0 150px;display:flex;align-items:center}.logo img{height:52px!important;width:auto;max-width:150px;object-fit:contain}
.menu{flex:1 1 auto;min-width:0;margin-left:0!important;display:flex;justify-content:center;align-items:center;gap:5px!important;padding:7px!important;border-radius:999px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.1)}
.menu a{display:inline-flex;align-items:center;min-height:38px;padding:9px 11px!important;border-radius:999px;color:#f5f5f5;font-size:12.5px!important;font-weight:800;line-height:1;white-space:nowrap;opacity:1!important;transition:.18s ease}.menu a:hover,.menu a.active{background:#fff;color:#111}.menu a:after{display:none!important}
.nav>.btn{flex:0 0 auto;border-radius:999px;padding:13px 17px!important;white-space:nowrap;background:linear-gradient(135deg,#e31b2a,#9d0e17);box-shadow:0 14px 34px rgba(201,17,28,.32),inset 0 1px 0 rgba(255,255,255,.24)}
.mobile-btn{display:none;border-radius:999px;width:46px;height:46px;align-items:center;justify-content:center}

.hero.home-hero{min-height:690px;display:flex;align-items:center;background:#f1f3f6;border-bottom:1px solid var(--line)}
.hero.home-hero:before{background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 42%,rgba(255,255,255,.32) 100%),url('../img/o-firmie-Elzit.webp') right center/cover no-repeat}
.hero.home-hero:after{background:radial-gradient(circle at 76% 34%,rgba(201,17,28,.18),transparent 22%),repeating-linear-gradient(115deg,transparent 0 52px,rgba(0,0,0,.035) 52px 53px)}
.home-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(360px,.88fr);gap:46px;align-items:center;padding:58px 0}
.home-hero-copy{text-align:left}.home-hero-copy h1{font-size:clamp(42px,5.2vw,76px);line-height:.99;letter-spacing:-.055em;margin:0 0 22px;color:#101010}.home-hero-copy h1 span{color:var(--red)}
.home-hero-copy .lead{margin:0 0 28px;max-width:680px;font-size:19px;color:#3d424a}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}
.hero-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:700px}
.proof-card{background:rgba(255,255,255,.86);border:1px solid rgba(210,216,224,.9);border-radius:18px;padding:16px 18px;box-shadow:0 16px 38px rgba(0,0,0,.06);backdrop-filter:blur(8px)}
.proof-card strong{display:block;color:#111;font-size:22px;line-height:1}.proof-card span{display:block;color:#666b73;font-size:13px;margin-top:6px}
.hero-panel{background:linear-gradient(180deg,rgba(15,15,15,.92),rgba(5,5,5,.96));border:1px solid rgba(255,255,255,.12);border-radius:30px;padding:16px;box-shadow:0 32px 80px rgba(0,0,0,.28);position:relative;overflow:hidden}
.hero-panel:before{content:"";position:absolute;right:-20%;top:-20%;width:70%;height:70%;background:radial-gradient(circle,rgba(201,17,28,.32),transparent 64%)}
.hero-panel img{height:350px;width:100%;object-fit:cover;border-radius:22px;position:relative;z-index:1}
.hero-panel-row{position:relative;z-index:2;margin-top:12px;display:grid;grid-template-columns:1fr;gap:10px}
.hero-panel-chip{color:#fff;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:14px 16px;display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center}
.hero-panel-chip b{width:34px;height:34px;border-radius:12px;background:#c9111c;display:grid;place-items:center;font-size:18px}
.hero-panel-chip strong{display:block;font-size:14px}.hero-panel-chip span{display:block;color:#c9c9c9;font-size:12px;margin-top:2px}

.division-strip{margin-top:-38px;position:relative;z-index:4}.division-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.division-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:0 18px 52px rgba(0,0,0,.10);position:relative;overflow:hidden;min-height:210px}
.division-card:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,var(--red),transparent)}
.division-card .mini{width:48px;height:48px;border-radius:16px;background:#fff1f2;color:var(--red);display:grid;place-items:center;font-size:26px;margin-bottom:15px}
.division-card h3{margin:0 0 8px;color:#111;font-size:23px}.division-card p{margin:0 0 16px;color:#666b73}.division-card a{font-weight:900;color:var(--red)}

.theme-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 12px 34px rgba(0,0,0,.06)}
.theme-card img{height:245px;width:100%;object-fit:cover}.theme-card .theme-body{padding:24px}.theme-card h3{margin:0 0 10px;font-size:25px;color:#111}.theme-card p{margin:0;color:#666b73}
.triple-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}

.logos{grid-template-columns:repeat(4,1fr)!important;gap:14px!important}
.logo-tile{min-height:112px!important;padding:18px 24px!important}
.logo-tile img{max-width:190px!important;max-height:56px!important;object-fit:contain!important}

.contact-map{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch}.osm-map{border:0;width:100%;min-height:390px;border-radius:22px;box-shadow:0 14px 44px rgba(0,0,0,.08)}
.map-placeholder{display:none!important}

@media(max-width:1100px){.menu a{font-size:11.5px!important;padding:9px 8px!important}.logo{flex-basis:132px}.logo img{height:46px!important}.nav>.btn{padding:12px 14px!important;font-size:13px}}
@media(max-width:980px){.mobile-btn{display:flex}.menu{display:none;position:absolute;top:var(--header-h);left:18px;right:18px;border-radius:22px;padding:14px!important;background:rgba(8,8,8,.96);flex-direction:column;align-items:stretch}.menu.open{display:flex}.menu a{border-radius:14px;padding:13px 14px!important;font-size:14px!important}.home-hero-grid{grid-template-columns:1fr;padding:48px 0 76px}.hero-panel{max-width:620px}.division-grid,.triple-grid{grid-template-columns:1fr}.division-strip{margin-top:-30px}.contact-map{grid-template-columns:1fr}}
@media(max-width:640px){:root{--header-h:76px}.logo img{height:42px!important}.hero.home-hero{min-height:auto}.home-hero-grid{padding:42px 0 72px}.home-hero-copy h1{font-size:39px}.hero-proof{grid-template-columns:1fr}.hero-panel img{height:240px}.logos{grid-template-columns:1fr 1fr!important}.logo-tile{min-height:95px!important}.logo-tile img{max-width:140px!important}}


/* === v6: profesjonalne grafiki foto + inne zdjęcie w nagłówku === */
.hero.home-hero:before{
  background:
    linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 42%,rgba(255,255,255,.38) 100%),
    url('../img/hero-bg-site.jpg') right center/cover no-repeat !important;
}
.hero-panel img{
  height:330px !important;
  object-fit:cover !important;
}
.theme-card img{
  height:255px !important;
  object-fit:cover !important;
}
.image-card.theme-image img{
  height:420px !important;
  object-fit:cover !important;
}
.triple-grid .theme-card{
  transition:.22s ease;
}
.triple-grid .theme-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 52px rgba(0,0,0,.10);
}
@media(max-width:640px){
  .hero-panel img{height:230px !important}
  .theme-card img{height:220px !important}
}


/* === v7 technical drawing graphics === */
.hero-panel img{height:345px !important; object-fit:cover !important;}
.triple-grid .theme-card img{height:255px !important; object-fit:cover !important; background:#111;}
.image-card.theme-image img{height:420px !important; object-fit:cover !important; background:#111;}
.hero.home-hero:before{
  background:
    linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 42%,rgba(255,255,255,.38) 100%),
    url('../img/elzit-elektroenergetyka-1-2.jpg') right center/cover no-repeat !important;
}
@media(max-width:640px){
  .hero-panel img{height:230px !important;}
  .triple-grid .theme-card img{height:220px !important;}
}


/* === v8: zdjęcia z efektem kratki zamiast grafik / poprawa napisów === */
.hero.home-hero:before{
  background:
    linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.91) 40%,rgba(255,255,255,.42) 100%),
    url('../img/photo-grid-header.jpg') right center/cover no-repeat !important;
}
.hero-panel{
  padding:14px !important;
}
.hero-panel img{
  height:335px !important;
  object-fit:cover !important;
  border-radius:22px !important;
}
.hero-panel-row{
  margin-top:12px !important;
  gap:10px !important;
}
.hero-panel-chip{
  display:grid !important;
  grid-template-columns:52px 1fr !important;
  align-items:center !important;
  gap:14px !important;
  padding:15px 17px !important;
}
.hero-panel-chip b{
  width:42px !important;
  height:42px !important;
  border-radius:14px !important;
  font-size:16px !important;
}
.hero-panel-chip strong{
  font-size:16px !important;
  line-height:1.15 !important;
}
.hero-panel-chip span{
  font-size:13px !important;
  line-height:1.35 !important;
}
.triple-grid{
  align-items:stretch !important;
}
.triple-grid .theme-card{
  display:flex !important;
  flex-direction:column !important;
}
.triple-grid .theme-card img{
  height:260px !important;
  object-fit:cover !important;
  background:#111 !important;
}
.theme-card .theme-body{
  padding:24px 26px 28px !important;
}
.theme-card h3{
  font-size:27px !important;
  line-height:1.05 !important;
  margin-bottom:12px !important;
}
.theme-card p{
  font-size:16px !important;
  line-height:1.55 !important;
}
.image-card.theme-image img{
  height:430px !important;
  object-fit:cover !important;
  background:#111 !important;
}
.page-hero:before{
  opacity:.38 !important;
}
.logos{
  gap:12px !important;
}
.logo-tile{
  min-height:108px !important;
}
@media(max-width:980px){
  .hero-panel img{height:300px !important;}
  .triple-grid .theme-card img{height:240px !important;}
}
@media(max-width:640px){
  .hero-panel img{height:230px !important;}
  .hero-panel-chip{grid-template-columns:44px 1fr !important;padding:13px !important;}
  .hero-panel-chip b{width:38px !important;height:38px !important;}
  .triple-grid .theme-card img{height:215px !important;}
  .image-card.theme-image img{height:280px !important;}
}


/* === v9: zdjęcia bez kratki, mniejszy czerwony akcent, Echogram = skanowanie dna === */
.hero.home-hero:before{
  background:
    linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.91) 40%,rgba(255,255,255,.42) 100%),
    url('../img/photo-soft-header.jpg') right center/cover no-repeat !important;
}
.hero-panel{
  padding:14px !important;
}
.hero-panel img{height:330px !important; object-fit:cover !important;}
.triple-grid .theme-card img{height:250px !important; object-fit:cover !important;}
.image-card.theme-image img{height:420px !important; object-fit:cover !important;}
.theme-card .theme-body{padding:22px 24px 26px !important;}
.theme-card h3{font-size:28px !important; line-height:1.05 !important; margin:0 0 10px !important;}
.theme-card p{font-size:16px !important; line-height:1.55 !important; margin:0 !important;}
.hero-panel-chip{grid-template-columns:52px 1fr !important; gap:14px !important; align-items:center !important; padding:14px 16px !important;}
.hero-panel-chip b{width:40px !important; height:40px !important; border-radius:14px !important; background:#c9111c !important;}
.hero-panel-chip strong{font-size:16px !important; line-height:1.15 !important;}
.hero-panel-chip span{font-size:13px !important; line-height:1.4 !important;}
.page-hero:after{background:linear-gradient(90deg,rgba(255,255,255,.92) 0 54%, rgba(255,255,255,.74) 78%, rgba(255,255,255,.56) 100%), linear-gradient(135deg,rgba(201,17,28,.035),transparent 25%) !important;}
@media(max-width:980px){
  .hero-panel img{height:290px !important;}
  .triple-grid .theme-card img{height:230px !important;}
}
@media(max-width:640px){
  .hero-panel img{height:225px !important;}
  .triple-grid .theme-card img{height:205px !important;}
  .image-card.theme-image img{height:280px !important;}
}


/* === v10: bardziej techniczne kadry zdjęć + komplet grafik === */
.hero-panel,
.theme-card,
.image-card,
.gallery img {
  position: relative;
}

.hero-panel,
.theme-card {
  overflow: hidden;
}

.hero-panel::after,
.theme-card::before,
.image-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(255,255,255,.34) 0 42px, transparent 42px calc(100% - 42px), rgba(255,255,255,.34) calc(100% - 42px)),
    linear-gradient(180deg, rgba(255,255,255,.34) 0 42px, transparent 42px calc(100% - 42px), rgba(255,255,255,.34) calc(100% - 42px));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  opacity: .72;
}

.theme-card::before {
  inset: 12px 12px auto 12px;
  height: 226px;
  border-radius: 18px;
}

.hero-panel::before,
.theme-card::after,
.image-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9111c, rgba(201,17,28,.16), transparent);
  z-index: 4;
  pointer-events: none;
}

.theme-card::after {
  top: 18px;
  left: 18px;
  right: 18px;
}

.image-card::before {
  top: 18px;
}

.hero-panel img,
.theme-card img,
.image-card.theme-image img {
  filter: contrast(1.06) saturate(.92);
}

.theme-card img {
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.theme-card .theme-body {
  position: relative;
  z-index: 4;
  background:
    linear-gradient(180deg, #fff, #fbfbfc);
}

.theme-card .theme-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, #c9111c, rgba(201,17,28,.16), transparent);
}

.gallery img {
  padding: 6px;
  background:
    linear-gradient(135deg, rgba(201,17,28,.45), rgba(255,255,255,.75), rgba(0,0,0,.16));
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}

.service,
.offer-card,
.feature {
  position: relative;
}

.service::after,
.offer-card::after,
.feature::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  width: 34px;
  height: 34px;
  border-top: 1px solid rgba(201,17,28,.35);
  border-right: 1px solid rgba(201,17,28,.35);
  opacity: .72;
  pointer-events: none;
}

.photo-technical-note {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c9111c;
  font-weight: 900;
}

@media(max-width:640px){
  .theme-card::before {
    height: 184px;
  }
}


/* === v11 HOTFIX: zdjęcia widoczne, bez białych masek === */

/* wyłączamy problematyczne maski, które mogły zakrywać zdjęcia */
.hero-panel::after,
.theme-card::before,
.image-card::after {
  display: none !important;
  content: none !important;
}

/* zdjęcie w panelu głównym */
.hero-panel {
  background: linear-gradient(180deg, #111, #050505) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  overflow: hidden !important;
}
.hero-panel img {
  display: block !important;
  width: 100% !important;
  height: 340px !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
  border-radius: 22px !important;
  background: #111 !important;
}

/* zdjęcia w kartach działów */
.triple-grid .theme-card img,
.theme-card img {
  display: block !important;
  width: 100% !important;
  height: 255px !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: #111 !important;
}

/* zdjęcia na podstronach */
.image-card.theme-image img,
.image-card img {
  display: block !important;
  width: 100% !important;
  height: 420px !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* proste techniczne narożniki bez masek */
.hero-panel,
.theme-card,
.image-card {
  position: relative !important;
}
.hero-panel::before,
.theme-card::after,
.image-card::before {
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  top: 18px !important;
  width: 150px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #c9111c, rgba(201,17,28,.15)) !important;
  z-index: 5 !important;
  pointer-events: none !important;
}
.theme-card::after {
  top: 18px !important;
}
.image-card::before {
  top: 18px !important;
}

.hero.home-hero:before{
  background:
    linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.91) 40%,rgba(255,255,255,.46) 100%),
    url('../img/final-header-bg.jpg') right center/cover no-repeat !important;
}

@media(max-width:640px){
  .hero-panel img{height:230px !important;}
  .triple-grid .theme-card img,.theme-card img{height:210px !important;}
  .image-card.theme-image img,.image-card img{height:280px !important;}
}
