/*
Theme Name: PAN DETAILER — Black & Orange
Version: 4.0
Description: Profesjonalny motyw WordPress dla PAN DETAILER. Czarne tło i pomarańczowy kolor pobrany z logo.
Author: PAN DETAILER
Text Domain: pan-detailer
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap');
:root {
  --orange:#E34E0A; --orange-dark:#b83d05; --black:#080808; --black-2:#111;
  --black-3:#191919; --white:#fff; --gray:#b9b9b9; --line:#2a2a2a;
  --max:1200px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--black);color:var(--white);font-family:Arial,Helvetica,sans-serif;line-height:1.55}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.container{width:min(var(--max),calc(100% - 40px));margin:auto}
/* HEADER */
.site-header{position:sticky;top:0;z-index:100;background:rgba(8,8,8,.96);border-bottom:1px solid #252525;backdrop-filter:blur(8px)}
.header-inner{min-height:78px;display:flex;align-items:center;gap:28px}
.logo{display:flex;align-items:center;line-height:0;white-space:nowrap}
.logo img{
    display:block;
    width:260px;
    height:auto;
    max-height:72px;
    object-fit:contain;}

.main-nav{margin-left:auto;display:flex;align-items:center;gap:24px}
.main-nav a{font-size:11px;font-weight:800;text-transform:uppercase;color:#ddd;padding:29px 0;border-bottom:2px solid transparent}
.main-nav a:hover,.main-nav a.active{color:var(--orange);border-bottom-color:var(--orange)}
.header-phone{font-weight:900;font-size:17px;white-space:nowrap}
.header-phone i{color:var(--orange);font-style:normal}
.menu-toggle{display:none;background:none;color:#fff;border:1px solid #555;padding:9px 12px}
/* HERO */
.hero{min-height:680px;display:flex;align-items:center;position:relative;overflow:hidden;
background:
linear-gradient(90deg,rgba(0,0,0,.97) 0%,rgba(0,0,0,.83) 42%,rgba(0,0,0,.35) 100%),
url('https://images.unsplash.com/photo-1542362567-b07e54358753?auto=format&fit=crop&w=2200&q=85') center/cover no-repeat}
.hero::after{content:"";position:absolute;inset:auto 0 0 0;height:5px;background:var(--orange)}
.hero-content{max-width:820px;padding:70px 0}.hero-logo{display:block;width:min(620px,82vw);height:auto;margin:0 0 28px;background:#000;box-shadow:0 12px 45px rgba(0,0,0,.45)}
.kicker{color:var(--orange);font-size:12px;letter-spacing:2px;font-weight:900;text-transform:uppercase}

.hero h1 {
    font-size: clamp(46px, 6vw, 78px);
    line-height: 0.95;
    text-transform: uppercase;
    margin: 14px 0 22px;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 3px 12px rgba(0,0,0,0.9);
}

.hero h1 span{color:var(--orange);display:block}

.hero p {
    font-size: 19px;
    color: #fff;
    max-width: 650px;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

.buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border:1px solid var(--orange);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.5px;transition:.2s}
.btn-orange{background:var(--orange);color:#fff}
.btn-outline{background:transparent;color:#fff;border-color:#fff}
.btn:hover{transform:translateY(-2px);filter:brightness(1.08)}
/* TRUST */
.trust{background:#0e0e0e;border-bottom:1px solid var(--line)}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.trust-item{padding:25px 22px;border-right:1px solid var(--line);display:flex;gap:14px;align-items:center}
.trust-item:last-child{border:0}
.trust-icon{width:42px;height:42px;border:1px solid var(--orange);color:var(--orange);border-radius:50%;display:grid;place-items:center;font-weight:900;flex:0 0 42px}
.trust-item strong{display:block;font-size:11px;text-transform:uppercase}
.trust-item small{display:block;color:#777;font-size:10px;margin-top:3px}
/* SECTIONS */
.section{padding:78px 0}
.section.alt{background:#101010}
.section-header{text-align:center;margin-bottom:42px}
.section-header .kicker{font-size:11px}
.section-header h2{font-size:38px;line-height:1.05;text-transform:uppercase;margin:8px 0 12px}
.section-header p{max-width:720px;margin:auto;color:#888;font-size:14px}
.line{height:3px;width:48px;background:var(--orange);margin:15px auto}
/* SERVICES */
.services{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.service{background:#111;border:1px solid #292929;padding:30px;min-height:225px;transition:.2s}
.service:hover{border-color:var(--orange);transform:translateY(-3px)}
.service-number{color:var(--orange);font-size:12px;font-weight:900}
.service h3{font-size:17px;text-transform:uppercase;margin:15px 0 9px}
.service p{color:#888;font-size:13px;margin:0}
.service a{display:inline-block;color:var(--orange);font-size:10px;font-weight:900;text-transform:uppercase;margin-top:17px}
/* OFFER */
.offer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.offer-card{border:1px solid #2b2b2b;background:#0f0f0f;padding:28px}
.offer-card.featured{border-color:var(--orange);position:relative}
.offer-card.featured::before{content:"NAJCZĘŚCIEJ WYBIERANE";position:absolute;top:0;right:0;background:var(--orange);padding:6px 10px;font-size:9px;font-weight:900}
.offer-card h3{text-transform:uppercase;font-size:16px;margin:0 0 8px}
.offer-card .price{font-size:25px;font-weight:900;color:var(--orange);margin-bottom:15px}
.offer-card p,.offer-card li{color:#999;font-size:13px}
.offer-card ul{padding-left:18px}
/* ABOUT */
.about{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.about-photo{
    width:100%;
    height:430px;
    min-height:430px;
    max-height:430px;
    overflow:hidden;
    background-color:#111;
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
}

.about h2{font-size:39px;text-transform:uppercase;line-height:1.02;margin:8px 0 20px}
.about p{color:#aaa;font-size:14px}
.checks{list-style:none;padding:0;margin:20px 0}
.checks li{margin:10px 0;color:#ddd;font-size:13px}
.checks li::before{content:"✓";color:var(--orange);font-weight:900;margin-right:10px}
/* GALLERY */
.gallery-toolbar{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:25px}
.gallery-filter{border:1px solid #333;background:#111;color:#aaa;padding:9px 13px;font-size:10px;font-weight:900;text-transform:uppercase;cursor:pointer}
.gallery-filter.active,.gallery-filter:hover{background:var(--orange);border-color:var(--orange);color:#fff}
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.gallery-item{aspect-ratio:1.15;overflow:hidden;position:relative;background:#171717}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:.35s}
.gallery-item:hover img{transform:scale(1.06)}
.gallery-overlay{position:absolute;left:0;right:0;bottom:0;padding:45px 13px 12px;background:linear-gradient(transparent,rgba(0,0,0,.92));font-size:11px;font-weight:900}
.gallery-overlay span{display:block;color:var(--orange);font-size:9px;text-transform:uppercase;margin-top:3px}
/* CTA */
.cta{background:var(--orange);color:#fff;padding:36px 0}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}
.cta h2{font-size:27px;text-transform:uppercase;margin:0}
.cta .btn{border-color:#111;color:#111;background:#fff}
/* CONTACT */
.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:55px}
.contact-info h2{font-size:36px;text-transform:uppercase;line-height:1.05;margin:8px 0 25px}
.contact-info p{color:#aaa;font-size:14px}
.contact-info strong{display:block;color:#fff;font-size:10px;text-transform:uppercase;margin-top:16px}
.form-box{background:#101010;border:1px solid #292929;padding:28px}
.form-tabs{display:flex;margin-bottom:18px}
.form-tab{flex:1;padding:12px;border:1px solid #333;background:#181818;color:#aaa;text-align:center;font-size:10px;font-weight:900;text-transform:uppercase;cursor:pointer}
.form-tab.active{background:var(--orange);border-color:var(--orange);color:#fff}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.form-grid .full{grid-column:1/-1}
.form-grid input,.form-grid textarea,.form-grid select{width:100%;background:#080808;color:#fff;border:1px solid #333;padding:13px;outline:none}
.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus{border-color:var(--orange)}
.form-grid textarea{min-height:130px;resize:vertical}
.form-note{font-size:10px;color:#666;margin:12px 0}
.form-success{padding:12px;border:1px solid #315c31;color:#bfe0bf;background:#101910;margin-bottom:12px}
/* FOOTER */
.footer{background:#050505;border-top:1px solid #222;padding:48px 0 18px}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:40px}
.footer h3{font-size:15px;text-transform:uppercase;margin-top:0}
.footer p,.footer a{font-size:12px;color:#888}
.footer a:hover{color:var(--orange)}
.copyright{border-top:1px solid #222;margin-top:35px;padding-top:15px;display:flex;justify-content:space-between;color:#555;font-size:10px}
/* INNER */
.inner-hero h1{font-size:48px;text-transform:uppercase;margin:7px 0}
.realizacja-content{padding:60px 0}
.realizacja-content .featured{width:100%;max-height:650px;object-fit:cover;margin-bottom:30px}
.realizacja-content .content{max-width:850px;color:#aaa;margin:auto}
/* RESPONSIVE */
@media(max-width:1000px){
 .main-nav{gap:14px} .header-phone{display:none} .services{grid-template-columns:1fr 1fr}
 .gallery{grid-template-columns:repeat(3,1fr)} .trust-grid{grid-template-columns:1fr 1fr}
 .offer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
 .container{width:calc(100% - 28px)} .header-inner{min-height:70px} .main-nav{display:none;position:absolute;top:70px;left:0;right:0;background:#090909;border-bottom:1px solid #333;padding:10px 20px;flex-direction:column;align-items:stretch;gap:0}
 .main-nav.open{display:flex} .main-nav a{padding:13px 0;border:0} .menu-toggle{display:block;margin-left:auto}
 .hero{min-height:640px} .hero h1{font-size:45px} .hero p{font-size:16px}
 .trust-grid,.services,.offer-grid,.about,.contact-grid,.footer-grid{grid-template-columns:1fr}
 .trust-item{border-right:0;border-bottom:1px solid var(--line)} .trust-item:last-child{border-bottom:0}
 .gallery{grid-template-columns:1fr 1fr} .gallery-item{aspect-ratio:1}
 .cta-inner{display:block} .cta .btn{margin-top:15px}
 .form-grid{grid-template-columns:1fr} .form-grid .full{grid-column:auto}
 .copyright{display:block} .copyright span{display:block;margin-top:7px}
}
@media(max-width:430px){.gallery{grid-template-columns:1fr} .hero h1{font-size:39px} .section{padding:58px 0}}

/* GOOGLE MAP */
.map-section{padding:80px 0;background:#080808;border-top:1px solid #202020}
.map-wrap{width:100%;height:460px;border:1px solid #292929;background:#111;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.35)}
.map-wrap iframe{display:block;width:100%;height:100%;border:0;filter:grayscale(.15) contrast(1.05)}
.map-actions{text-align:center;margin-top:22px}
@media(max-width:720px){.map-section{padding:60px 0}.map-wrap{height:360px}}

/* =========================================
   PAN DETAILER — REALIZACJE PREMIUM
========================================= */

.pd-realizacje-page{
    padding-top:40px;
    padding-bottom:80px;
}

.pd-page-content{
    margin:0 0 40px;
    line-height:1.75;
}


/* =========================================
   SIATKA REALIZACJI
========================================= */

.pd-realizacje-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;

    margin-top:45px;
}


/* =========================================
   KARTA
========================================= */

.pd-realizacja-card{
    display:flex;
    flex-direction:column;

    min-width:0;

    background:#101010;

    border:1px solid #292929;

    overflow:hidden;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.pd-realizacja-card:hover{
    transform:translateY(-5px);

    border-color:#E34E0A;

    box-shadow:
        0 18px 45px rgba(0,0,0,.42);
}


/* =========================================
   DUŻE ZDJĘCIE
========================================= */

.pd-realizacja-main-image{
    position:relative;

    display:block;

    width:100%;
    height:280px;

    overflow:hidden;

    background:#151515;
}

.pd-realizacja-main-image img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center;

    transition:
        transform .45s ease,
        filter .35s ease;

    cursor:zoom-in;
}

.pd-realizacja-card:hover
.pd-realizacja-main-image img{
    transform:scale(1.045);
}


/* delikatne przyciemnienie */

.pd-realizacja-image-overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            to bottom,
            transparent 55%,
            rgba(0,0,0,.45) 100%
        );

    pointer-events:none;
}


/* =========================================
   LUPA
========================================= */

.pd-realizacja-zoom{
    position:absolute;

    top:16px;
    right:16px;

    width:38px;
    height:38px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:rgba(8,8,8,.78);

    border:1px solid rgba(255,255,255,.30);

    color:#fff;

    font-size:22px;
    line-height:1;

    backdrop-filter:blur(5px);

    pointer-events:none;
}


/* =========================================
   TREŚĆ KARTY
========================================= */

.pd-realizacja-card-body{
    display:flex;
    flex-direction:column;
    flex:1;

    padding:25px 25px 24px;
}


/* typ realizacji */

.pd-realizacja-type{
    margin-bottom:8px;

    color:#E34E0A;

    font-size:10px;
    line-height:1.4;

    font-weight:900;

    text-transform:uppercase;
    letter-spacing:1.2px;
}


/* tytuł */

.pd-realizacja-card-body h2{
    margin:0;

    color:#fff;

    font-size:21px;
    line-height:1.2;

    font-weight:800;

    text-transform:uppercase;
}


/* pomarańczowa kreska */

.pd-realizacja-line{
    width:48px;
    height:3px;

    margin:15px 0 17px;

    background:#E34E0A;
}


/* opis */

.pd-realizacja-description{
    color:#999;

    font-size:13px;
    line-height:1.7;
}

.pd-realizacja-description p{
    margin-top:0;
    margin-bottom:12px;
}


/* =========================================
   MINI GALERIA
========================================= */

.pd-realizacja-gallery{
    display:grid;

    grid-template-columns:repeat(3,minmax(0,1fr));

    gap:7px;

    margin-top:18px;
}

.pd-realizacja-gallery a{
    display:block;

    aspect-ratio:1 / 1;

    overflow:hidden;

    background:#181818;

    border:1px solid #292929;
}

.pd-realizacja-gallery img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;

    cursor:zoom-in;

    transition:
        transform .3s ease,
        filter .3s ease;
}

.pd-realizacja-gallery a:hover img{
    transform:scale(1.07);
    filter:brightness(1.08);
}


/* =========================================
   ZOBACZ REALIZACJĘ
========================================= */

.pd-realizacja-more{
    display:flex;
    align-items:center;
    justify-content:space-between;

    margin-top:22px;
    padding-top:17px;

    border-top:1px solid #292929;

    color:#E34E0A;

    font-size:11px;
    font-weight:900;

    text-transform:uppercase;
    letter-spacing:.6px;
}

.pd-realizacja-more span{
    font-size:18px;

    transition:transform .25s ease;
}

.pd-realizacja-card:hover
.pd-realizacja-more span{
    transform:translateX(4px);
}


/* =========================================
   TABLET
========================================= */

@media(max-width:950px){

    .pd-realizacje-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap:18px;
    }

}


/* =========================================
   TELEFON
========================================= */

@media(max-width:620px){

    .pd-realizacje-page{
        padding-top:25px;
        padding-bottom:55px;
    }

    .pd-realizacje-grid{
        grid-template-columns:1fr;

        gap:18px;

        margin-top:30px;
    }

    .pd-realizacja-main-image{
        height:240px;
    }

    .pd-realizacja-card-body{
        padding:21px 20px 20px;
    }

    .pd-realizacja-card-body h2{
        font-size:19px;
    }

}


/* =========================================
   POJEDYNCZA REALIZACJA
========================================= */

.pd-single-realizacja{
    padding-top:50px;
    padding-bottom:70px;
}

.pd-single-realizacja
.pd-realizacja-gallery{
    grid-template-columns:
        repeat(4,minmax(0,1fr));
}

.pd-single-realizacja
.pd-realizacja-gallery img{
    height:180px;
}

@media(max-width:620px){

    .pd-single-realizacja
    .pd-realizacja-gallery{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

}

/* =========================================
   OFERTA - TEKST POD NAGLOWKIEM
========================================= */

.oferta-intro{
    max-width:780px;
    margin-top:28px;
}

.oferta-intro .oferta-lead{
    color:#888;
    margin-bottom:38px;
}

.oferta-intro h2{
    color:#fff;
    font-size:25px;
    line-height:1.25;
    margin:0 0 18px;
}

.oferta-intro p{
    color:#aaa;
    font-size:15px;
    line-height:1.7;
    margin:0 0 14px;
}

.oferta-intro p strong{
    color:#fff;
    font-weight:700;
}

.oferta-wycena{
    display:inline-block;
    margin-top:12px;
}

.oferta-contact{
    margin-top:24px;
    margin-bottom:45px;
    color:#aaa;
    font-size:14px;
    line-height:1.8;
}


.oferta-contact strong{
    color:#fff;
}

.oferta-contact a{
    color:#e34e0a;
    text-decoration:none;
}

.oferta-contact a:hover{
    text-decoration:underline;
}
/* =========================================
   FORMULARZ - DODAWANIE ZDJEC
========================================= */

.pd-photo-upload{
    margin-top:5px;
}

.pd-photo-upload > strong{
    display:block;
    color:#fff;
    margin-bottom:8px;
}

.pd-photo-upload .form-note{
    margin-bottom:12px;
}

.pd-photo-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
}

.pd-photo-row input[type="file"]{
    flex:1;
    width:100%;
    padding:12px;
    border:1px solid #333;
    background:#080808;
    color:#ddd;
}

.pd-add-photo-btn{
    margin-top:4px;
    padding:10px 16px;
    background:transparent;
    color:#e34e0a;
    border:1px solid #e34e0a;
    cursor:pointer;
    font-weight:700;
    font-size:12px;
}

.pd-add-photo-btn:hover{
    background:#e34e0a;
    color:#fff;
}

.pd-remove-photo{
    width:38px;
    height:38px;
    flex:0 0 38px;
    border:1px solid #444;
    background:#111;
    color:#aaa;
    font-size:22px;
    line-height:1;
    cursor:pointer;
}

.pd-remove-photo:hover{
    border-color:#e34e0a;
    color:#e34e0a;
}


/* =========================================
   PAN DETAILER - BANNERY PODSTRON
========================================= */

.inner-hero{
    position:relative;
    min-height:350px;
    padding:50px 0;

    display:flex;
    align-items:center;

    background-color:#080808;
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center center;

    border-bottom:1px solid #252525;
}


/* TABLET I TELEFON */

@media (max-width:720px){

    .inner-hero{
        min-height:280px;
        padding:40px 0;
        background-position:center center;
    }

    .inner-hero h1{
        font-size:38px;
    }

}
/* =========================================
   KONTAKT - MAŁA MAPA W LEWEJ KOLUMNIE
========================================= */

.contact-small-map{
    width:100%;
    margin-top:28px;
}

.contact-small-map iframe{
    display:block;
    width:100%;
    height:210px;
    border:1px solid #292929;
}

.contact-small-map a{
    display:inline-block;
    margin-top:12px;
    color:#e34e0a;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.5px;
}

.contact-small-map a:hover{
    color:#fff;
}
/* =========================================
   OFERTA - WYRÓŻNIENIE WYBRANEJ USŁUGI
========================================= */

.offer-card:target{
    border-color:#E34E0A;
    box-shadow:
        0 0 0 1px #E34E0A,
        0 0 28px rgba(227,78,10,.25);

    transform:translateY(-3px);
}

/* miejsce po przewinięciu - uwzględnia nagłówek */
.offer-card{
    scroll-margin-top:120px;
}
/* =========================================
   STRONA GŁÓWNA - KAFELKI OFERTY ZE ZDJĘCIEM
========================================= */

.service-with-image{
    display:flex;
    flex-direction:column;
    position:relative;
    padding:0;
    min-height:430px;
    overflow:hidden;

    background:#0f0f0f;
    border:1px solid #2b2b2b;

    color:#fff;
    text-decoration:none;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


/* ZDJĘCIE */

.service-with-image .service-image{
    position:relative;
    width:100%;
    height:205px;
    overflow:hidden;
    background:#111;
}

.service-with-image .service-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;

    transition:transform .4s ease;
}


/* CIEMNY GRADIENT NA DOLE ZDJĘCIA */

.service-with-image .service-image-overlay{
    position:absolute;
    inset:0;

    background:linear-gradient(
        to bottom,
        rgba(0,0,0,0) 45%,
        rgba(15,15,15,.95) 100%
    );
}


/* TREŚĆ */

.service-with-image .service-content{
    display:flex;
    flex-direction:column;
    flex:1;

    padding:24px 28px 28px;
}


/* NUMER */

.service-with-image .service-number{
    color:#E34E0A;
    font-size:12px;
    font-weight:900;
    margin-bottom:8px;
}


/* TYTUŁ */

.service-with-image h3{
    color:#fff;
    font-size:18px;
    line-height:1.25;
    text-transform:uppercase;

    margin:0;
}


/* POMARAŃCZOWA KRESKA */

.service-with-image .service-line{
    width:55px;
    height:3px;

    margin:14px 0 16px;

    background:#E34E0A;
}


/* KRÓTKI OPIS */

.service-with-image p{
    color:#aaa;
    font-size:13px;
    line-height:1.65;

    margin:0 0 20px;
}


/* LINK NA DOLE */

.service-with-image .service-more{
    display:block;

    margin-top:auto;

    color:#E34E0A;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
}


/* HOVER */

.service-with-image:hover{
    border-color:#E34E0A;
    transform:translateY(-4px);

    box-shadow:
        0 12px 35px rgba(0,0,0,.35);
}

.service-with-image:hover .service-image img{
    transform:scale(1.05);
}


/* TELEFON */

@media (max-width:720px){

    .service-with-image{
        min-height:0;
    }

    .service-with-image .service-image{
        height:220px;
    }

    .service-with-image .service-content{
        padding:22px;
    }

}
/* =========================================
   PIKTOGRAM NA ZDJĘCIU KAFELKA
========================================= */

.service-with-image .service-image{
    position:relative;
}


/* PIKTOGRAM */

.service-with-image .service-icon{
    position:absolute;

    left:28px;
    bottom:8px;

    width:70px;
    height:70px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0;

    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;

    z-index:5;
}


/* OBRAZEK PIKTOGRAMU */

.service-with-image .service-icon img{
    display:block;

    width:100%;
    height:100%;

    object-fit:contain;
}


/* TELEFON */

@media (max-width:720px){

    .service-with-image .service-icon{
        width:56px;
        height:56px;

        left:18px;
        bottom:16px;

        padding:9px;
    }

}
/* =========================================
   OFERTA - PIKTOGRAM Z OPŁYWAJĄCYM TEKSTEM
========================================= */

.offer-card{
    position:relative;
}


/* OBSZAR TYTUŁU, PIKTOGRAMU I OPISU */

.offer-card-content{
    display:block;
}

.offer-card-content::after{
    content:"";
    display:block;
    clear:both;
}


/* PIKTOGRAM */

.offer-card .offer-card-icon{
    float:left;

    margin:
        0
        22px
        12px
        0;

    padding:0;

    background:transparent;
    border:0;
}

.offer-card .offer-card-icon img{
    display:block;

    width:100%;
    height:100%;

    object-fit:contain;
}


/* TYTUŁ */

.offer-card .offer-card-content h3{
    margin:0 0 8px 0;

    color:#fff;

    font-size:17px;
    line-height:1.3;

    text-transform:uppercase;
}


/* CENA */

.offer-card .offer-card-content .price{
    margin:0 0 10px;

    color:#E34E0A;
}


/* OPIS */

.offer-card .offer-text{
    width:auto;
}

.offer-card .offer-text p{
    margin-top:0;
}


/* TELEFON */

@media (max-width:720px){

    .offer-card .offer-card-icon{
        max-width:85px;
        max-height:85px;

        margin-right:16px;
        margin-bottom:10px;
    }

    .offer-card .offer-card-content h3{
        font-size:16px;
    }

}
/* =========================================
   BANNER MAREK - AUTOMATYCZNY
========================================= */

.brands-banner{
    width:100%;
    background:#080808;
    overflow:hidden;
    padding:18px 0;
}

.brands-track{
    display:flex;
    align-items:center;
}


/* KOMPUTER */

.brands-track img{
    display:block;
    width:min(1400px, 100%);
    height:auto;
    flex:0 0 auto;
    margin:0 auto;
}

/* Druga kopia potrzebna tylko do animacji */
.brands-track img:nth-child(2){
    display:none;
}


/* =========================================
   TABLET
========================================= */

@media (max-width:1000px){

    .brands-banner{
        padding:15px 0;
    }

    .brands-track{
        width:max-content;
        animation:pdBrandsScroll 22s linear infinite;
        will-change:transform;
    }

    .brands-track img{
        display:block;
        width:1100px;
        max-width:none;
        flex:0 0 1100px;
        margin:0;
    }

    .brands-track img:nth-child(2){
        display:block;
    }

}


/* =========================================
   TELEFON
========================================= */

@media (max-width:720px){

    .brands-banner{
        padding:12px 0;
    }

    .brands-track{
        animation-duration:20s;
    }

    .brands-track img{
        width:950px;
        flex-basis:950px;
    }

}


/* =========================================
   PŁYNNA ANIMACJA
========================================= */

@keyframes pdBrandsScroll{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }

}


/* OGRANICZONE ANIMACJE */

@media (prefers-reduced-motion:reduce){

    .brands-track{
        animation:none;
    }

}
/* =========================================
   STRONA GŁÓWNA - AKREDYTACJE
========================================= */

.home-accreditations{
    position:relative;
    background:
        linear-gradient(
            90deg,
            #0b0b0b 0%,
            #111 55%,
            #0b0b0b 100%
        );
    border-top:1px solid #202020;
    border-bottom:1px solid #202020;
}

.home-accreditations-inner{
    min-height:310px;

    display:flex;
    align-items:center;

    padding-top:55px;
    padding-bottom:55px;
}

.home-accreditations-content{
    max-width:720px;
}


/* NAGŁÓWEK */

.home-accreditations h2{
    margin:8px 0 0;

    color:#fff;

    font-size:42px;
    line-height:1;

    text-transform:uppercase;
}


/* POMARAŃCZOWA KRESKA */

.home-accreditations-line{
    width:65px;
    height:3px;

    margin:18px 0 20px;

    background:#E34E0A;
}


/* TEKST */

.home-accreditations p{
    max-width:650px;

    margin:0 0 25px;

    color:#aaa;

    font-size:15px;
    line-height:1.7;
}


/* PRZYCISK */

.home-accreditations .btn{
    margin-top:2px;
}


/* =========================================
   TELEFON
========================================= */

@media (max-width:720px){

    .home-accreditations-inner{
        min-height:0;

        padding-top:45px;
        padding-bottom:45px;
    }

    .home-accreditations h2{
        font-size:34px;
    }

    .home-accreditations p{
        font-size:14px;
    }

}
/* PAN DETAILER — NOWOCZESNE MENU */


header nav a,
.site-header nav a,
.nav a,
.menu a,
.main-navigation a {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

/* Zgoda pod polem opisu - formularz kontaktowy */

.form-grid .pd-consent {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    margin: 8px 0 12px;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.form-grid .pd-consent input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    display: inline-block;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    accent-color: #E34E0A;
}

.form-grid .pd-consent span {
    display: block;
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
    color: #999;
}

/* =========================================
   PAN DETAILER - SOCIAL MEDIA
========================================= */

.pd-social-section{
    padding:65px 0;
    background:#0b0b0b;
    border-top:1px solid #202020;
    border-bottom:1px solid #202020;
}

.pd-social-header{
    text-align:center;
    margin-bottom:35px;
}

.pd-social-header h2{
    margin:8px 0 0;
    color:#fff;
    font-size:34px;
    line-height:1.1;
    text-transform:uppercase;
}

.pd-social-header p{
    max-width:650px;
    margin:0 auto;
    color:#888;
    font-size:14px;
    line-height:1.7;
}

.pd-social-line{
    width:55px;
    height:3px;
    margin:16px auto 18px;
    background:#E34E0A;
}


/* KAFELKI */

.pd-social-links{
    max-width:950px;
    margin:0 auto;

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.pd-social-card{
    min-height:105px;
    padding:20px 22px;

    display:flex;
    align-items:center;
    gap:17px;

    background:#111;
    border:1px solid #292929;

    color:#fff;
    text-decoration:none;

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}


/* IKONA */

.pd-social-icon{
    width:52px;
    height:52px;
    flex:0 0 52px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid #E34E0A;
    border-radius:50%;

    color:#E34E0A;

    font-size:24px;
    font-weight:900;

    transition:.25s ease;
}


/* TEKST */

.pd-social-text{
    display:block;
}

.pd-social-text strong{
    display:block;

    color:#fff;

    font-size:15px;
    font-weight:800;

    text-transform:uppercase;
}

.pd-social-text small{
    display:block;

    margin-top:4px;

    color:#777;

    font-size:11px;
}


/* HOVER */

.pd-social-card:hover{
    transform:translateY(-4px);

    border-color:#E34E0A;

    background:#151515;

    box-shadow:
        0 12px 35px rgba(0,0,0,.35);
}



/* GOOGLE TROCHĘ MOCNIEJ WYRÓŻNIONE */

.pd-google{
    border-color:#3a3a3a;
}

.pd-google .pd-social-icon{
    background:#E34E0A;
    color:#fff;
}


/* TELEFON */

@media(max-width:720px){

    .pd-social-section{
        padding:50px 0;
    }

    .pd-social-header h2{
        font-size:28px;
    }

    .pd-social-links{
        grid-template-columns:1fr;
    }

    .pd-social-card{
        min-height:90px;
    }

}

/* =========================================
   KOLOROWE LOGOTYPY SOCIAL MEDIA
========================================= */

.pd-social-icon svg{
    display:block;
    width:30px;
    height:30px;
}

/* Ramka wokół logo */

.pd-social-card .pd-social-icon{
    background:#0b0b0b;
    border:1px solid #333;

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}

/* Efekt po najechaniu */

.pd-social-card:hover .pd-social-icon{
    background:#151515;
    border-color:#E34E0A;
    transform:scale(1.08);
}

/* =========================================
   FORMULARZ - BŁĄD ROZMIARU ZDJĘĆ
========================================= */

.pd-photo-error{
    margin:12px 0;
    padding:11px 14px;

    background:#1a0d0d;
    border:1px solid #8b3535;

    color:#f0b0b0;

    font-size:12px;
    line-height:1.5;
    font-weight:600;
}

/* =========================================
   PAN DETAILER - GALERIA REALIZACJI
========================================= */

.pd-gallery-page{
    padding:50px 0 80px;
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(255,255,255,.025),
            transparent 32%
        ),
        #080808;
}


/* =========================================
   NAGŁÓWEK
========================================= */

.pd-gallery-intro{
    max-width:850px;
    margin:0 auto 38px;
    text-align:center;
}

.pd-gallery-intro h2{
    margin:10px 0 12px;

    color:#fff;

    font-size:clamp(30px,4vw,44px);
    line-height:1.1;
    font-weight:800;

    text-transform:none;
}

.pd-gallery-intro h2 span{
    color:#E34E0A;
}

.pd-gallery-intro p{
    max-width:720px;
    margin:0 auto;

    color:#999;

    font-size:15px;
    line-height:1.7;
}

.pd-gallery-intro-line{
    width:55px;
    height:3px;

    margin:20px auto 17px;

    background:#E34E0A;
}


/* =========================================
   LICZNIK ZDJĘĆ
========================================= */

.pd-gallery-counter-top{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;

    color:#999;

    font-size:13px;
}

.pd-gallery-counter-top strong{
    color:#fff;
}

.pd-gallery-camera{
    color:#E34E0A;
    font-size:16px;
}

.pd-gallery-dot{
    color:#E34E0A;
}


/* =========================================
   SIATKA GALERII
========================================= */

.pd-main-gallery{
    margin:0;
}

/* =========================================
   GALERIA - RÓWNA SIATKA
========================================= */

.pd-main-gallery .wp-block-gallery{
    display:grid !important;

    grid-template-columns:
        repeat(3,minmax(0,1fr)) !important;

    grid-auto-rows:auto !important;

    gap:16px !important;

    align-items:stretch;
}


/* Wszystkie zdjęcia mają identyczny kafelek */

.pd-main-gallery
.wp-block-gallery
.pd-gallery-item,
.pd-main-gallery
.wp-block-gallery
.pd-gallery-item:nth-child(n){

    grid-column:auto !important;
    grid-row:auto !important;

    width:100% !important;
    max-width:none !important;

    aspect-ratio:16 / 10 !important;

    margin:0 !important;
}

/* Zdjęcie zawsze wypełnia kafel */

.pd-gallery-item > a{
    display:block;
    width:100%;
    height:100%;
}

.pd-gallery-item img{
    width:100% !important;
    height:100% !important;

    object-fit:cover;
}


/* Gutenberg potrafi narzucać szerokość figure */

.pd-main-gallery
.wp-block-gallery
.wp-block-image{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
}


/* =========================================
   KAFEL ZDJĘCIA
========================================= */

.pd-gallery-item{
    position:relative;

    aspect-ratio:16 / 10;

    overflow:hidden;

    background:#111;

    border:1px solid #292929;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.pd-gallery-item > a{
    display:block;
    width:100%;
    height:100%;
    overflow:hidden;
}

.pd-gallery-item img{
    display:block;

    width:100% !important;
    height:100% !important;

    object-fit:cover;

    cursor:zoom-in;

    transition:
        transform .45s ease,
        filter .35s ease;
}


/* =========================================
   IKONA LUPY
========================================= */

.pd-gallery-item::before{
    content:"";

    position:absolute;
    top:14px;
    right:14px;

    width:34px;
    height:34px;

    border-radius:50%;

    background:
        rgba(8,8,8,.75);

    border:1px solid
        rgba(255,255,255,.25);

    z-index:4;

    pointer-events:none;

    backdrop-filter:blur(5px);
}


/* szkło lupy */

.pd-gallery-item::after{
    content:"";

    position:absolute;

    top:23px;
    right:24px;

    width:10px;
    height:10px;

    border:2px solid #fff;
    border-radius:50%;

    z-index:5;

    pointer-events:none;

    box-shadow:
        5px 5px 0 -3px #fff;
}


/* =========================================
   HOVER
========================================= */

.pd-gallery-item:hover{
    transform:translateY(-4px);

    border-color:#E34E0A;

    box-shadow:
        0 15px 35px rgba(0,0,0,.45),
        0 0 0 1px rgba(227,78,10,.08);
}

.pd-gallery-item:hover img{
    transform:scale(1.045);
    filter:brightness(1.07);
}


/* Pomarańczowy akcent na dole zdjęcia */

.pd-gallery-item > a::after{
    content:"";

    position:absolute;
    left:0;
    right:100%;
    bottom:0;

    height:3px;

    background:#E34E0A;

    z-index:3;

    pointer-events:none;

    transition:right .35s ease;
}

.pd-gallery-item:hover > a::after{
    right:0;
}


/* =========================================
   UKRYTE ZDJĘCIA
========================================= */

.pd-gallery-item-hidden{
    display:none !important;
}


/* animacja kolejnej partii */

.pd-gallery-item-show{
    animation:
        pdGalleryReveal .45s ease both;
}

@keyframes pdGalleryReveal{

    from{
        opacity:0;
        transform:translateY(15px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}


/* =========================================
   PRZYCISK POKAŻ WIĘCEJ
========================================= */

.pd-gallery-actions{
    margin-top:38px;
    text-align:center;
}

.pd-gallery-actions[hidden]{
    display:none !important;
}

.pd-gallery-more{
    min-width:390px;

    padding:17px 30px;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    background:
        linear-gradient(
            90deg,
            rgba(227,78,10,.08),
            rgba(227,78,10,.16),
            rgba(227,78,10,.08)
        );

    border:1px solid #E34E0A;

    color:#fff;

    font-size:12px;
    font-weight:800;

    text-transform:uppercase;
    letter-spacing:.4px;

    cursor:pointer;

    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.pd-gallery-more:hover{
    background:#E34E0A;

    transform:translateY(-2px);

    box-shadow:
        0 10px 30px rgba(227,78,10,.18);
}

.pd-gallery-more-arrow{
    font-size:18px;
    line-height:1;
}

.pd-gallery-progress{
    margin-top:12px;

    color:#666;

    font-size:11px;
}

.pd-gallery-actions-complete{
    margin-top:20px;
}


/* =========================================
   BRAK ZDJĘĆ
========================================= */

.pd-gallery-empty{
    color:#888;
    text-align:center;
}


/* =========================================
   TABLET
========================================= */

@media(max-width:900px){

    .pd-gallery-page{
        padding:42px 0 65px;
    }

    .pd-main-gallery .wp-block-gallery{
        grid-template-columns:
            repeat(2,minmax(0,1fr)) !important;

        grid-auto-rows:auto !important;

        gap:12px !important;
    }

    .pd-main-gallery
    .wp-block-gallery
    .pd-gallery-item{
        grid-column:span 1 !important;
        grid-row:span 1 !important;
    }

}


/* =========================================
   TELEFON
========================================= */

@media(max-width:620px){

    .pd-gallery-page{
        padding:35px 0 55px;
    }

    .pd-gallery-intro{
        margin-bottom:28px;
    }

    .pd-gallery-intro h2{
        font-size:30px;
    }

    .pd-gallery-intro p{
        font-size:14px;
    }

    .pd-main-gallery .wp-block-gallery{
        display:grid !important;
        grid-template-columns:1fr !important;
        grid-auto-rows:auto;

        gap:12px !important;
    }

    .pd-main-gallery
    .wp-block-gallery
    .pd-gallery-item,
    .pd-main-gallery
    .wp-block-gallery
    .pd-gallery-item:nth-child(n){
        grid-column:auto !important;
        grid-row:auto !important;

        aspect-ratio:1.35 / 1;
    }

    .pd-gallery-item:hover{
        transform:none;
    }

    .pd-gallery-more{
        width:100%;
        min-width:0;
    }

}


/* =========================================
   OGRANICZENIE ANIMACJI
========================================= */

@media(prefers-reduced-motion:reduce){

    .pd-gallery-item,
    .pd-gallery-item img,
    .pd-gallery-more{
        transition:none;
    }

    .pd-gallery-item-show{
        animation:none;
    }

}

/* =========================================
   GALERIA - FILTRY
========================================= */

.pd-gallery-filters{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;

    gap:10px;

    margin:0 auto 28px;
}

.pd-gallery-filter{
    min-width:150px;

    padding:13px 20px;

    background:#0d0d0d;

    border:1px solid #3a3a3a;

    color:#ddd;

    font-size:11px;
    font-weight:800;

    text-transform:uppercase;
    letter-spacing:.4px;

    cursor:pointer;

    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.pd-gallery-filter:hover{
    border-color:#E34E0A;

    color:#fff;

    transform:translateY(-2px);
}

.pd-gallery-filter.active{
    background:#E34E0A;
    border-color:#E34E0A;

    color:#fff;

    box-shadow:
        0 8px 25px rgba(227,78,10,.18);
}


/* Podpis wykorzystujemy jako kategorię,
   dlatego nie pokazujemy go na zdjęciu */

.pd-main-gallery figcaption{
    display:none !important;
}


/* =========================================
   TABLET
========================================= */

@media(max-width:900px){

    .pd-gallery-filter{
        min-width:135px;
    }

}


/* =========================================
   TELEFON
========================================= */

@media(max-width:620px){

    .pd-gallery-filters{
        display:grid;

        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap:8px;

        margin-bottom:22px;
    }

    .pd-gallery-filter{
        width:100%;
        min-width:0;

        padding:12px 8px;

        font-size:10px;
    }

    .pd-gallery-filter:first-child{
        grid-column:1 / -1;
    }

}

/* ==========================================
   REALIZACJE – WYRÓWNANIE KART I KRÓTKIE OPISY
========================================== */
.pd-realizacje-grid {
    gap:20px;
    align-items:stretch;
}
.pd-realizacja-card { height:100%; }
.pd-realizacja-card-body { min-width:0; }
.pd-realizacja-card-body h2 {
    min-height:3.9em;
    margin-bottom:0;
    line-height:1.3;
}
.pd-realizacja-line { flex-shrink:0; }
.pd-realizacja-description {
    height:4.8em;
    min-height:4.8em;
    max-height:4.8em;
    overflow:hidden;
    margin-bottom:15px;
    line-height:1.6;
}
.pd-realizacja-description p {
    margin:0;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
}
.pd-realizacja-more { margin-top:0; flex-shrink:0; }
.pd-realizacja-gallery:not(.pd-realizacja-extra) { margin-top:10px; }
.pd-realizacja-extra[hidden] { display:none !important; }

/* ==========================================
   LIGHTBOX REALIZACJI – JEDNAKOWE PRZYCISKI
========================================== */
.pd-r-lightbox .pd-r-lightbox-prev,
.pd-r-lightbox .pd-r-lightbox-next,
.pd-r-lightbox .pd-r-lightbox-close {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    border:1px solid transparent !important;
    color:#fff !important;
    box-shadow:none !important;
    line-height:1 !important;
    transition:background .2s ease,border-color .2s ease;
}
.pd-r-lightbox .pd-r-lightbox-prev,
.pd-r-lightbox .pd-r-lightbox-next {
    width:52px !important;
    height:52px !important;
    min-width:52px !important;
    min-height:52px !important;
    font-size:34px !important;
}
.pd-r-lightbox .pd-r-lightbox-close {
    width:44px !important;
    height:44px !important;
    font-size:30px !important;
    top:8px !important;
    right:12px !important;
}
.pd-r-lightbox .pd-r-lightbox-prev { left:8px !important; }
.pd-r-lightbox .pd-r-lightbox-next { right:8px !important; }
.pd-r-lightbox .pd-r-lightbox-prev:hover,
.pd-r-lightbox .pd-r-lightbox-next:hover,
.pd-r-lightbox .pd-r-lightbox-close:hover,
.pd-r-lightbox .pd-r-lightbox-prev:focus-visible,
.pd-r-lightbox .pd-r-lightbox-next:focus-visible,
.pd-r-lightbox .pd-r-lightbox-close:focus-visible {
    background:var(--orange) !important;
    border-color:#fff !important;
}
@media (max-width:991px) {
    .pd-realizacje-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px) {
    .pd-realizacje-grid { grid-template-columns:1fr; }
    .pd-realizacja-card-body h2 { min-height:0; }
    .pd-realizacja-description {
        height:auto;
        min-height:0;
        max-height:none;
    }
    .pd-r-lightbox .pd-r-lightbox-prev,
    .pd-r-lightbox .pd-r-lightbox-next {
        width:42px !important;
        height:42px !important;
        min-width:42px !important;
        min-height:42px !important;
        font-size:28px !important;
    }
    .pd-r-lightbox .pd-r-lightbox-close {
        width:38px !important;
        height:38px !important;
        font-size:26px !important;
    }
}

/* PAN DETAILER – nagłówki polityki prywatności */

body.privacy-policy h2 {
    color: #E34E0A !important;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 38px;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    body.privacy-policy h2 {
        font-size: 21px;
        margin-top: 28px;
    }
}

/* PAN DETAILER — rozwijana oferta */

.pd-offer-accordion {
    align-items: start;
}

.pd-offer-accordion .pd-offer-card {
    min-width: 0;
    height: auto;
    align-self: start;
}

.pd-offer-accordion .pd-offer-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 22px 16px;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: center;
    cursor: pointer;
    font: inherit;
}

.pd-offer-accordion .pd-offer-toggle .offer-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    max-width: 100%;
}

.pd-offer-accordion .pd-offer-toggle .offer-card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pd-offer-accordion .pd-offer-heading {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.pd-offer-accordion .pd-offer-arrow {
    color: #e34e0a;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.pd-offer-accordion .pd-offer-card.is-open {
    border-color: #e34e0a;
}

.pd-offer-accordion .pd-offer-card.is-open .pd-offer-arrow {
    transform: rotate(45deg);
}

.pd-offer-accordion .pd-offer-panel {
    padding: 0 18px 22px;
}

.pd-offer-accordion .pd-offer-panel[hidden] {
    display: none !important;
}

.pd-offer-accordion .pd-offer-panel .offer-card-content {
    display: block;
}

.pd-offer-accordion .pd-offer-toggle:focus-visible {
    outline: 2px solid #e34e0a;
    outline-offset: -3px;
}

@media (max-width: 768px) {
    .pd-offer-accordion .pd-offer-heading {
        font-size: 17px;
    }
}
/* Oferta – zachęta do rozwijania opisu */

.pd-offer-accordion .pd-offer-arrow {
    color: #e34e0a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.5;
    text-transform: uppercase;
    transform: none;
    transition: color 0.2s ease;
}

.pd-offer-accordion .pd-offer-card.is-open .pd-offer-arrow {
    transform: none;
    color: #fff;
}

.pd-offer-accordion .pd-offer-toggle:hover .pd-offer-arrow {
    color: #ff7136;
}
/* Oferta – Zapytaj i Zwiń opis obok siebie */

.pd-offer-accordion .pd-offer-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
}

.pd-offer-accordion .pd-offer-actions .btn {
    width: auto;
    margin: 0;
}

.pd-offer-accordion .pd-offer-close-bottom {
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: #e34e0a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    text-align: left;
}

.pd-offer-accordion .pd-offer-close-bottom:hover {
    background: transparent;
    color: #ff7136;
    text-decoration: underline;
}

/* PAN DETAILER – kompaktowe kafelki oferty */


/* PAN DETAILER – kompaktowe kafelki oferty */

.pd-offer-accordion .pd-offer-toggle {
    min-height: 155px;
    padding: 12px 10px;
    gap: 5px;
    justify-content: center;
}

.pd-offer-accordion .pd-offer-heading {
    min-height: 38px;
    font-size: 16px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pd-offer-accordion .pd-offer-card {
    height: auto;
    align-self: start;
}

@media (max-width: 768px) {
    .pd-offer-accordion .pd-offer-toggle {
        min-height: 150px;
        padding: 12px 10px;
    }
}

/* PAN DETAILER – delikatne przyciemnienie zdjęcia HERO */

.hero {
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 1;
}
/* PAN DETAILER – czytelniejszy napis nad HERO */

.hero .kicker {
    color: #ff8a45 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow:
        0 2px 5px rgba(0,0,0,1),
        0 0 12px rgba(0,0,0,0.9);
}

@media (max-width: 768px) {
    .hero .kicker {
        font-size: 12px !important;
        letter-spacing: 1.2px;
    }
}


/* PAN DETAILER – podstrona O firmie */

.pd-about-page .pd-about-content {
    max-width: 1000px;
    margin: 0 auto;
    color: #d0d0d0;
    font-size: 16px;
    line-height: 1.8;
}

.pd-about-page .pd-about-content h2 {
    color: #ffffff;
    font-size: clamp(24px, 3vw, 34px);
    margin: 38px 0 16px;
}

.pd-about-page .pd-about-content h3 {
    color: #e34e0a;
    font-size: 21px;
    margin: 25px 0 12px;
}

.pd-about-page .pd-about-content p {
    margin-bottom: 18px;
}

.pd-about-page .pd-about-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.pd-about-page .pd-about-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 42px;
}

.pd-about-page .pd-about-contact-btn {
    border: 1px solid #e34e0a;
    color: #ffffff;
    background: transparent;
}

.pd-about-page .pd-about-contact-btn:hover {
    background: #e34e0a;
    color: #ffffff;
}

@media (max-width: 768px) {
    .pd-about-page .pd-about-content {
        font-size: 15px;
    }
}

/* PAN DETAILER – O firmie / właściciel */

/* =========================================
   PAN DETAILER – O FIRMIE
   Treść edytowana w Classic Editor
========================================= */

/* Główna treść strony */

.pd-about-page .pd-about-content {
    max-width: 1200px;
    margin: 0 auto;
    color: #c8c8c8;
    font-size: 16px;
    line-height: 1.8;
}

/* Zdjęcie właściciela + historia */

.pd-about-page .pd-about-owner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: start;
    margin-bottom: 65px;
}

.pd-about-page .pd-about-photo {
    overflow: hidden;
    border: 1px solid #333;
    border-radius: 10px;
}

.pd-about-page .pd-about-photo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Historia Arka */

.pd-about-page .pd-about-story h2 {
    color: #fff;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.2;
    margin: 8px 0 22px;
}

.pd-about-page .pd-about-story p {
    color: #c8c8c8;
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 19px;
}

.pd-about-page .pd-about-story strong {
    color: #fff;
}

/* Pozostała treść pod historią */

.pd-about-page .pd-about-details {
    max-width: 1000px;
    margin: 0 auto;
}

.pd-about-page .pd-about-details h2 {
    color: #fff;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.25;
    margin: 42px 0 18px;
}

.pd-about-page .pd-about-details h3 {
    color: #e34e0a;
    font-size: 21px;
    margin: 28px 0 14px;
}

.pd-about-page .pd-about-details p,
.pd-about-page .pd-about-details li {
    color: #c8c8c8;
    font-size: 16px;
    line-height: 1.8;
}

.pd-about-page .pd-about-details p {
    margin: 0 0 18px;
}

.pd-about-page .pd-about-details ul {
    padding-left: 24px;
    margin-bottom: 24px;
}

.pd-about-page .pd-about-details li {
    margin-bottom: 8px;
}

.pd-about-page .pd-about-details a {
    color: #e34e0a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pd-about-page .pd-about-details a:hover {
    color: #fff;
}

/* =========================================
   RESPONSYWNOŚĆ
========================================= */

@media (max-width: 850px) {

    .pd-about-page .pd-about-owner {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 45px;
    }

    .pd-about-page .pd-about-photo {
        max-width: 600px;
    }

    .pd-about-page .pd-about-story p {
        font-size: 16px;
    }
}

@media (max-width: 600px) {

    .pd-about-page .pd-about-content {
        font-size: 15px;
    }

    .pd-about-page .pd-about-details h2 {
        margin-top: 32px;
    }

    .pd-about-page .pd-about-details p,
    .pd-about-page .pd-about-details li {
        font-size: 15px;
    }
}

/* PAN DETAILER – niezależna wysokość kafelków realizacji */

.pd-realizacje-grid {
    align-items: start !important;
}

.pd-realizacje-grid > .pd-realizacja-card {
    align-self: start !important;
    height: auto !important;
    min-height: 0 !important;
}
/* PAN DETAILER – jednakowa wysokość zdjęć i filmów w realizacjach */

.pd-realizacja-card video,
.pd-realizacja-card .wp-video,
.pd-realizacja-card .wp-video-shortcode {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* Film wyróżniający – bez panelu odtwarzania */

.pd-realizacja-main-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.pd-realizacja-main-video video::-webkit-media-controls {
    display: none !important;
}
 
/* =========================================
   PAN DETAILER - GALERIA PREMIUM
   Dynamiczny układ zdjęć
========================================= */

@media (min-width: 901px) {

    .pd-main-gallery .wp-block-gallery {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        grid-auto-rows: 200px !important;
        grid-auto-flow: row dense;
        gap: 12px !important;
        align-items: stretch;
    }

    .pd-main-gallery .wp-block-gallery .pd-gallery-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: auto !important;
        min-width: 0;
    }

    /* Co dziewiąte zdjęcie jako większy kafelek */
    .pd-main-gallery .wp-block-gallery
    .pd-gallery-item:nth-child(9n + 1) {
        grid-column: span 2 !important;
        grid-row: span 2 !important;
    }

    .pd-main-gallery .wp-block-gallery
    .pd-gallery-item > a {
        width: 100%;
        height: 100%;
    }

    .pd-main-gallery .wp-block-gallery
    .pd-gallery-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }
}

/* ==========================================
   PAN DETAILER - FAQ
   Szablon page-faq.php / baner .inner-hero
========================================== */

.pd-faq-page {
    background: #0b0b0b;
    color: #fff;
}

.pd-faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.pd-faq-category {
    font-size: 21px;
    margin: 42px 0 18px;
    padding-left: 15px;
    border-left: 3px solid var(--orange);
}

.pd-faq-item {
    background: #111;
    border: 1px solid #292929;
    margin-bottom: 10px;
    transition: border-color .2s ease;
}

.pd-faq-item[open] {
    border-color: var(--orange);
}

.pd-faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 700;
}

.pd-faq-item summary::marker {
    content: "";
}

.pd-faq-item summary::-webkit-details-marker {
    display: none;
}

.pd-faq-item summary::after {
    content: "+";
    color: var(--orange);
    font-size: 26px;
    font-weight: 400;
    flex-shrink: 0;
}

.pd-faq-item[open] summary::after {
    content: "−";
}

.pd-faq-item summary:hover {
    color: var(--orange);
}

.pd-faq-item summary:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: -3px;
}

.pd-faq-answer {
    padding: 0 24px 22px;
    color: #bbb;
    line-height: 1.8;
    font-size: 15px;
}

.pd-faq-answer p {
    margin: 0;
}

.pd-faq-answer a {
    color: var(--orange);
}

.pd-faq-contact {
    margin-top: 60px;
    padding: 42px 25px;
    text-align: center;
    background: #151515;
    border-top: 2px solid var(--orange);
}

.pd-faq-contact h2 {
    font-size: 26px;
    margin: 0 0 12px;
}

.pd-faq-contact p {
    color: #aaa;
    line-height: 1.7;
    margin: 0 auto 25px;
    max-width: 600px;
}

.pd-faq-button {
    display: inline-block;
    padding: 16px 26px;
    background: var(--orange);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    transition: background .2s;
}

.pd-faq-button:hover {
    background: var(--orange-dark);
}

@media (max-width: 600px) {
    .pd-faq-category {
        font-size: 18px;
    }

    .pd-faq-item summary {
        padding: 17px 15px;
        font-size: 14px;
    }

    .pd-faq-answer {
        padding: 0 15px 18px;
        font-size: 14px;
    }
/* FAQ – nawigacja po kategoriach */

.pd-faq-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 42px;
}

.pd-faq-navigation a {
    display: inline-block;
    padding: 12px 18px;
    background: #111;
    border: 1px solid #333;
    color: #ddd;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.pd-faq-navigation a:hover,
.pd-faq-navigation a:focus-visible {
    background: #E34E0A;
    border-color: #E34E0A;
    color: #fff;
}

.pd-faq-category {
    scroll-margin-top: 110px;
}

@media (max-width: 720px) {
    .pd-faq-navigation {
        gap: 8px;
    }

    .pd-faq-navigation a {
        padding: 10px 12px;
        font-size: 11px;
    }
}
    .pd-faq-contact {
        padding: 30px 18px;
    }
}

/* FAQ – kafelki nawigacyjne w stylu galerii */

.pd-faq-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 38px 0 50px;
}

.pd-faq-navigation a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 45px;
    padding: 12px 24px;
    background: #111;
    border: 1px solid #383838;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: background .2s ease,
                border-color .2s ease,
                box-shadow .2s ease;
}

.pd-faq-navigation a:hover,
.pd-faq-navigation a:focus-visible,
.pd-faq-navigation a.pd-faq-nav-active {
    background: #E34E0A;
    border-color: #E34E0A;
    color: #fff;
    box-shadow: 0 8px 22px rgba(227, 78, 10, .16);
}

#faq-start,
.pd-faq-category {
    scroll-margin-top: 115px;
}

@media (max-width: 720px) {
    .pd-faq-navigation {
        gap: 8px;
        margin: 28px 0 36px;
    }

    .pd-faq-navigation a {
        padding: 11px 14px;
        min-height: 42px;
        font-size: 11px;
    }
}