/* DPIdea Laboratorium – style motywu */
:root{
  --dpl-teal:var(--wp--preset--color--teal);
  --dpl-teal-d:var(--wp--preset--color--teal-dark);
  --dpl-teal-l:var(--wp--preset--color--teal-light);
  --dpl-ink:var(--wp--preset--color--ink);
  --dpl-muted:var(--wp--preset--color--muted);
  --dpl-line:var(--wp--preset--color--line);
  --dpl-bg:var(--wp--preset--color--bg);
}
html{scroll-behavior:smooth}
body{-webkit-font-smoothing:antialiased}
.dpl-main{margin-block-start:0!important}
.dpl-main > .wp-block-post-content > *{margin-block-start:0!important}
[id]{scroll-margin-top:84px}

/* ---------- nagłówek ---------- */
.wp-site-blocks > header.wp-block-template-part{position:sticky;top:0;z-index:50;margin:0}
body.admin-bar .wp-site-blocks > header.wp-block-template-part{top:32px}
@media (max-width:782px){body.admin-bar .wp-site-blocks > header.wp-block-template-part{top:46px}}
@media (max-width:600px){body.admin-bar .wp-site-blocks > header.wp-block-template-part{top:0}}
.dpl-header{position:relative;z-index:50;background:var(--dpl-ink);border-bottom:1px solid #1d2d35;padding:0 24px}
.dpl-header-in{min-height:72px;gap:24px}
.dpl-header .wp-block-site-logo img{height:auto;max-height:38px;width:auto}
.dpl-header,.dpl-header .dpl-nav{color:#c9d5d9}
.dpl-header .dpl-nav .wp-block-navigation-item__content,
.dpl-header .dpl-nav .wp-block-navigation-item__content:visited{color:#c9d5d9!important;padding:8px 12px;border-radius:10px;font-size:.95rem;font-weight:500;text-decoration:none}
.dpl-header .dpl-nav .wp-block-navigation-item__content:hover{color:#fff!important;background:transparent}
.dpl-header .dpl-nav .wp-block-navigation-item__content:focus,
.dpl-header .dpl-nav .current-menu-item > .wp-block-navigation-item__content,
.dpl-header .dpl-nav .wp-block-navigation-item__content[aria-current]{background:transparent}
.dpl-header .dpl-nav .wp-block-navigation-item__content:focus-visible{outline:2px solid var(--dpl-teal);outline-offset:2px}
.dpl-header .dpl-nav .dpl-nav-kontakt > .wp-block-navigation-item__content{background:var(--dpl-teal);color:#fff!important;font-weight:600;padding:10px 20px;border-radius:12px;margin-left:8px}
.dpl-header .dpl-nav .dpl-nav-kontakt > .wp-block-navigation-item__content:hover{background:var(--dpl-teal-d)}
.dpl-header .dpl-nav .wp-block-navigation__responsive-container-open,
.dpl-header .dpl-nav .wp-block-navigation__responsive-container-close{color:#fff!important}
.dpl-header .dpl-nav .wp-block-navigation__responsive-container.is-menu-open{background:var(--dpl-ink)!important;color:#fff!important;padding:24px 16px}
.dpl-header .dpl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{font-size:1.1rem;padding:12px 4px}
.dpl-header .dpl-nav .wp-block-navigation__responsive-container.is-menu-open .dpl-nav-kontakt > .wp-block-navigation-item__content{margin:12px 0 0;padding:12px 20px}
.dpl-header .wp-block-site-logo{flex-shrink:0}
.dpl-header .dpl-header-in > .dpl-header-right{margin-left:auto!important;flex:1 1 auto;justify-content:flex-end!important}
.dpl-header .dpl-header-right .dpl-nav{margin-left:auto!important}
.dpl-hero h1 mark{background:transparent!important;color:var(--dpl-ink)!important}
.dpl-hero h1{letter-spacing:-.045em!important;line-height:1!important;font-weight:700}
.dpl-sec h2{letter-spacing:-.04em}
.dpl-hero .dpl-lead{letter-spacing:-.01em}

/* ---------- sekcje ---------- */
.dpl-sec,.dpl-sec *,.dpl-header,.dpl-footer{box-sizing:border-box}
.dpl-sec{padding:96px 24px;margin:0!important}
.dpl-sec h2{margin-top:0}
.dpl-small{color:var(--dpl-muted);font-size:.92rem}
.is-style-outline > .wp-block-button__link{background:#fff;color:var(--dpl-text,#16242b);border:1px solid var(--dpl-line)}
.is-style-outline > .wp-block-button__link:hover{border-color:var(--dpl-teal);color:var(--dpl-teal-d);background:#fff}

/* hero */
.dpl-hero{background:var(--dpl-teal);color:#fff;padding:70px 24px 80px;overflow:hidden}
.dpl-hero h1{color:#fff;margin:0 0 22px}
.dpl-hero .dpl-lead{font-size:1.18rem;color:#eafafc;max-width:44ch;margin:0}
.dpl-hero-btns{margin-top:32px!important}
.dpl-hero .wp-block-button:not(.is-style-outline) > .wp-block-button__link{background:#fff;color:var(--dpl-teal-d)}
.dpl-hero .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover{background:var(--dpl-teal-l)}
.dpl-hero .is-style-outline > .wp-block-button__link{background:transparent;border:2px solid #fff;color:#fff}
.dpl-hero .is-style-outline > .wp-block-button__link:hover{background:rgba(255,255,255,.12);color:#fff}
.dpl-photos{position:relative;aspect-ratio:1/1;max-width:520px;width:100%;margin-left:auto}
.dpl-photos::before{content:"";position:absolute;right:-18%;bottom:-14%;width:62%;aspect-ratio:1/1;background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 200 200%22%3E%3Ccircle cx=%22100%22 cy=%22100%22 r=%2288%22 fill=%22none%22 stroke=%22%23ffffff%22 stroke-width=%2216%22/%3E%3Ccircle cx=%22100%22 cy=%22100%22 r=%2252%22 fill=%22none%22 stroke=%22%23ffffff%22 stroke-width=%2212%22/%3E%3C/svg%3E") center/contain no-repeat;z-index:0}
.dpl-photos > *{margin:0!important}
.dpl-photos .wp-block-image{position:absolute;z-index:1}
.dpl-photos .wp-block-image img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:50%;border:8px solid #fff;box-shadow:0 18px 40px -18px rgba(0,0,0,.35);display:block}
.dpl-photos .dpl-p1{width:56%;right:2%;top:0}
.dpl-photos .dpl-p2{width:44%;left:0;top:30%}
.dpl-photos .dpl-p3{width:30%;left:24%;top:2%}
.dpl-photos .dpl-p4{width:26%;left:46%;bottom:2%}

/* pasek GUM / jakość */
.dpl-trust{background:var(--dpl-teal-d);color:#fff;padding:0 24px}
.dpl-trust-cols{gap:0!important;margin:0!important}
.dpl-t{position:relative;padding:28px 24px 28px 92px}
.dpl-t::before{content:"";position:absolute;left:28px;top:50%;width:44px;height:44px;transform:translateY(-50%);background:center/contain no-repeat}
.dpl-t-gum::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 fill=%22none%22 stroke=%22%23ffffff%22 stroke-width=%221.8%22%3E%3Cpath d=%22M12 2l3 6 6 .9-4.5 4.4 1 6.2L12 16.6 6.5 19.5l1-6.2L3 8.9 9 8z%22/%3E%3C/svg%3E")}
.dpl-t-szj::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 fill=%22none%22 stroke=%22%23ffffff%22 stroke-width=%221.8%22%3E%3Cpath d=%22M9 12l2 2 4-4%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3C/svg%3E")}
.dpl-t + .dpl-t{border-left:1px solid rgba(255,255,255,.3)}
.dpl-t p{margin:0;font-size:.95rem;opacity:.92}
.dpl-t p.dpl-t-title{font-size:1.3rem;font-weight:700;letter-spacing:-.01em;opacity:1;margin-bottom:2px}

/* zdjęcia */
.dpl-gallery{padding:56px 24px 0}
.dpl-gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.dpl-gallery-grid > *{margin:0!important}
.dpl-gallery-grid img{width:100%;height:auto;aspect-ratio:470/441;object-fit:cover;border-radius:16px;display:block}
.dpl-gallery-grid figcaption{font-size:.9rem;color:var(--dpl-muted);margin:8px 0 0;text-align:left}

/* oferta */
.dpl-head{margin-bottom:44px;gap:30px}
.dpl-head > *{margin:0!important}
.dpl-head p{max-width:50ch;color:var(--dpl-muted)}
.dpl-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.dpl-cards > *{margin:0!important}
.dpl-card{background:#fff;border:1px solid var(--dpl-line);border-radius:20px;padding:26px}
.dpl-card::before{content:"";display:block;width:46px;height:46px;border-radius:12px;background:var(--dpl-teal-l) center/24px no-repeat;margin-bottom:16px}
.dpl-ic-ut::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 fill=%22none%22 stroke=%22%23008a9a%22 stroke-width=%221.8%22%3E%3Cpath d=%22M2 18h3l2-12 2 12 2-8 2 8 2-4 2 4h5%22/%3E%3C/svg%3E")}
.dpl-ic-mt::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 fill=%22none%22 stroke=%22%23008a9a%22 stroke-width=%221.8%22%3E%3Cpath d=%22M6 3v9a6 6 0 0 0 12 0V3%22/%3E%3Cpath d=%22M6 3h3v9a3 3 0 0 0 6 0V3h3%22/%3E%3C/svg%3E")}
.dpl-ic-rt::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 fill=%22none%22 stroke=%22%23008a9a%22 stroke-width=%221.8%22%3E%3Crect x=%223%22 y=%224%22 width=%2218%22 height=%2213%22 rx=%222%22/%3E%3Cpath d=%22M8 21h8M12 17v4%22/%3E%3C/svg%3E")}
.dpl-ic-an::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 fill=%22none%22 stroke=%22%23008a9a%22 stroke-width=%221.8%22%3E%3Cpath d=%22M9 3h6M10 3v6l-5 9a2 2 0 0 0 2 3h10a2 2 0 0 0 2-3l-5-9V3%22/%3E%3Cpath d=%22M7.5 15h9%22/%3E%3C/svg%3E")}
.dpl-ic-dl::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 fill=%22none%22 stroke=%22%23008a9a%22 stroke-width=%221.8%22%3E%3Cpath d=%22M3 17L17 3l4 4L7 21z%22/%3E%3Cpath d=%22M7 13l2 2M10 10l2 2M13 7l2 2%22/%3E%3C/svg%3E")}
.dpl-card h3{margin:0 0 12px!important}
.dpl-card ul{list-style:none;margin:0!important;padding:0}
.dpl-card li{padding:9px 0;border-top:1px solid var(--dpl-line);font-size:.95rem;margin:0}
.dpl-card-wide{grid-column:span 2}
.dpl-card-wide ul{columns:2;column-gap:28px}
.dpl-card-wide li{break-inside:avoid}
.dpl-card-cta{grid-column:1/-1;background:var(--dpl-ink);border-color:var(--dpl-ink);display:flex;align-items:center}
.dpl-card-cta::before{display:none}
.dpl-card-cta p{color:#a9c0c6;font-size:1.05rem;margin:0}
.dpl-card-cta a{color:var(--dpl-teal);font-weight:600}
.dpl-dl{margin-top:28px!important;padding:22px 26px;border-radius:20px;background:var(--dpl-teal-l);border:1px solid #bfe9ee;gap:20px}
.dpl-dl > *{margin:0!important}
.dpl-dl p{color:var(--dpl-muted)}

/* laboratorium */
.dpl-about{background:#fff;border-top:1px solid var(--dpl-line);border-bottom:1px solid var(--dpl-line)}
.dpl-about-cols{gap:60px}
.dpl-about p{color:var(--dpl-muted);font-size:1.05rem}
.dpl-about p strong{color:var(--dpl-ink)}
.dpl-about a{font-weight:600}

/* zarządzanie jakością */
.dpl-q{padding:96px 16px 0}
.dpl-q-in{position:relative;overflow:hidden;background:var(--dpl-ink);color:#fff;border-radius:32px;padding:80px 60px 80px 270px}
.dpl-q-in::before{content:"";position:absolute;left:60px;top:50%;width:150px;height:150px;transform:translateY(-50%);background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2246%22 fill=%22none%22 stroke=%22%2300b1c5%22 stroke-width=%222%22/%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2238%22 fill=%22none%22 stroke=%22rgba%280,177,197,.35%29%22 stroke-width=%221%22 stroke-dasharray=%223 3%22/%3E%3Cpath d=%22M34 51l11 11 21-24%22 fill=%22none%22 stroke=%22%2300b1c5%22 stroke-width=%225%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E") center/contain no-repeat}
.dpl-q-in::after{content:"";position:absolute;right:-120px;top:-120px;width:460px;height:460px;border-radius:50%;background:radial-gradient(circle,rgba(0,177,197,.35),transparent 65%);pointer-events:none}
.dpl-q-in > *{position:relative;z-index:1}
.dpl-q-in h2{color:#fff;margin:0 0 16px}
.dpl-q-in p{color:#a9c0c6;font-size:1.1rem;max-width:56ch;margin:0}

/* kontakt */
.dpl-kontakt h2{margin-bottom:44px}
.dpl-kontakt-cols{gap:40px}
.dpl-ci-list > *{margin:0!important}
.dpl-ci-list > * + *{margin-top:12px!important}
.dpl-ci{display:flex;gap:14px;align-items:flex-start;padding:18px 20px;background:#fff;border:1px solid var(--dpl-line);border-radius:16px}
.dpl-ci > *{margin:0!important}
.dpl-ci p.dpl-ci-lbl{color:var(--dpl-teal-d);min-width:72px;font-weight:600;font-size:.9rem;padding-top:1px}
.dpl-ci a{color:inherit;text-decoration:none}
.dpl-ci strong{color:var(--dpl-ink);font-weight:600}
.dpl-form{background:#fff;border:1px solid var(--dpl-line);border-radius:20px;padding:28px}
.dpl-form h3{margin:0 0 14px}

/* formularz Contact Form 7 */
.wpcf7 form > p,.wpcf7 form .dpl-two p{margin:0 0 12px}
.dpl-two{margin:0 0 12px}
.dpl-two > p{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0!important}
.dpl-two br{display:none}
.wpcf7 .wpcf7-form-control-wrap{display:block}
.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=tel],.wpcf7 textarea{width:100%;box-sizing:border-box;font:inherit;padding:13px 15px;border-radius:12px;border:1px solid var(--dpl-line);background:var(--dpl-bg);color:inherit}
.wpcf7 input:focus,.wpcf7 textarea:focus{outline:2px solid var(--dpl-teal);outline-offset:-1px;background:#fff}
.wpcf7 textarea{min-height:120px;height:140px;resize:vertical}
.wpcf7 .wpcf7-acceptance{font-size:.82rem;color:var(--dpl-muted)}
.wpcf7 .wpcf7-acceptance .wpcf7-list-item{margin:0}
.wpcf7 input[type=submit]{width:100%;background:var(--dpl-teal);color:#fff;border:0;border-radius:12px;padding:13px 22px;font:inherit;font-weight:600;cursor:pointer}
.wpcf7 input[type=submit]:hover{background:var(--dpl-teal-d)}
.wpcf7 input[type=submit]:disabled{opacity:.5;cursor:not-allowed}
.wpcf7 form .wpcf7-response-output{margin:12px 0 0;padding:12px 14px;border-radius:12px;font-size:.95rem}

/* PCA */
.dpl-pca{background:#fff;border-bottom:1px solid var(--dpl-line);padding:70px 24px}
.dpl-pca-mark{width:170px;height:170px;border:3px solid var(--dpl-ink);border-radius:12px;display:grid;place-items:center;text-align:center;font-weight:700;margin:0}

/* stopka i podstrony */
.dpl-footer{border-top:1px solid var(--dpl-line);background:#fff;padding:40px 24px;color:var(--dpl-muted);font-size:.9rem;margin:0!important}
.dpl-footer p{margin:0}
.dpl-footer a{color:inherit}
.dpl-footer a:hover{color:var(--dpl-teal-d)}
.dpl-page{padding:56px 24px 80px}
.dpl-page h2{font-size:1.3rem;margin-top:34px}

/* ---------- responsywność ---------- */
@media (max-width:980px){
  .dpl-cards{grid-template-columns:1fr 1fr}
}
@media (max-width:900px){
  .dpl-q-in{padding:190px 32px 48px}
  .dpl-q-in::before{left:32px;top:40px;transform:none;width:110px;height:110px}
}
@media (max-width:800px){
  .dpl-gallery-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:781px){
  .dpl-photos{margin:20px auto 0;max-width:420px}
  .dpl-t + .dpl-t{border-left:0;border-top:1px solid rgba(255,255,255,.3)}
  .dpl-about-cols,.dpl-kontakt-cols{gap:20px}
}
@media (max-width:640px){
  .dpl-cards{grid-template-columns:1fr}
  .dpl-card-wide{grid-column:auto}
  .dpl-card-wide ul{columns:1}
}
@media (max-width:600px){
  .dpl-sec{padding:64px 16px}
  .dpl-header{padding:0 16px}
  .dpl-hero{padding:44px 16px 56px}
  .dpl-hero h1{font-size:2.5rem}
  .dpl-hero .dpl-lead{font-size:1.05rem}
  .dpl-hero-btns .wp-block-button{flex:1 1 100%}
  .dpl-hero-btns .wp-block-button__link{width:100%;text-align:center}
  .dpl-photos{max-width:330px}
  .dpl-photos .wp-block-image img{border-width:5px}
  .dpl-trust{padding:0 16px}
  .dpl-t{padding:22px 4px 22px 64px}
  .dpl-t::before{left:4px;width:40px;height:40px}
  .dpl-t p.dpl-t-title{font-size:1.12rem}
  .dpl-gallery{padding:40px 16px 0}
  .dpl-gallery-grid{gap:10px}
  .dpl-head{margin-bottom:28px}
  .dpl-card{padding:22px}
  .dpl-dl{padding:18px}
  .dpl-dl .wp-block-buttons,.dpl-dl .wp-block-button,.dpl-dl .wp-block-button__link{width:100%;text-align:center}
  .dpl-q{padding:64px 10px 0}
  .dpl-q-in{border-radius:24px}
  .dpl-ci{flex-direction:column;gap:4px}
  .dpl-ci p{overflow-wrap:anywhere}
  .dpl-form{padding:20px}
  .dpl-two > p{grid-template-columns:1fr}
  .dpl-pca-mark{width:130px;height:130px}
  .dpl-footer{padding:28px 16px}
  .dpl-page{padding:40px 16px 56px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


/* =================================================================
   ZDJĘCIA (1.1.1) – zdjęcia w kartach oferty i sekcjach, kolorystyka bez zmian
   ================================================================= */
.dpl-card{display:flex;flex-direction:column}
.dpl-card.dpl-has-img::before{display:none}
.dpl-card .dpl-card-img{margin:-26px -26px 18px!important;background:#fff;border-bottom:1px solid var(--dpl-line);border-radius:20px 20px 0 0;overflow:hidden}
.dpl-card .dpl-card-img img{display:block;width:100%;height:210px;object-fit:contain;padding:18px;box-sizing:border-box}
.dpl-card-wide .dpl-card-img img{object-fit:cover;padding:0}

.dpl-photo{margin:0!important}
.dpl-photo img{display:block;width:100%;height:auto;border-radius:20px;box-shadow:0 24px 50px -28px rgba(13,27,34,.45)}
.dpl-about-cols{gap:56px}

/* zarządzanie jakością: ciemny blok jak wcześniej, ze zdjęciem zamiast pieczęci */
.dpl-q-in{padding:56px!important}
.dpl-q-in::before{display:none}
.dpl-q-cols{gap:48px;margin:0!important;position:relative;z-index:1}
.dpl-q-in .dpl-photo img{box-shadow:none}

@media (max-width:781px){
  .dpl-card .dpl-card-img img{height:190px}
  .dpl-q-in{padding:28px!important}
  .dpl-about-cols,.dpl-q-cols{gap:24px}
}
@media (max-width:600px){
  .dpl-card .dpl-card-img{margin:-22px -22px 16px!important}
  .dpl-q-in{padding:22px!important}
}

/* NAGŁÓWEK ZE ZDJĘCIEM W TLE (1.2.0) – jak na dotychczasowej stronie, w turkusowym tonie */
.dpl-hero.dpl-hero-photo{position:relative;min-height:600px;display:flex;align-items:center;padding:90px 24px;
  background:url(../img/hero-laboratorium.jpg) 70% center/cover no-repeat var(--dpl-teal)}
.dpl-hero.dpl-hero-photo::before{content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(0,138,154,.96) 0%,rgba(0,166,186,.9) 34%,rgba(0,177,197,.45) 58%,rgba(0,177,197,0) 80%)}
.dpl-hero.dpl-hero-photo > *{position:relative;z-index:1;width:100%}
.dpl-hero.dpl-hero-photo > .dpl-hero-text{max-width:1200px!important;margin-left:auto!important;margin-right:auto!important}
.dpl-hero-text > *{max-width:620px;margin-left:0!important}
@media (max-width:900px){
  .dpl-hero.dpl-hero-photo{min-height:0;background-position:75% center}
  .dpl-hero.dpl-hero-photo::before{background:linear-gradient(180deg,rgba(0,138,154,.94) 0%,rgba(0,166,186,.86) 60%,rgba(0,177,197,.7) 100%)}
}
@media (max-width:600px){.dpl-hero.dpl-hero-photo{padding:56px 16px 64px}}

/* SEO: linki w kartach, pytania, podstrony (1.3.0) */
.dpl-card h3 a{color:inherit;text-decoration:none}
.dpl-card h3 a:hover{color:var(--dpl-teal-d)}
.dpl-card{display:flex;flex-direction:column}
.dpl-card .dpl-card-more{margin:auto 0 0!important;padding-top:14px;font-size:.92rem;font-weight:600}
.dpl-card .dpl-card-more a{color:var(--dpl-teal-d);text-decoration:none}
.dpl-card .dpl-card-more a:hover{text-decoration:underline}

.dpl-faq{background:#fff;border-top:1px solid var(--dpl-line)}
.dpl-faq h2{margin-bottom:32px!important}
.dpl-faq > .dpl-faq-list{max-width:1200px!important;margin-left:auto!important;margin-right:auto!important}
.dpl-faq-list > *{margin:0!important;max-width:860px}
.dpl-faq .wp-block-details{border-top:1px solid var(--dpl-line);padding:0}
.dpl-faq .wp-block-details:last-child{border-bottom:1px solid var(--dpl-line)}
.dpl-faq .wp-block-details summary{cursor:pointer;list-style:none;padding:20px 40px 20px 0;font-weight:600;font-size:1.08rem;color:var(--dpl-ink);position:relative}
.dpl-faq .wp-block-details summary::-webkit-details-marker{display:none}
.dpl-faq .wp-block-details summary::after{content:"+";position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:1.6rem;font-weight:400;color:var(--dpl-teal-d)}
.dpl-faq .wp-block-details[open] summary::after{content:"–"}
.dpl-faq .wp-block-details p{margin:0 0 20px!important;color:var(--dpl-muted);max-width:70ch}

.dpl-page h1,.dpl-page .wp-block-post-title{font-size:clamp(2rem,4.2vw,3.1rem)!important;line-height:1.08;margin-bottom:24px}
.dpl-page .dpl-back{font-size:.92rem;margin-bottom:8px!important}
.dpl-page .dpl-back a{text-decoration:none}
.dpl-page .dpl-sub-lead{font-size:1.15rem;color:var(--dpl-muted)}
.dpl-page ul.wp-block-list,.dpl-page ol.wp-block-list{padding-left:1.3em}
.dpl-page li{margin:6px 0}
.dpl-cta-box{background:var(--dpl-ink);color:#fff;border-radius:24px;padding:36px;margin-top:48px!important}
.dpl-cta-box h3{color:#fff;margin:0 0 10px!important;font-size:1.5rem}
.dpl-cta-box p{color:#a9c0c6}
.dpl-cta-box a:not(.wp-block-button__link){color:var(--dpl-teal)}
@media (max-width:600px){.dpl-cta-box{padding:24px}}

/* Podświetlenie aktywnej sekcji w menu przy przewijaniu (1.3.1) */
.dpl-header .dpl-nav .wp-block-navigation-item__content{position:relative;transition:color .2s ease}
.dpl-header .dpl-nav .wp-block-navigation-item:not(.dpl-nav-kontakt) .wp-block-navigation-item__content::after{
  content:"";position:absolute;left:12px;right:12px;bottom:2px;height:2px;border-radius:2px;background:var(--dpl-teal);
  transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.dpl-header .dpl-nav .wp-block-navigation-item__content.is-active{color:#fff!important}
.dpl-header .dpl-nav .wp-block-navigation-item:not(.dpl-nav-kontakt) .wp-block-navigation-item__content.is-active::after{transform:scaleX(1)}
.dpl-header .dpl-nav .dpl-nav-kontakt > .wp-block-navigation-item__content.is-active{background:var(--dpl-teal-d)}
@media (prefers-reduced-motion:reduce){.dpl-header .dpl-nav .wp-block-navigation-item__content::after{transition:none}}

/* Nagłówek: przyciski „Urządzenia do badań NDT” i telefon, jak na dotychczasowej stronie (1.4.0) */
.dpl-header-right{gap:28px}
.dpl-header-btns{gap:12px;margin:0!important;flex-shrink:0}
.dpl-header-btns .wp-block-button__link{padding:10px 20px;font-size:.88rem;font-weight:600;line-height:1.2;border-radius:999px;text-align:center;white-space:nowrap}
.dpl-btn-ndt .wp-block-button__link{background:transparent;color:var(--dpl-teal);border:2px solid var(--dpl-teal);padding:7px 18px}
.dpl-btn-ndt .wp-block-button__link:hover{background:var(--dpl-teal);color:#fff}
.dpl-btn-tel .wp-block-button__link{background:var(--dpl-teal);color:#fff;display:inline-flex;align-items:center;gap:8px;padding:12px 20px}
.dpl-btn-tel .wp-block-button__link::before{content:"";width:16px;height:16px;flex:none;background:#fff;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z%22/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z%22/%3E%3C/svg%3E") center/contain no-repeat}
.dpl-btn-tel .wp-block-button__link:hover{background:var(--dpl-teal-d)}
.dpl-header .dpl-nav .dpl-nav-ndt{display:none}
@media (max-width:1180px){
  .dpl-btn-ndt{display:none}
  .dpl-header .dpl-nav .wp-block-navigation__responsive-container.is-menu-open .dpl-nav-ndt{display:block}
}
@media (max-width:1000px){
  .dpl-header-right{gap:12px}
  .dpl-header .dpl-nav .wp-block-navigation-item__content{padding:8px 8px;font-size:.9rem}
}
@media (max-width:599px){
  .dpl-header .dpl-nav .dpl-nav-ndt{display:block}
  .dpl-btn-tel .wp-block-button__link{width:42px;height:42px;padding:0;justify-content:center;font-size:0;gap:0}
  .dpl-btn-tel .wp-block-button__link::before{width:18px;height:18px}
  .dpl-header .wp-block-site-logo img{max-height:32px}
}

/* Tytuł na górze strony: mniejszy, z hasłem dla Google (1.5.3) */
.dpl-hero h1{font-size:clamp(2.2rem,3.9vw,3.6rem)!important;line-height:1.05!important;letter-spacing:-.035em!important;max-width:none}
.dpl-hero-text > h1{max-width:720px!important}
.dpl-hero.dpl-hero-photo{min-height:540px}
@media (max-width:600px){.dpl-hero h1{font-size:2.1rem!important}}

/* Tytuł z nazwą firmy (1.5.4) */
.dpl-hero h1{font-size:clamp(2.1rem,3.5vw,3.25rem)!important}
.dpl-hero h1 mark{display:block;margin-top:.12em}
.dpl-hero-text > h1{max-width:780px!important}

/* Belka menu: duża na górze strony, zmniejsza się przy przewijaniu (1.5.4) */
.dpl-header-in{min-height:92px;transition:min-height .3s ease}
.dpl-header .wp-block-site-logo img{max-height:44px;transition:max-height .3s ease}
.wp-site-blocks > header.wp-block-template-part{transition:box-shadow .3s ease}
.dpl-header{transition:background-color .3s ease}
.dpl-header-btns .wp-block-button__link{transition:padding .3s ease,font-size .3s ease,background-color .2s,color .2s}
.dpl-scrolled .dpl-header-in{min-height:62px}
.dpl-scrolled .dpl-header .wp-block-site-logo img{max-height:32px}
.dpl-scrolled .wp-site-blocks > header.wp-block-template-part{box-shadow:0 8px 24px -12px rgba(0,0,0,.55)}
.dpl-scrolled .dpl-header{background:rgba(13,27,34,.96)}
.dpl-scrolled .dpl-btn-tel .wp-block-button__link{padding:9px 18px}
.dpl-scrolled .dpl-btn-ndt .wp-block-button__link{padding:5px 16px;font-size:.82rem}
@media (max-width:600px){
  .dpl-header-in{min-height:70px}
  .dpl-header .wp-block-site-logo img{max-height:34px}
  .dpl-scrolled .dpl-header-in{min-height:56px}
  .dpl-scrolled .dpl-header .wp-block-site-logo img{max-height:28px}
}
@media (prefers-reduced-motion:reduce){
  .dpl-header-in,.dpl-header .wp-block-site-logo img,.dpl-header,.dpl-header-btns .wp-block-button__link{transition:none}
}

/* =================================================================
   PODSTRONY I POLITYKA PRYWATNOŚCI w stylu strony głównej (1.6.0)
   ================================================================= */
.dpl-main.dpl-page{padding:0!important}
.dpl-main.dpl-page > .wp-block-post-content > *{max-width:none!important}

/* nagłówek podstrony */
.dpl-sub-hero{background:linear-gradient(120deg,var(--dpl-teal-d) 0%,var(--dpl-teal) 100%);color:#fff;padding:72px 24px 80px!important;position:relative;overflow:hidden}
.dpl-sub-hero::after{content:"";position:absolute;right:-90px;top:50%;width:420px;height:420px;transform:translateY(-50%);background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 200 200%22%3E%3Ccircle cx=%22100%22 cy=%22100%22 r=%2288%22 fill=%22none%22 stroke=%22%23fff%22 stroke-opacity=%22.18%22 stroke-width=%2216%22/%3E%3Ccircle cx=%22100%22 cy=%22100%22 r=%2252%22 fill=%22none%22 stroke=%22%23fff%22 stroke-opacity=%22.18%22 stroke-width=%2212%22/%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none}
.dpl-sub-hero > *{position:relative;z-index:1}
.dpl-sub-hero h1{color:#fff!important;font-size:clamp(2rem,3.6vw,3.1rem)!important;line-height:1.08!important;letter-spacing:-.03em!important;margin-top:10px!important;margin-bottom:18px!important}
.dpl-sub-hero .dpl-sub-lead{color:#e6f8fa!important;font-size:1.15rem;line-height:1.65;margin-top:0!important;margin-bottom:30px!important}
.dpl-sub-hero-sm{padding:56px 24px 60px!important}
.dpl-sub-hero-sm .dpl-sub-lead{margin-bottom:0!important;font-size:1rem}
.dpl-sub-hero h1,.dpl-sub-hero .dpl-crumbs,.dpl-sub-hero .wp-block-buttons{padding-right:min(34%,420px)}
.dpl-sub-hero .dpl-sub-lead{padding-right:min(44%,540px)}
.dpl-crumbs{font-size:.9rem;color:#d4f1f4;margin-top:0!important;margin-bottom:0!important}
.dpl-crumbs a{color:#fff;text-decoration:none;opacity:.9}
.dpl-crumbs a:hover{text-decoration:underline}
.dpl-crumbs span{margin:0 6px;opacity:.7}
.dpl-sub-hero .wp-block-buttons{gap:12px}
.dpl-sub-hero .wp-block-button:not(.is-style-outline) > .wp-block-button__link{background:#fff;color:var(--dpl-teal-d)}
.dpl-sub-hero .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover{background:var(--dpl-teal-l)}
.dpl-sub-hero .is-style-outline > .wp-block-button__link{background:transparent;border:2px solid rgba(255,255,255,.75);color:#fff}
.dpl-sub-hero .is-style-outline > .wp-block-button__link:hover{background:rgba(255,255,255,.12)}

/* wspólne odstępy sekcji podstron */
.dpl-sub-items,.dpl-sub-info,.dpl-sub-steps,.dpl-sub-bottom{padding:80px 24px!important}
.dpl-sub-items h2,.dpl-sub-steps h2,.dpl-sub-bottom > h2,.dpl-sub-band h2{margin-top:0!important;margin-bottom:32px!important;font-size:clamp(1.7rem,3vw,2.3rem)!important}
.dpl-sub-items{background:#fff}
.dpl-sub-info{background:var(--dpl-bg);border-top:1px solid var(--dpl-line);border-bottom:1px solid var(--dpl-line)}

/* co wzorcujemy – karty */
ul.dpl-items{list-style:none;padding:0!important;margin-top:0!important;margin-bottom:0!important;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
ul.dpl-items li{margin:0!important;background:var(--dpl-bg);border:1px solid var(--dpl-line);border-radius:16px;padding:20px 20px 20px 58px;position:relative;font-weight:600;color:var(--dpl-ink);line-height:1.35;display:flex;align-items:center;min-height:72px}
ul.dpl-items li::before{content:"";position:absolute;left:18px;top:50%;width:28px;height:28px;transform:translateY(-50%);border-radius:8px;background:var(--dpl-teal-l) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23008a9a%22 stroke-width=%222.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12.5l4.5 4.5L19 7.5%22/%3E%3C/svg%3E") center/18px no-repeat}

/* normy + dlaczego ważne */
.dpl-info-cols{gap:56px!important;margin-top:0!important;margin-bottom:0!important}
@media (min-width:782px){.dpl-info-cols > .wp-block-column:first-child{flex:0 0 38%!important}.dpl-info-cols > .wp-block-column:last-child{flex:1 1 0!important}}
.dpl-sub-info h3{font-size:1.35rem!important;margin:0 0 14px!important}
.dpl-sub-info p{line-height:1.75;color:var(--dpl-muted);margin:0 0 16px!important}
ul.dpl-norms{list-style:none;padding:0!important;margin:0!important;display:grid;gap:10px}
ul.dpl-norms li{margin:0!important;background:#fff;border:1px solid var(--dpl-line);border-left:4px solid var(--dpl-teal);border-radius:12px;padding:14px 18px;display:flex;flex-direction:column;gap:2px}
ul.dpl-norms li strong{font-family:var(--wp--preset--font-family--mono);font-weight:400;font-size:.95rem;color:var(--dpl-teal-d)}
ul.dpl-norms li span{font-size:.92rem;color:var(--dpl-muted)}
.dpl-why-text{background:#fff;border:1px solid var(--dpl-line);border-radius:20px;padding:30px}
.dpl-why-text p{font-size:1.05rem;margin:0!important}
.dpl-sub-info > .dpl-why-text{max-width:780px!important;margin-left:auto!important;margin-right:auto!important}

/* kroki */
.dpl-sub-steps{background:#fff}
ol.dpl-steps{list-style:none;padding:0!important;margin-top:0!important;margin-bottom:0!important;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;counter-reset:krok}
ol.dpl-steps li{margin:0!important;counter-increment:krok;background:var(--dpl-bg);border:1px solid var(--dpl-line);border-radius:20px;padding:26px 24px;color:var(--dpl-muted);line-height:1.65;font-size:.97rem;position:relative}
ol.dpl-steps li::before{content:counter(krok);display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--dpl-teal);color:#fff;font-weight:700;margin-bottom:16px}
ol.dpl-steps li strong{display:block;color:var(--dpl-ink);font-size:1.12rem;margin-bottom:6px}

/* dlaczego my – ciemny pas */
.dpl-sub-band{background:var(--dpl-ink);color:#fff;padding:72px 24px!important}
.dpl-sub-band h2{color:#fff!important}
ul.dpl-why{list-style:none;padding:0!important;margin-top:0!important;margin-bottom:0!important;display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
ul.dpl-why li{margin:0!important;padding-top:52px;position:relative;color:#b9c8cd;line-height:1.7}
ul.dpl-why li::before{content:"";position:absolute;left:0;top:0;width:36px;height:36px;border-radius:50%;border:2px solid var(--dpl-teal);background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2300b1c5%22 stroke-width=%222.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12.5l4.5 4.5L19 7.5%22/%3E%3C/svg%3E") center/18px no-repeat}

/* zobacz także + kontakt */
.dpl-sub-bottom{background:var(--dpl-bg)}
ul.dpl-related{list-style:none;padding:0!important;margin-top:0!important;margin-bottom:48px!important;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
ul.dpl-related li{margin:0!important}
ul.dpl-related a{display:flex;align-items:center;justify-content:space-between;gap:12px;height:100%;background:#fff;border:1px solid var(--dpl-line);border-radius:16px;padding:20px;color:var(--dpl-ink);font-weight:600;text-decoration:none;line-height:1.35;transition:border-color .2s,transform .2s}
ul.dpl-related a::after{content:"→";color:var(--dpl-teal-d);font-weight:400}
ul.dpl-related a:hover{border-color:var(--dpl-teal);transform:translateY(-2px)}
.dpl-sub-contact{background:var(--dpl-teal-l);border:1px solid #bfe9ee;border-radius:24px;padding:36px;display:grid;grid-template-columns:1fr auto;gap:8px 32px;align-items:center}
.dpl-sub-contact > *{margin:0!important}
.dpl-sub-contact h3{grid-column:1;font-size:1.5rem!important}
.dpl-sub-contact p{grid-column:1;color:var(--dpl-muted)}
.dpl-sub-contact .wp-block-buttons{grid-column:2;grid-row:1/span 2}

/* polityka prywatności – czytelny tekst */
.dpl-legal{background:#fff;padding:64px 24px 88px!important}
.dpl-legal > *{max-width:760px!important;margin-left:auto!important;margin-right:auto!important}
.dpl-legal h2{font-size:1.35rem!important;letter-spacing:-.01em!important;margin:44px auto 14px!important}
.dpl-legal h2:first-child{margin-top:0!important}
.dpl-legal p{line-height:1.8;color:#33434b;margin-top:0!important;margin-bottom:14px!important}
.dpl-legal ul{padding-left:1.3em!important;margin:4px auto 16px!important}
.dpl-legal li{line-height:1.75;color:#33434b;margin:6px 0!important}

@media (max-width:980px){
  ul.dpl-items{grid-template-columns:1fr 1fr}
  ol.dpl-steps,ul.dpl-related{grid-template-columns:1fr 1fr}
  ul.dpl-why{grid-template-columns:1fr}
}
@media (max-width:781px){
  .dpl-info-cols{gap:32px!important}
  .dpl-sub-contact{grid-template-columns:1fr}
  .dpl-sub-contact .wp-block-buttons{grid-column:1;grid-row:auto}
}
@media (max-width:781px){.dpl-sub-hero h1,.dpl-sub-hero .dpl-sub-lead,.dpl-sub-hero .dpl-crumbs,.dpl-sub-hero .wp-block-buttons{padding-right:0}}
@media (max-width:600px){
  .dpl-sub-hero{padding:44px 16px 52px!important}
  .dpl-sub-hero::after{display:none}
  .dpl-sub-items,.dpl-sub-info,.dpl-sub-steps,.dpl-sub-bottom{padding:56px 16px!important}
  .dpl-sub-band{padding:56px 16px!important}
  ul.dpl-items,ol.dpl-steps,ul.dpl-related{grid-template-columns:1fr}
  .dpl-why-text{padding:22px}
  .dpl-sub-contact{padding:24px}
  .dpl-legal{padding:44px 16px 64px!important}
}


/* Telefon/tablet: belka mieści się w ekranie (1.6.3)
   – przycisk „Urządzenia do badań NDT” chowa się (link jest w menu ☰ i w stopce),
   – nic nie może poszerzać strony w bok. */
.wp-site-blocks{overflow-x:clip}
.dpl-header-in{min-width:0}
.dpl-header-right{min-width:0;flex-shrink:1}
.dpl-header .wp-block-site-logo{flex-shrink:1;min-width:0}
@media (max-width:1180px){
  .dpl-header .dpl-header-btns > .wp-block-button.dpl-btn-ndt{display:none!important}
}
@media (max-width:600px){
  .dpl-header .wp-block-site-logo img{max-height:30px!important;width:auto!important;max-width:160px}
  .dpl-header-right{gap:10px!important}
  .dpl-header .dpl-header-btns > .wp-block-button.dpl-btn-tel .wp-block-button__link{width:42px;height:42px;padding:0!important}
}
.dpl-header .dpl-nav .wp-block-navigation-item__content{white-space:nowrap}
@media (min-width:600px) and (max-width:900px){
  .dpl-header .dpl-nav .wp-block-navigation-item__content{padding:8px 6px!important;font-size:.85rem!important}
  .dpl-header .dpl-nav .wp-block-navigation__container{gap:0!important}
  .dpl-header .wp-block-site-logo img{max-height:32px!important;width:auto!important}
  .dpl-header .dpl-header-btns > .wp-block-button.dpl-btn-tel .wp-block-button__link{width:42px;height:42px;padding:0!important;font-size:0!important;gap:0!important;justify-content:center}
}
