/*
Theme Name: Hydrodźwig
Theme URI: https://hydrodzwig.pl/
Author: Hydrodźwig
Description: Dedykowany, responsywny motyw firmowy z obsługą bloga, artykułów i formularza kontaktowego.
Version: 1.2.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: hydrodzwig
*/

:root{--gold:#e5ad35;--gold-dark:#c58b19;--ink:#12111f;--muted:#73737d;--paper:#fff;--soft:#f6f6fa;--line:#e7e7ec;--radius:10px;--shadow:0 18px 45px rgba(19,18,32,.09);--wrap:1320px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Segoe UI",Inter,Arial,sans-serif;font-size:17px;line-height:1.75;-webkit-font-smoothing:antialiased}img{display:block;max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.wrap{width:min(calc(100% - 40px),var(--wrap));margin-inline:auto}.eyebrow{margin:0 0 16px;color:var(--gold);font-size:.84rem;font-weight:800;letter-spacing:.25em;text-transform:uppercase}.section-title{margin:0;color:var(--ink);font-size:clamp(2.2rem,4.4vw,4.6rem);line-height:1.05;letter-spacing:-.045em}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:13px 27px;border:0;border-radius:7px;background:var(--gold);color:#fff;font-weight:800;cursor:pointer;transition:.2s ease}.btn:hover,.btn:focus-visible{background:var(--gold-dark);transform:translateY(-2px)}.btn--dark{background:var(--ink)}.arrow{font-size:1.35em}.rich-text>*:first-child{margin-top:0}.rich-text h2,.rich-text h3{line-height:1.2;letter-spacing:-.025em}.rich-text h2{font-size:2rem}.rich-text h3{font-size:1.5rem}.rich-text p,.rich-text li{color:#666773}.rich-text a{color:var(--gold-dark);text-decoration:underline}.rich-text img{border-radius:var(--radius)}

/* Header — ten sam stabilny układ co w makiecie UDT */
.site-header{position:relative;z-index:50;background:#fff}.header-row{height:148px;display:grid;grid-template-columns:390px 1fr auto;align-items:stretch;gap:28px}.brand{position:relative;display:flex;align-items:center;gap:17px;padding:22px 56px 22px 8px;background:var(--gold);color:#fff;overflow:hidden}.brand::after{content:"";position:absolute;right:-58px;top:0;width:116px;height:100%;background:#fff;transform:skewX(-36deg)}.brand-mark{position:relative;z-index:1;width:86px;height:86px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.83);color:var(--gold);font-size:2rem;font-weight:900}.brand-name{position:relative;z-index:1;font-size:1.25rem;font-weight:850;letter-spacing:.03em}.primary-nav{display:flex;align-items:center;justify-content:center;gap:34px;font-weight:750;white-space:nowrap}.primary-nav a{padding:9px 0;border-bottom:2px solid transparent;transition:.2s}.primary-nav a:hover,.primary-nav a:focus-visible,.primary-nav a[aria-current="page"]{color:var(--gold-dark);border-color:var(--gold)}.header-phones{display:flex;align-items:center;gap:12px}.phone{display:flex;align-items:center;gap:10px;min-height:62px;padding:12px 24px;border-radius:7px;background:var(--gold);color:#fff;font-size:.95rem;font-weight:800}.phone:last-child{background:var(--ink)}.phone::before{content:"☎";color:#ef42a0}.menu-toggle{display:none;align-self:center;width:48px;height:48px;border:0;border-radius:7px;background:var(--ink);color:#fff;font-size:0}.menu-toggle::before{content:"☰";font-size:24px}

/* Heroes */
.home-hero{position:relative;min-height:680px;overflow:hidden;background:var(--ink)}.home-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,17,31,.96) 0%,rgba(18,17,31,.91) 47%,rgba(18,17,31,.35) 68%,rgba(18,17,31,.14) 100%),url(assets/images/hero-home.jpg) right center/64% 100% no-repeat}.hero-inner{position:relative;z-index:1;display:flex;align-items:center;min-height:680px}.hero-copy{max-width:780px;color:#fff}.hero-copy h1{margin:0 0 28px;font-size:clamp(3.4rem,6.1vw,6.6rem);line-height:1.02;letter-spacing:-.055em}.hero-copy p:last-child{max-width:680px;font-size:1.12rem;color:#f3f3f6}.inner-hero{position:relative;min-height:430px;display:grid;place-items:center;text-align:center;color:#fff;background:linear-gradient(rgba(18,17,31,.72),rgba(18,17,31,.72)),url(assets/images/hero-udt.jpg) center 53%/cover no-repeat}.inner-hero h1{margin:0;font-size:clamp(3rem,6vw,5.6rem);line-height:1;letter-spacing:-.05em}.breadcrumbs{display:flex;justify-content:center;gap:16px;margin-top:26px;font-size:1.1rem}.breadcrumbs span{color:var(--gold)}

/* Home */
.home-cards{padding:110px 0}.service-grid{display:grid;grid-template-columns:1.45fr .9fr .9fr;gap:28px}.service-card{min-height:400px;padding:48px;border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);overflow:hidden}.service-card h2,.service-card h3{margin:0 0 20px;font-size:1.8rem;line-height:1.2}.service-card p{color:var(--muted)}.brand-cloud{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:32px}.brand-chip{min-height:86px;display:grid;place-items:center;border:1px solid var(--line);border-radius:7px;font-size:1.4rem;font-weight:900}.service-card--gold{background:linear-gradient(140deg,#fff 68%,#fff7e2)}.service-icon{width:92px;height:92px;margin:35px auto 0;border-radius:50%;display:grid;place-items:center;background:#fff5dc;color:var(--gold);font-size:2.5rem}.about-home{padding:80px 0 130px}.split{display:grid;grid-template-columns:1fr .88fr;gap:100px;align-items:center}.check-list{padding:0;margin:30px 0;list-style:none}.check-list li{position:relative;padding:7px 0 7px 36px;font-weight:700}.check-list li::before{content:"✓";position:absolute;left:0;top:8px;width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:#fff;font-size:.75rem}.image-frame{position:relative;padding:34px 0 0 34px}.image-frame::before{content:"";position:absolute;left:0;top:0;width:76%;height:76%;border-radius:var(--radius);background:var(--gold)}.image-frame img{position:relative;width:100%;aspect-ratio:4/4.1;object-fit:cover;border-radius:var(--radius)}.logos-strip{padding:50px 0;background:var(--ink);color:#fff;overflow:hidden}.logos-track{display:flex;gap:34px;justify-content:center}.logo-tile{flex:0 0 230px;min-height:130px;display:grid;place-items:center;background:#fff;color:#111;font-size:2rem;font-weight:950;border-radius:3px}.posts-home{padding:120px 0 140px;text-align:center}.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:58px;text-align:left}.post-card{overflow:hidden;border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);transition:.25s}.post-card:hover{transform:translateY(-5px)}.post-card img,.post-card__placeholder{width:100%;aspect-ratio:16/9;object-fit:cover;background:url(assets/images/blog-crane.jpg) center/cover}.post-card__body{padding:34px}.post-card h3{margin:0 0 24px;font-size:1.45rem;line-height:1.3}.read-more{display:inline-flex;gap:12px;align-items:center;border-top:1px solid var(--line);padding-top:20px;font-weight:800}.read-more span{color:var(--gold)}

/* Pages */
.page-section{padding:110px 0}.about-intro{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:center}.outlined{color:transparent;-webkit-text-stroke:1px var(--ink);font-size:clamp(3rem,7vw,6.5rem);letter-spacing:.05em;line-height:1}.about-intro img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:var(--radius)}.services-list{margin-top:90px}.service-row{padding:44px 0;border-bottom:1px solid var(--line)}.service-row small{display:block;color:#d0d0d5;font-size:1.4rem;font-weight:900}.service-row h3{margin:7px 0;font-size:1.7rem}.service-row p{max-width:1000px;color:var(--muted)}.udt-lead{background:radial-gradient(circle at 85% 30%,#fff1c9,transparent 35%)}.udt-feature{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.udt-feature img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius)}.faq-shell{display:grid;grid-template-columns:1.2fr .8fr;gap:55px;margin-top:45px;padding:45px;background:var(--soft);border-radius:var(--radius)}.faq-item{margin-bottom:18px;border-radius:8px;background:#fff;border:1px solid #eee}.faq-item button{width:100%;padding:24px 28px;border:0;background:transparent;color:var(--ink);text-align:left;font-weight:800;cursor:pointer}.faq-answer{display:none;padding:0 28px 24px;color:var(--muted)}.faq-item.is-open .faq-answer{display:block}.faq-visual{display:grid;place-items:center;min-height:420px;border-radius:8px;background:#079d42;color:#fff;font-size:3rem;font-weight:950;text-align:center}.contact-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-bottom:100px}.contact-card{padding:48px 30px;border-top:3px solid var(--gold);border-radius:var(--radius);box-shadow:var(--shadow);text-align:center}.contact-card .icon{width:74px;height:74px;margin:0 auto 25px;border-radius:7px;display:grid;place-items:center;background:var(--gold);color:#fff;font-size:2rem}.contact-card h2{font-size:1.35rem}.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:24px}.contact-form .full{grid-column:1/-1}.contact-form input,.contact-form textarea,.search-form input{width:100%;padding:18px 20px;border:1px solid var(--line);border-radius:7px;background:#fff}.contact-form textarea{min-height:180px;resize:vertical}.form-status{grid-column:1/-1;padding:14px 18px;border-radius:7px;background:#e8f7ec;color:#146127}.form-status--error{background:#fdebec;color:#8e202a}

/* Blog */
.blog-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:55px}.blog-list{display:grid;gap:50px}.blog-list .post-card__body{padding:38px}.blog-list .post-card h2{margin-top:0;font-size:2rem}.sidebar{align-self:start;padding:34px;border:1px solid var(--line);border-radius:var(--radius)}.sidebar h2{margin-top:0}.search-form{display:flex}.search-form input{border-radius:7px 0 0 7px}.search-form button{width:60px;border:0;border-radius:0 7px 7px 0;background:var(--gold);color:#fff;font-size:1.2rem}.pagination{margin-top:60px}.pagination .nav-links{display:flex;gap:10px}.pagination .page-numbers{min-width:46px;height:46px;display:grid;place-items:center;border-radius:6px;background:var(--soft);font-weight:800}.pagination .current{background:var(--gold);color:#fff}.article{max-width:930px;margin:0 auto}.article__image{width:100%;max-height:570px;object-fit:cover;margin-bottom:42px;border-radius:var(--radius)}.article__meta{margin-bottom:20px;color:var(--gold-dark);font-weight:700}.article .rich-text{font-size:1.08rem}.article-nav{display:flex;justify-content:space-between;gap:30px;margin-top:70px;padding-top:30px;border-top:1px solid var(--line)}

/* Footer */
.site-footer{position:relative;overflow:hidden;background:var(--ink);color:#fff}.site-footer::after{content:"";position:absolute;right:-5%;top:18%;width:40%;height:70%;opacity:.12;background:repeating-linear-gradient(45deg,transparent 0 58px,#fff 59px 61px)}.footer-grid{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr 1fr;gap:80px;padding:95px 0}.footer-title{margin:0 0 26px;color:var(--gold);font-size:1.2rem}.footer-grid h2{font-size:1.5rem}.footer-grid p,.footer-grid li{color:#f0eff4}.footer-links{padding:0;list-style:none}.footer-links li{margin:12px 0}.footer-links a:hover{color:var(--gold)}.footer-links a::before{content:"›";margin-right:12px;color:var(--gold);font-size:1.5rem}.copyright{position:relative;z-index:1;padding:24px 0;border-top:1px solid rgba(255,255,255,.12);color:#c9c8cf;font-size:.9rem}

@media (max-width:1200px){.header-row{grid-template-columns:330px 1fr auto}.primary-nav{gap:18px;font-size:.9rem}.header-phones .phone:last-child{display:none}.service-grid{grid-template-columns:1fr 1fr}.service-card:first-child{grid-column:1/-1}.split{gap:55px}.blog-layout{grid-template-columns:1fr 300px}}
@media (max-width:900px){body{font-size:16px}.header-row{height:100px;grid-template-columns:240px 1fr auto;gap:12px}.brand{padding:10px 35px 10px 8px}.brand-mark{width:62px;height:62px}.brand-name{font-size:1rem}.menu-toggle{display:block}.primary-nav{position:absolute;left:20px;right:20px;top:90px;display:none;flex-direction:column;align-items:stretch;gap:0;padding:18px;background:#fff;border-radius:8px;box-shadow:var(--shadow)}.primary-nav.is-open{display:flex}.primary-nav a{padding:12px}.header-phones{display:none}.home-hero,.hero-inner{min-height:590px}.home-hero::before{background:linear-gradient(rgba(18,17,31,.87),rgba(18,17,31,.87)),url(assets/images/hero-home.jpg) center/cover}.service-grid,.posts-grid,.contact-cards{grid-template-columns:1fr}.split,.about-intro,.udt-feature,.faq-shell,.blog-layout{grid-template-columns:1fr}.faq-visual{min-height:280px}.sidebar{order:-1}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.about-home{padding-bottom:80px}}
@media (max-width:620px){.wrap{width:min(calc(100% - 28px),var(--wrap))}.header-row{grid-template-columns:1fr auto}.brand{max-width:285px}.home-hero,.hero-inner{min-height:600px}.hero-copy h1{font-size:3.2rem}.inner-hero{min-height:330px}.home-cards,.page-section,.posts-home{padding:75px 0}.service-card{min-height:0;padding:32px}.brand-cloud{grid-template-columns:1fr}.image-frame{padding:18px 0 0 18px}.logos-track{justify-content:flex-start}.contact-form{grid-template-columns:1fr}.contact-form .full{grid-column:auto}.faq-shell{padding:18px}.footer-grid{grid-template-columns:1fr;gap:35px;padding:70px 0}.footer-grid>div:first-child{grid-column:auto}.section-title{font-size:2.5rem}.outlined{font-size:3.5rem}}

/* Wersja 1.1 — mniejsza skala typografii, bez zmiany bazowego tekstu body */
.eyebrow{font-size:.7rem}.section-title{font-size:clamp(1.85rem,3.2vw,3.35rem)}.btn{min-height:48px;padding:11px 22px;font-size:.82rem}.arrow{font-size:1.1em}.rich-text h2{font-size:1.55rem}.rich-text h3{font-size:1.2rem}
.brand{gap:0;padding:0 58px 0 0}.brand-mark,.brand-name{display:none}.brand-logo-image{position:relative;z-index:1;width:100%;max-width:290px;height:auto;object-fit:contain}.primary-nav{gap:28px;font-size:.82rem}.phone{min-height:54px;padding:10px 19px;gap:8px;font-size:.78rem}.phone::before{font-size:.82em}.menu-toggle{width:44px;height:44px}.menu-toggle::before{font-size:20px}
.hero-copy h1{font-size:clamp(2.65rem,4.7vw,5rem)}.hero-copy p:last-child{font-size:.96rem}.inner-hero{min-height:390px;background:linear-gradient(rgba(18,17,31,.72),rgba(18,17,31,.72)),url(assets/images/hero-home.jpg) center/cover no-repeat}.inner-hero h1{font-size:clamp(2.15rem,4vw,3.65rem)}.breadcrumbs{font-size:.88rem}
.service-card{position:relative;padding:42px}.service-card::after{content:none}.service-card h2,.service-card h3{position:relative;z-index:1;font-size:1.28rem}.home-brands-image{width:100%;max-height:270px;margin-top:24px;object-fit:contain}.service-card-image{width:100%;max-height:180px;margin:22px auto 0;object-fit:contain;border-radius:6px}.check-list li{font-size:.92rem}.about-home{background:linear-gradient(180deg,#fff 0%,#fbfaf7 100%)}.logos-strip{position:relative;background:var(--ink) url(assets/images/brand-two-bg.png) center/cover no-repeat}.logos-strip::before{content:none}.logos-track{position:relative;z-index:1}.logo-tile{padding:12px}.logo-tile img{width:100%;height:105px;object-fit:contain}.posts-home{background:#fff}.post-card h3{font-size:1.12rem}.read-more{font-size:.84rem}
.outlined{font-size:clamp(2.3rem,5vw,4.7rem)}.about-service-banner{width:100%;max-height:360px;margin-bottom:30px;border-radius:var(--radius);object-fit:cover}.service-row small{font-size:.98rem}.service-row h3{font-size:1.23rem}.faq-item button{font-size:.88rem}.faq-visual{overflow:hidden;color:transparent;font-size:0}.faq-visual img{width:100%;height:100%;object-fit:cover}.contact-card .icon{width:64px;height:64px;font-size:1.45rem}.contact-card h2{font-size:1.08rem}.form-status{font-size:.9rem}
.contact-form input,.contact-form textarea,.search-form input{font-size:.9rem}
.blog-list .post-card h2{font-size:1.45rem}.sidebar h2{font-size:1.25rem}.search-form button{font-size:1rem}.pagination .page-numbers{font-size:.82rem}.article__meta{font-size:.85rem}.article .section-title{font-size:clamp(1.95rem,3.7vw,3.2rem)!important}.article .rich-text{font-size:1rem}.article-nav{font-size:.85rem}
.site-footer{background:var(--ink) url(assets/images/site-footer-bg.png) center/cover no-repeat}.site-footer::before,.site-footer::after{content:none}.footer-title{font-size:1rem}.footer-grid h2{font-size:1.18rem}.footer-grid p,.footer-grid li{font-size:.9rem}.footer-links a::before{font-size:1.2rem}.copyright{font-size:.78rem}

@media (max-width:1200px){.primary-nav{font-size:.78rem}.brand-logo-image{max-width:255px}}
@media (max-width:900px){.brand{padding:0 38px 0 0}.brand-logo-image{max-width:210px}.primary-nav{font-size:.82rem}.hero-copy h1{font-size:clamp(2.45rem,7vw,3.65rem)}}
@media (max-width:620px){.hero-copy h1{font-size:2.55rem}.section-title{font-size:2.1rem}.inner-hero h1{font-size:2.25rem}.outlined{font-size:2.8rem}}

