/*
Theme Name: TADGEN Aluminium
Version: 1.0.0
Requires at least: 6.8
Requires PHP: 8.4
Description: Autorski motyw strony firmowej TADGEN.
*/
:root{--paper:#f5f5f2;--ink:#262a2e;--muted:#656a70;--line:#d8dbdb;--blue:#304daf;--red:#c64b42;--white:#fff;--dark:#252b31}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased;line-height:1.6}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}img{max-width:100%;height:auto;display:block}button,a,input,textarea,select{outline-offset:5px}a:focus-visible,button:focus-visible{outline:3px solid var(--blue)}a:hover{color:var(--blue)}p{color:var(--muted)}h1,h2,h3{font-weight:500;letter-spacing:-.045em;line-height:1.1;margin:0 0 24px}h1{font-size:clamp(44px,6.3vw,88px)}h2{font-size:clamp(32px,3.2vw,45px)}h3{font-size:26px}em{font-style:normal;color:var(--blue)}.wrap{width:min(1320px,calc(100% - 96px));margin:auto}.topbar{background:var(--dark);color:#d9dde0;font-size:11px;letter-spacing:.035em}.topbar .wrap{display:flex;justify-content:space-between;padding:8px 0}.dot{margin:0 16px;color:#92989e}.header{background:#f8f8f5;border-bottom:1px solid var(--line)}.navrow{height:100px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:14px}.brand>span{font-size:28px;font-weight:750;letter-spacing:.075em;line-height:1.1}.brand small{display:block;font-size:8px;font-weight:500;letter-spacing:.135em;margin-top:7px}nav{display:flex;align-items:center;gap:27px;font-size:13px}.panel-link{border-left:1px solid var(--line);padding-left:23px;color:var(--muted)}.button{background:var(--blue);color:white;display:inline-flex;align-items:center;justify-content:space-between;gap:35px;padding:18px 24px;font-size:13px;font-weight:600;border:1px solid transparent;cursor:pointer;min-height:50px}.button:hover{background:#223983;color:#fff}.button.small{padding:12px 18px;gap:20px}.button.light{background:white;color:var(--ink)}.text-link{font-size:13px;font-weight:600;display:inline-flex;gap:22px;align-items:center;border-bottom:1px solid #aeb3b5;padding:10px 0}.menu-toggle{display:none}.hero{overflow:hidden;background:linear-gradient(115deg,#f4f4f1 35%,#e3e5e4)}.hero-grid{display:grid;grid-template-columns:46% 54%;min-height:655px;align-items:center}.hero-copy{position:relative;z-index:1;padding:60px 0}.eyebrow{font-size:10px;letter-spacing:.15em;font-weight:600;text-transform:uppercase;margin-bottom:25px;color:var(--muted)}.blue-square{display:inline-block;width:7px;height:7px;background:var(--blue);margin-right:8px}.hero h1{font-size:clamp(52px,6.05vw,87px);line-height:.99;letter-spacing:-.06em;margin-bottom:28px}.hero-copy>p{max-width:400px;font-size:15px;line-height:1.8}.hero-actions{display:flex;align-items:center;gap:26px;margin-top:30px}.hero-proof{display:flex;align-items:center;gap:14px;font-size:10px;line-height:1.7;color:var(--muted);margin-top:48px}.hero-proof strong{color:#4b5056;font-weight:400}.proof-line{width:29px;height:1px;background:var(--red)}.hero-visual{height:100%;position:relative;align-self:stretch;margin-right:-48px;overflow:hidden}.hero-visual>img{width:100%;height:100%;object-fit:cover;object-position:48% center;mix-blend-mode:multiply}.image-code,.image-note{position:absolute;font-family:monospace;font-size:9px;letter-spacing:.07em;color:#545b60}.image-code{top:34px;left:26px}.image-note{bottom:20px;right:30px}.finish-tag{position:absolute;bottom:56px;left:24px;display:flex;align-items:center;gap:20px;background:rgba(248,249,247,.88);backdrop-filter:blur(8px);padding:19px 24px;border:1px solid #ffffff9c;font-size:12px;line-height:1.5}.finish-tag strong{font-weight:500}.color-dots{display:flex}.color-dots i{height:19px;width:19px;border:2px solid #eaecea;border-radius:50%;background:#a7aab0;margin-left:-3px}.color-dots i:nth-child(2){background:#383d44}.color-dots i:nth-child(3){background:#295791}.color-dots i:nth-child(4){background:#ba4a31}.spec-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#eceeec}.spec-strip .wrap{display:grid;grid-template-columns:repeat(4,1fr);padding:27px 0}.spec-strip .wrap>div{border-right:1px solid #d0d4d4;padding-left:34px}.spec-strip .wrap>div:first-child{padding-left:0}.spec-strip .wrap>div:last-child{border:0}.spec-strip b{display:block;font-size:23px;font-weight:500;letter-spacing:-.035em}.spec-strip span{font-size:10px;color:var(--muted)}.section{padding-top:90px;padding-bottom:90px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:50px;margin-bottom:32px}.section-heading h2{margin:0;max-width:600px}.section-heading p{font-size:13px;min-width:270px;margin-bottom:3px}.section-heading .eyebrow{margin-bottom:17px}.service-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.service-feature{border:1px solid var(--line);background:#f9f9f6;transition:border-color .2s}.service-feature:hover{border-color:var(--blue)}.feature-image{height:235px;background:#e7e9e7;position:relative;overflow:hidden}.feature-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.service-feature:hover img{transform:scale(1.04)}.feature-1 .feature-image img{object-fit:contain;padding:10px}.feature-image>span{position:absolute;left:14px;bottom:12px;font-size:8px;letter-spacing:.12em;background:#f8f8f0d9;padding:3px 6px;color:#343940}.feature-body{padding:25px}.feature-body .eyebrow{font-size:8px;margin-bottom:15px}.feature-body h3{font-size:24px;display:flex;justify-content:space-between;gap:10px;margin-bottom:14px}.feature-body h3 span{font-size:20px;font-weight:400}.feature-body p{font-size:12px;margin:0}.service-list{display:grid;grid-template-columns:repeat(2,1fr);gap:0 32px;margin-top:32px}.service-list a{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:17px 0;font-size:14px}.service-list span{color:var(--blue)}.all-services{color:var(--blue)}.material-section{background:#e7e9e7;padding:70px 0}.material-grid{display:grid;grid-template-columns:40% 55%;gap:5%;align-items:center}.material-grid p{font-size:14px;max-width:390px}.material-grid figure{margin:0}.material-grid figure img{aspect-ratio:1.4;object-fit:cover}.material-grid figcaption{font-size:9px;color:var(--muted);text-align:right;padding-top:10px}.material-grid small{font-size:10px;color:var(--muted)}.swatches{display:flex;gap:10px;margin:30px 0 10px}.swatches i{display:block;width:37px;height:37px;background:linear-gradient(120deg,#ffffff66,transparent 50%,#00000030),var(--swatch);border-radius:50%;border:1px solid #0000001a}.story{display:grid;grid-template-columns:1fr 1fr;gap:70px}.large-copy{font-size:25px;line-height:1.5;color:var(--ink);letter-spacing:-.025em}.story>div>p:first-child{margin-top:0}.story>div>p:last-child{font-size:14px}.quote-band{background:var(--dark);color:white;padding:65px 0}.quote-band .wrap{display:flex;align-items:center;justify-content:space-between;gap:40px}.quote-band .eyebrow{color:#b3becd}.quote-band h2{font-size:35px;margin-bottom:17px}.quote-band p{color:#bfc5cb;font-size:13px}.quote-band .button{flex-shrink:0}footer{padding:60px 0 0;background:#f0f1ee;font-size:12px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:50px;padding-bottom:40px}.footer-grid h2{font-size:11px;letter-spacing:.05em;font-weight:600;margin-bottom:15px}.footer-grid .brand>span{font-size:24px}.footer-grid .brand small{font-size:7px}.footer-grid p{font-size:12px;line-height:1.9}.footer-phone{font-size:23px;letter-spacing:-.035em}.footer-bottom{border-top:1px solid var(--line);padding:20px 0;display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.page-intro{padding-top:35px;padding-bottom:50px}.breadcrumb{font-size:11px;color:var(--muted);margin-bottom:55px}.breadcrumb a:hover{text-decoration:underline}.page-intro h1{font-size:clamp(42px,5vw,70px);max-width:950px}.title-dot{color:var(--blue)}.page-lead{max-width:800px;font-size:19px;line-height:1.65}.page-body{padding-bottom:90px}.prose{font-size:16px}.prose h2{font-size:30px;margin-top:42px}.prose h3{font-size:23px;margin-top:30px}.prose p{line-height:1.85}.prose a:not(.button):not(.lightbox-link){text-decoration:underline;text-underline-offset:3px}.prose ul{color:var(--muted);padding-left:22px}.prose details{border-top:1px solid var(--line);padding:20px 0}.prose summary{cursor:pointer;font-weight:600;line-height:1.5}.prose details p{margin-bottom:0}.service-directory{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-bottom:90px}.service-directory>a{padding:36px;border:1px solid var(--line);background:#efefec}.service-directory>a:hover{background:#e8ebed}.service-directory h2{font-size:30px;display:flex;justify-content:space-between;gap:16px;margin-bottom:16px}.service-directory .eyebrow{display:block;font-size:9px}.service-directory p{font-size:13px}.service-detail{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:100px;align-items:start}.service-detail article h2:first-child{margin-top:0}.service-aside{background:#e8eae7;padding:22px;position:sticky;top:25px}.service-aside img{aspect-ratio:1.4;object-fit:cover}.service-aside small{display:block;font-size:8px;color:var(--muted);margin:7px 0 24px}.service-aside h2{font-size:29px}.service-aside p{font-size:13px}.service-aside .button{width:100%;gap:15px}.aside-phone{display:block;text-align:center;font-size:11px;padding-top:18px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:30px 0}.gallery figure{margin:0;background:#eceeeb}.gallery img{width:100%;aspect-ratio:1.4;object-fit:cover;transition:opacity .2s}.gallery a:hover img{opacity:.85}.gallery figcaption{padding:16px;font-size:12px;color:var(--ink)}.gallery figcaption span{display:block;color:var(--muted);font-size:9px;margin-top:5px}.related{border-top:1px solid var(--line)}.contact-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:70px}.contact-info h2{font-size:28px}.contact-info>a{font-size:25px;display:block;margin-bottom:8px}.contact-info p{font-size:14px}.contact-info .contact-company{font-size:12px;margin-top:30px}.form-card{background:#e9ebe8;padding:35px}.form-card h2{font-size:28px}.tg-form{display:grid;grid-template-columns:1fr 1fr;gap:20px}.tg-form label{font-size:12px;font-weight:600;display:block}.tg-form input,.tg-form select,.tg-form textarea{display:block;width:100%;background:#fafbf8;border:1px solid #b6bcbc;border-radius:0;padding:13px;margin-top:7px;font-size:14px;color:var(--ink)}.tg-form input:focus,.tg-form textarea:focus,.tg-form select:focus{outline:2px solid var(--blue);outline-offset:1px}.tg-form textarea{min-height:140px;resize:vertical}.full{grid-column:1/-1}.form-note{font-size:11px;color:var(--muted);margin:0}.form-note a{text-decoration:underline}.tg-form .button{justify-self:start}.trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.notice{padding:20px;border-left:3px solid var(--blue);background:#e3e9f2;margin-bottom:25px}.notice.error{border-color:#b33328;background:#fae8e3}.skip{position:fixed;top:-100px;left:10px;background:white;z-index:100;padding:12px}.skip:focus{top:10px}.lightbox{border:0;background:#20252af2;padding:55px 25px 25px;max-width:95vw;max-height:95vh}.lightbox::backdrop{background:#14181beb}.lightbox img{max-height:78vh;max-width:85vw;object-fit:contain}.lightbox-close{position:absolute;right:20px;top:12px;background:none;border:0;color:white;padding:8px;cursor:pointer}.page-body.prose{max-width:1100px}.page-body.prose>.gallery{max-width:100%}
@media(min-width:1600px){.hero-visual{margin-right:0}}
@media(max-width:1150px){.wrap{width:calc(100% - 56px)}nav{gap:17px}.panel-link{display:none}.hero-grid{min-height:600px}.hero-copy{padding:45px 0}.hero-actions{gap:17px;align-items:flex-start;flex-direction:column}.hero-visual{margin-right:-28px}.hero-proof{margin-top:30px}.service-detail{gap:50px;grid-template-columns:minmax(0,1fr) 300px}.feature-body{padding:20px}.feature-body h3{font-size:21px}.feature-image{height:200px}}
@media(max-width:800px){.wrap{width:calc(100% - 40px)}.topbar .wrap>span:first-child{display:none}.topbar .wrap{justify-content:center}.navrow{height:83px}.brand>span{font-size:24px}.brand img{width:42px;height:42px}.brand small{font-size:7px}.menu-toggle{display:flex;align-items:center;gap:12px;background:none;border:1px solid var(--line);padding:9px 12px;font-size:12px}.navrow{position:relative}nav{display:none;position:absolute;top:83px;left:-20px;right:-20px;z-index:20;background:#f8f8f5;padding:25px;box-shadow:0 15px 20px #0001;flex-direction:column;align-items:stretch}nav.open{display:flex}.panel-link{display:block;border:0;padding:0}.hero-grid{grid-template-columns:1fr;min-height:0}.hero-copy{padding:44px 0 30px}.hero h1{font-size:68px}.hero-copy>p{max-width:490px}.hero-actions{flex-direction:row;align-items:center;gap:22px}.hero-proof{margin-top:26px}.hero-visual{margin:0 -20px;height:380px}.hero-visual img{object-position:center 58%}.image-code{top:20px}.finish-tag{bottom:37px;left:20px;padding:13px 18px}.spec-strip .wrap{grid-template-columns:1fr 1fr;gap:20px 0}.spec-strip .wrap>div{padding-left:20px}.spec-strip .wrap>div:nth-child(3){padding-left:0}.spec-strip .wrap>div:nth-child(2){border:0}.spec-strip b{font-size:22px}.section{padding-top:55px;padding-bottom:55px}.section-heading{display:block}.section-heading p{margin-top:20px}.service-feature-grid{grid-template-columns:1fr}.feature-image{height:250px}.feature-body h3{font-size:27px}.service-list{gap:0 22px}.service-list a{font-size:12px}.material-grid{grid-template-columns:1fr;gap:35px}.material-section{padding:50px 0}.material-grid figure img{aspect-ratio:1.5}.story{grid-template-columns:1fr;gap:30px}.large-copy{font-size:22px}.quote-band{padding:45px 0}.quote-band .wrap{display:block}.quote-band h2{font-size:32px}.quote-band .button{margin-top:15px}.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{flex-wrap:wrap;gap:15px}.footer-bottom>span:last-child{width:100%}.page-intro{padding-bottom:30px}.breadcrumb{margin-bottom:35px;font-size:10px}.page-intro .eyebrow{font-size:9px}.page-lead{font-size:17px}.service-directory{grid-template-columns:1fr;gap:15px}.service-directory>a{padding:25px}.service-directory h2{font-size:28px}.service-detail{grid-template-columns:1fr;gap:30px}.service-aside{position:static}.service-aside img{max-height:250px;width:100%;object-fit:cover}.gallery{grid-template-columns:1fr;gap:20px}.contact-grid{grid-template-columns:1fr;gap:30px}.form-card{padding:25px}.page-body{padding-bottom:55px}}
@media(max-width:420px){.hero h1{font-size:60px}.hero-actions{align-items:flex-start;flex-direction:column;gap:10px}.hero-visual{height:320px}.eyebrow{font-size:9px}.spec-strip span{font-size:9px}.spec-strip b{font-size:20px}.service-list{grid-template-columns:1fr}.tg-form{grid-template-columns:1fr}.tg-form>*{grid-column:1}.form-card{padding:22px 18px}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Revision 2 — anodowanie, technical wordmark, service imagery and fine icons. */
@font-face{font-family:Rajdhani;src:url('assets/fonts/Rajdhani-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
.tg-icon{width:22px;height:22px;flex-shrink:0;display:inline-block;vertical-align:middle}.button .tg-icon{width:21px;height:21px}.text-link .tg-icon,.panel-link .tg-icon{width:19px;height:19px;color:var(--blue)}
.brand{position:relative;gap:15px;padding:13px 21px 13px 13px;background:linear-gradient(115deg,#fff,#eaeeed 65%,#f9faf7);border:1px solid #d6dbdf;border-left:3px solid var(--blue);box-shadow:inset 0 1px 0 #fff;flex-shrink:0;isolation:isolate}.brand:after{content:'';position:absolute;right:0;bottom:0;width:26px;height:3px;background:var(--red)}.brand img{width:54px;height:54px}.brand .brand-type{line-height:1;letter-spacing:normal}.brand-type b{display:block;font-family:Rajdhani,Arial,sans-serif;font-size:44px;font-weight:700;line-height:.9;letter-spacing:.075em;color:#293648}.brand .brand-type small{font-family:Arial,sans-serif;font-size:8px;font-weight:600;letter-spacing:.14em;color:#4c5763;margin-top:10px;white-space:nowrap}.navrow{height:116px}nav{gap:24px}.panel-link{display:flex;align-items:center;gap:8px;padding-left:20px}.header{background:#fafbf8}.footer-grid .brand{width:max-content}.footer-grid .brand-type b{font-size:36px}.footer-grid .brand .brand-type small{font-size:7px}.footer-grid .brand img{width:46px;height:46px}.footer-phone{display:inline-flex;align-items:center;gap:10px}.footer-phone .tg-icon{color:var(--blue)}
.hero-proof>.tg-icon{color:var(--blue);width:29px;height:29px}.spec-strip .wrap>div{display:grid;grid-template-columns:32px 1fr;column-gap:12px;align-items:center}.spec-strip .tg-icon{grid-column:1;grid-row:1/3;width:26px;height:26px;color:var(--blue)}.spec-strip b,.spec-strip span{grid-column:2}.feature-body h3 .tg-icon{width:27px;height:27px;color:var(--blue)}.feature-1 .feature-image img{object-fit:cover;padding:0}.service-list a{align-items:center;gap:15px}.service-list .tg-icon{color:var(--blue);width:21px;height:21px}.feature-image>span{font-size:8px;padding:4px 7px;letter-spacing:.1em}
.service-directory{gap:28px}.service-directory>a{padding:0;background:#fafbf8;overflow:hidden}.directory-image{position:relative;aspect-ratio:1.75;background:#e5e8e8;overflow:hidden}.directory-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.service-tile:hover .directory-image img{transform:scale(1.035)}.visual-label{position:absolute;left:18px;top:16px;background:#f8faf2d9;font-size:8px;letter-spacing:.12em;text-transform:uppercase;padding:4px 7px;color:#515961}.service-symbol{position:absolute;right:20px;bottom:20px;width:52px;height:52px;background:#fafbf8ed;border:1px solid #ffffffa8;display:grid;place-items:center;color:var(--blue);backdrop-filter:blur(8px)}.service-symbol .tg-icon{width:30px;height:30px}.directory-copy{padding:28px 30px}.service-directory .eyebrow{margin-bottom:14px}.service-directory h2{font-size:32px;margin-bottom:14px}.service-directory p{margin:0 0 22px;font-size:14px}.service-more{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--blue);font-weight:600;border-top:1px solid var(--line);padding-top:17px}.service-more .tg-icon{width:17px;height:17px}.service-aside .aside-symbol{color:var(--blue);margin-bottom:20px}.aside-symbol .tg-icon{width:32px;height:32px}.service-detail{padding-bottom:60px}.service-aside .button{gap:12px}.related .service-list{margin-top:15px}
.process-section{background:#ecefed;border-top:1px solid #d6dddb;padding:65px 0}.process-section .section-heading h2{font-size:36px}.process-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #cfd7d8;background:linear-gradient(120deg,#f8f9f6,#e6ebeb)}.process-grid article{padding:32px;border-right:1px solid #cfd7d8}.process-grid article:last-child{border:0}.process-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px;color:var(--blue)}.process-top>.tg-icon{width:38px;height:38px;stroke-width:1.1}.process-top>span{font:700 34px Rajdhani,sans-serif;color:#9aaab8}.process-grid h3{font-size:25px;margin-bottom:15px}.process-grid p{font-size:13px;margin:0}.lightbox-close{display:flex;align-items:center;gap:10px}
@media(max-width:1150px){nav{gap:16px}.brand{padding:11px 15px 11px 11px;gap:12px}.brand-type b{font-size:39px}.brand img{width:48px;height:48px}.brand .brand-type small{font-size:7px}.panel-link{display:none}.spec-strip .wrap>div{padding-left:18px;column-gap:8px}.spec-strip b{font-size:21px}}
@media(max-width:800px){.navrow{height:102px}nav{top:102px}.brand{padding:10px 14px 10px 10px;gap:11px}.brand-type b{font-size:37px}.brand img{width:43px;height:43px}.brand .brand-type small{font-size:6.5px;letter-spacing:.12em;margin-top:8px}.menu-toggle{gap:7px;padding:9px}.menu-toggle .tg-icon{width:18px;height:18px}.panel-link{display:flex;padding:0}.spec-strip .wrap>div{grid-template-columns:24px 1fr;column-gap:7px}.spec-strip .tg-icon{width:21px;height:21px}.spec-strip b{font-size:19px}.spec-strip span{font-size:9px}.directory-image{aspect-ratio:1.5}.service-directory>a{padding:0}.directory-copy{padding:23px}.service-directory h2{font-size:29px}.service-directory p{font-size:13px}.process-section{padding:45px 0}.process-section .section-heading h2{font-size:31px}.process-grid{grid-template-columns:1fr}.process-grid article{border-right:0;border-bottom:1px solid #cfd7d8;padding:26px}.process-top{margin-bottom:22px}.process-top>.tg-icon{width:33px;height:33px}.service-detail{padding-bottom:40px}.footer-grid .brand .brand-type small{font-size:6.5px}}
@media(max-width:360px){.brand{padding-right:10px;gap:8px}.brand-type b{font-size:31px}.brand img{width:37px;height:37px}.brand .brand-type small{font-size:5.8px}.menu-toggle{font-size:11px}.spec-strip b{font-size:17px}}
