
:root{--graphite:#42423D;--green:#3B7632;--red:#AA112C;--teuvan:#003E0D;--teuvan2:#7EB439;--soft:#f4f5f2;--line:#dedfd9;}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#20211e;line-height:1.6;background:#fff} a{color:inherit;text-decoration:none} img{max-width:100%;display:block} .container{width:min(1180px,calc(100% - 40px));margin:auto} header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)} .nav{height:78px;display:flex;align-items:center;gap:28px} .nav .brand img{width:118px} .navlinks{display:flex;gap:23px;align-items:center;margin-left:auto;font-size:14px;font-weight:700} .navbtn{background:var(--graphite);color:#fff;padding:12px 18px;border-radius:8px} .hero{padding:86px 0 72px;background:linear-gradient(135deg,#fff 0%,#f5f6f2 100%)} .hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:54px;align-items:center} .eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:12px;font-weight:800;color:var(--green)} h1{font-size:clamp(42px,6vw,72px);line-height:1.02;letter-spacing:-.045em;margin:.18em 0 .3em;color:var(--graphite)} h2{font-size:clamp(30px,4vw,46px);line-height:1.1;letter-spacing:-.03em;color:var(--graphite);margin:0 0 20px} h3{font-size:22px;line-height:1.2;color:var(--graphite)} .lead{font-size:20px;max-width:760px;color:#4a4b47} .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px} .btn{display:inline-block;padding:14px 20px;border-radius:8px;font-weight:800;border:1px solid var(--graphite)} .btn.primary{background:var(--graphite);color:white} .btn.red{background:var(--red);border-color:var(--red);color:white} .btn.green{background:var(--green);border-color:var(--green);color:white} .btn.teuvan{background:var(--teuvan);border-color:var(--teuvan);color:white} .proof{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border-block:1px solid var(--line)} .proof>div{background:#fff;padding:26px 30px;text-align:center} .proof strong{font-size:30px;display:block;color:var(--graphite)} section{padding:78px 0} .soft{background:var(--soft)} .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px} .card{border:1px solid var(--line);border-radius:14px;padding:28px;background:#fff} .card.red{border-top:5px solid var(--red)} .card.green{border-top:5px solid var(--teuvan2)} .num{font-size:12px;font-weight:900;color:#888;letter-spacing:.12em} .brand-card{display:grid;grid-template-columns:1fr 1fr;gap:20px} .brand-panel{min-height:360px;border-radius:18px;padding:38px;display:flex;flex-direction:column;justify-content:space-between} .brand-panel.tdrill{background:#1e1f1d;color:white} .brand-panel.teuvan{background:#f2f7ed;color:#0c2512} .brand-panel img{max-height:72px;max-width:260px;object-fit:contain;object-position:left} .brand-panel.tdrill img{filter:none} .brand-panel h3{color:inherit;font-size:32px;margin:24px 0 8px} .timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:16px} .year{font-size:38px;font-weight:900;color:var(--green)} .team{display:grid;grid-template-columns:repeat(4,1fr);gap:16px} .person{background:#fff;border:1px solid var(--line);padding:24px;border-radius:14px} .role{font-size:13px;font-weight:800;color:var(--green)} .cta{background:var(--graphite);color:white;border-radius:20px;padding:46px} .cta h2{color:white} footer{background:#181916;color:#d8d9d4;padding:50px 0} footer .footergrid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px} .crumb{font-size:13px;color:#777;margin-bottom:18px} .pagehero{padding:60px 0;background:var(--soft)} .pagehero h1{font-size:clamp(38px,5vw,58px)} .content{max-width:850px} .content h2{margin-top:50px} .content li{margin-bottom:8px} .casequote{border-left:4px solid var(--red);padding-left:22px;font-size:22px;font-weight:700;color:var(--graphite)} .techgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px} .techgrid .card{min-height:220px} .mobilemenu{display:none}
@media(max-width:900px){.navlinks{display:none} .mobilemenu{display:block;margin-left:auto} .hero-grid,.brand-card{grid-template-columns:1fr} .proof{grid-template-columns:1fr 1fr} .cards,.team{grid-template-columns:1fr 1fr} .timeline{grid-template-columns:1fr 1fr} .techgrid{grid-template-columns:1fr} footer .footergrid{grid-template-columns:1fr}}
@media(max-width:560px){.container{width:min(100% - 28px,1180px)} .hero{padding:56px 0} section{padding:56px 0} .proof,.cards,.team,.timeline{grid-template-columns:1fr} h1{font-size:42px} .nav{height:68px}}

:root{--navy:#0b2a49;--blue:#245e86;--dc:#0e3559;--dc2:#dfe8f0;--danger:#aa112c}
body{background:#fff}.skip-link{position:absolute;left:-9999px;top:auto}.skip-link:focus{left:16px;top:16px;z-index:999;background:#fff;padding:12px 16px;border:2px solid var(--green)}
.navwrap{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.topnav{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.topnav a{font-size:.94rem}.nav-toggle{display:none}
.hero-media{border-radius:22px;overflow:hidden;min-height:340px;background:#ddd}.hero-media img{width:100%;height:100%;object-fit:cover;display:block}
.media-split{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center}.media-split.reverse{grid-template-columns:.95fr 1.05fr}.media-split img{width:100%;border-radius:18px;display:block}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#d8dcda;border-radius:16px;overflow:hidden}.stat{background:white;padding:28px}.stat strong{display:block;font-size:2rem;color:var(--red)}
.tag{display:inline-block;padding:5px 10px;border-radius:999px;font-size:.78rem;font-weight:700;background:#eef1ef;margin:3px}.tag.red{background:#f7e8ec;color:var(--red)}.tag.green{background:#e8f2e6;color:var(--green)}.tag.blue{background:#e5eef6;color:var(--dc)}
.callout{border-left:6px solid var(--red);background:#f7f7f6;padding:24px;border-radius:0 14px 14px 0}.callout.blue{border-left-color:var(--dc);background:#edf3f8}
.pagehero.dc{background:linear-gradient(135deg,#071d33,#0f416b);color:#fff}.pagehero.dc h1,.pagehero.dc .lead{color:#fff}.pagehero.dc .eyebrow{color:#c8dff2}
.pagehero.industry{background:#f1f4f2}.pagehero.service{background:#f7f2f3}
.download-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border:1px solid #ddd;border-radius:16px;background:#fff}
.teamgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.teamcard img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:16px}.teamcard h3{margin-bottom:4px}.teamcard p{font-size:.94rem}
.article-meta{font-size:.9rem;color:#68716c;margin-bottom:28px}.article-body{max-width:820px}.article-body h2{margin-top:42px}.article-body h3{margin-top:30px}.article-body p,.article-body li{line-height:1.72}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-field{display:flex;flex-direction:column;gap:7px}.form-field.full{grid-column:1/-1}.form-field input,.form-field select,.form-field textarea{width:100%;padding:12px 13px;border:1px solid #b9c0bc;border-radius:9px;font:inherit;background:#fff}.form-field textarea{min-height:130px}.form-note{font-size:.86rem;color:#616963}.route-result{display:none;margin-top:16px;padding:14px;border-radius:10px;background:#e8f2e6}.route-result.show{display:block}
.source-note{font-size:.82rem;color:#6c716f;border-top:1px solid #ddd;padding-top:18px;margin-top:34px}
.internal-only{border:2px dashed #cc8a00;background:#fff8e8;padding:18px;border-radius:12px}.logo-strip{display:flex;gap:28px;align-items:center;justify-content:center;flex-wrap:wrap}.logo-strip img{max-height:58px;max-width:210px}
@media(max-width:980px){.teamgrid{grid-template-columns:repeat(2,1fr)}.media-split,.media-split.reverse{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.nav-toggle{display:inline-flex}.topnav{width:100%;display:none;flex-direction:column;align-items:flex-start}.topnav.open{display:flex}.form-grid{grid-template-columns:1fr}.teamgrid{grid-template-columns:1fr}.stats{grid-template-columns:1fr}.hero-media{min-height:260px}}

.kicker{font-size:.85rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--red)}
.process-steps{counter-reset:step;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.process-step{position:relative;padding:26px 22px 22px;border:1px solid #d8dcda;border-radius:16px;background:#fff}.process-step:before{counter-increment:step;content:counter(step);display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--red);color:white;font-weight:800;margin-bottom:14px}
.checklist{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 28px;padding:0;list-style:none}.checklist li{position:relative;padding-left:27px}.checklist li:before{content:'✓';position:absolute;left:0;color:var(--green);font-weight:900}
.spec-table{width:100%;border-collapse:collapse;background:#fff;border-radius:14px;overflow:hidden}.spec-table th,.spec-table td{padding:14px 16px;border-bottom:1px solid #e1e4e2;text-align:left;vertical-align:top}.spec-table th{background:#eef1ef;width:34%}
.notice{padding:18px 20px;border-radius:12px;background:#fff6e5;border:1px solid #efcd87}.notice strong{display:block;margin-bottom:5px}
.badge-row{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.badge{padding:8px 12px;border-radius:999px;background:#eef1ef;font-weight:700;font-size:.88rem}
.media-caption{font-size:.82rem;color:#66706a;margin-top:8px}
.form-field.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-status{display:none;margin-top:14px;padding:14px;border-radius:10px}.form-status.show{display:block}.form-status.ok{background:#e8f2e6;color:#285b23}.form-status.error{background:#f8e5e9;color:#891027}
.data-owner{font-size:.84rem;color:#5c655f;margin-top:7px}
@media(max-width:980px){.process-steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.process-steps,.checklist{grid-template-columns:1fr}.download-card{align-items:flex-start;flex-direction:column}}

/* v0.5: final media audit + conversion tools */
.content-wide{max-width:980px}.hero-media.product{background:linear-gradient(145deg,#f4f5f2,#e9ebe7);display:grid;place-items:center;padding:28px}.hero-media.product img{object-fit:contain;max-height:500px}.team-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.team-photo-grid img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px}.roi-visual{display:grid;grid-template-columns:auto auto auto auto auto;align-items:center;justify-content:center;gap:14px;padding:34px;border:1px solid #d9dcda;border-radius:18px;background:#fff;text-align:center}.roi-visual strong{font-size:1.05rem;color:var(--graphite)}.roi-visual span{font-size:1.7rem;color:var(--red);font-weight:900}.roi-results{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:#d8dcda;border-radius:16px;overflow:hidden;margin:30px 0}.roi-results .stat{min-width:0}.roi-results .stat strong{font-size:1.55rem;word-break:break-word}.detail-form{max-width:1000px}.privacy-mini{font-size:.86rem;color:#606863}.link-card{transition:transform .15s ease,border-color .15s ease}.link-card:hover{transform:translateY(-2px);border-color:#aeb4b0}
@media(max-width:980px){.roi-results{grid-template-columns:repeat(2,1fr)}.roi-visual{grid-template-columns:1fr}.roi-visual span{transform:rotate(90deg)}}
@media(max-width:640px){.roi-results{grid-template-columns:1fr}.team-photo-grid{grid-template-columns:1fr 1fr}}


/* v0.6 Content & Visual Freeze */
body{overflow-wrap:break-word} .brand img{height:auto}.footer-logo{max-width:190px;height:auto}.footer-brand-link{font-weight:900;color:#fff;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.source-link,.partner-links a,.domain-note a{font-weight:750;text-decoration:underline;text-underline-offset:3px}.external::after{content:""}.staging-note{color:#aeb3ad}.partner-links{text-align:center}.domain-note{width:min(1180px,calc(100% - 40px));margin:0 auto 40px}.hero-media img{object-position:center}.pagehero .lead{max-width:700px}.card p:last-child{margin-bottom:0}.topnav a:focus-visible,.btn:focus-visible,.source-link:focus-visible,.footer-brand-link:focus-visible{outline:3px solid #7EB439;outline-offset:3px}.btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;text-align:center}.teamcard img{object-position:center top}.article-body a:not(.btn){text-decoration:underline;text-underline-offset:3px}.download-card h2,.download-card h3{margin-top:0}.download-card p{margin-bottom:0}.source-note{line-height:1.55}.proof>div{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:116px}.proof>div:not(:first-child){border-left:0}.pagehero{padding:68px 0}.pagehero .media-split{min-height:420px}.hero-media.product{min-height:360px}.hero-media.product img{width:auto;max-width:100%;height:auto}.cards .card{height:100%}.process-step h3{margin-top:0}.footergrid p{margin:.65rem 0 0}.footergrid{align-items:start}.topnav{margin-left:auto}.brand img{width:118px}.navwrap{min-height:78px}.nav-toggle{margin-left:auto}.notice{line-height:1.6}
@media(max-width:980px){.pagehero .media-split{min-height:0}.topnav{margin-left:0}.hero-media.product{min-height:300px}.pagehero{padding:54px 0}.proof>div{min-height:100px}}
@media(max-width:760px){.navwrap{min-height:68px;padding:9px 0}.brand img{width:104px}.topnav{padding:8px 0 18px}.topnav a{width:100%;padding:8px 0}.topnav .btn{width:100%}.pagehero{padding:44px 0}.pagehero h1,h1{font-size:clamp(34px,10.2vw,44px);line-height:1.04}.lead{font-size:18px}.hero-media{min-height:230px;border-radius:16px}.hero-media.product{min-height:260px;padding:18px}.actions{gap:10px}.actions .btn{flex:1 1 220px}.proof strong{font-size:27px}.card{padding:22px}.download-card{padding:20px}.roi-visual{padding:22px}.container{width:min(100% - 28px,1180px)}.domain-note{width:min(100% - 28px,1180px)}section{padding:54px 0}.footergrid{gap:24px}}
@media(max-width:420px){.pagehero h1,h1{font-size:clamp(32px,10vw,39px)}h2{font-size:clamp(27px,8.5vw,34px)}.lead{font-size:17px}.btn{width:100%}.actions{display:grid;grid-template-columns:1fr}.proof>div{padding:20px 16px}.proof strong{font-size:25px}.teamcard img{border-radius:12px}.hero-media.product{min-height:220px}.spec-table{font-size:.92rem}.spec-table th,.spec-table td{padding:11px}}
/* v0.6 nav visibility fix: .btn rule must not expose the mobile toggle on desktop */
.nav-toggle{display:none!important}
@media(max-width:760px){.nav-toggle{display:inline-flex!important}}
/* Stage B conversion layer v0.6.1 */
.roi-scenario-note{margin:18px 0 0}.roi-results strong.negative{color:#9b1c1c}.error-text{color:#9b1c1c!important;font-weight:700}.thank-ref{display:inline-block;margin:8px 0 20px;padding:8px 12px;border-radius:8px;background:#eef1ec;font-weight:800;letter-spacing:.04em}.conversion-note{max-width:800px}.hp{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.form-status.error{color:#9b1c1c}.form-status.ok{color:#27622f}


/* v0.7 privacy + consent */
.legal-content{max-width:960px}.legal-content .spec-table th{width:31%}.legal-content code{font-size:.9em;background:#f0f2ef;padding:2px 5px;border-radius:5px}.privacy-inline{font-size:.88rem;line-height:1.55;color:#4f5852;padding:14px 16px;border:1px solid #d8dcda;background:#f6f7f5;border-radius:10px}.privacy-inline a{text-decoration:underline;text-underline-offset:3px}.privacy-ack{display:flex!important;align-items:flex-start;gap:10px}.privacy-ack input{width:auto!important;margin-top:.3em}.consent-banner{position:fixed;z-index:1000;left:18px;right:18px;bottom:18px;background:#fff;border:1px solid #cfd4d0;border-radius:16px;box-shadow:0 12px 42px rgba(0,0,0,.22);padding:18px}.consent-inner{width:min(1180px,100%);margin:auto;display:flex;gap:24px;align-items:center;justify-content:space-between}.consent-inner p{margin:.4rem 0 0;max-width:720px}.consent-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.consent-modal-backdrop{position:fixed;z-index:1100;inset:0;background:rgba(0,0,0,.55);display:grid;place-items:center;padding:18px}.consent-modal{position:relative;background:#fff;width:min(720px,100%);max-height:90vh;overflow:auto;border-radius:18px;padding:30px;box-shadow:0 18px 50px rgba(0,0,0,.32)}.consent-close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:32px;line-height:1;cursor:pointer}.consent-option{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:18px 0;border-top:1px solid #e0e3e1}.consent-option p{margin:.3rem 0 0;color:#5b635e}.consent-required{font-size:.85rem;font-weight:800;color:var(--green);white-space:nowrap}.consent-toggle input{width:24px;height:24px;flex:0 0 auto}.link-button{border:0;background:transparent;color:inherit;font:inherit;padding:0;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.footer-legal{display:flex;gap:14px;flex-wrap:wrap;margin:18px 0}.footer-legal a,.footer-legal button{color:#d8d9d4}.consent-banner[hidden],.consent-modal-backdrop[hidden]{display:none!important}
@media(max-width:760px){.consent-inner{align-items:flex-start;flex-direction:column}.consent-actions{width:100%}.consent-actions .btn{flex:1 1 190px}.consent-modal{padding:26px 20px}.consent-option{align-items:flex-start}.legal-content .spec-table{display:block;overflow-x:auto}.legal-content .spec-table th{width:auto}}

/* v0.7.3 — IMAGE RATIO AUDIT / no vertical stretching */
img{height:auto}
.hero-media:not(.product){aspect-ratio:4/3;min-height:0}
.hero-media:not(.product) img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero-media.product{aspect-ratio:4/3;min-height:0;height:auto;overflow:hidden}
.hero-media.product img{width:100%;height:100%;max-height:none;object-fit:contain;object-position:center}
.media-split>img{width:100%;height:auto;object-fit:contain}
.teamcard img,.team-photo-grid img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;object-position:center top}
.brand img,.footer-logo,.brand-panel img,.logo-strip img{height:auto;object-fit:contain}
@media(max-width:760px){.hero-media,.hero-media.product{aspect-ratio:4/3;min-height:0}}

/* =========================================================
   TARGA v0.7.3.2 — navigation hover + shared HOME hero
   ========================================================= */
.topnav li{list-style:none;margin:0;padding:0}
.topnav{gap:4px}
.topnav a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 12px;border-radius:8px;font-weight:700;transition:background-color .18s ease,color .18s ease,transform .18s ease}
.topnav a:hover,.topnav a:focus-visible{background:#eceee9;color:#42423d;transform:translateY(-1px)}
.topnav a[href*="/t-drill/"]:hover,.topnav a[href*="/t-drill/"]:focus-visible{background:#aa112c;color:#fff}
.topnav a[href*="/teuvan/"]:hover,.topnav a[href*="/teuvan/"]:focus-visible{background:#005b22;color:#fff}
.topnav a[href*="/kontakt/"]{background:#aa112c;color:#fff;padding-left:18px;padding-right:18px}
.topnav a[href*="/kontakt/"]:hover,.topnav a[href*="/kontakt/"]:focus-visible{background:#8e0e25;color:#fff}
.home .pagehero .hero-media{aspect-ratio:4/3;overflow:hidden;background:#eef0ed}
.home .pagehero .hero-media img{width:100%;height:100%;object-fit:cover;object-position:center center}
@media(max-width:760px){.topnav{gap:4px}.topnav a{width:100%;justify-content:flex-start;padding:10px 12px}.home .pagehero .hero-media img{object-fit:cover;object-position:center center}}


/* =========================================================
   TARGA v0.7.3.3 — ETAP 2: HOME desktop/mobile audit fixes
   ========================================================= */

/* WordPress admin bar + sticky header: keep the navigation visible while logged in. */
.admin-bar header{top:32px}
@media(max-width:782px){.admin-bar header{top:46px}}

/* Home cards: stable grid, equal-height cards and predictable logo sizing. */
.home .cards{align-items:stretch}
.home .cards>.card{display:flex;min-width:0;flex-direction:column;height:100%}
.home .cards>.card>img{display:block;width:auto!important;height:72px!important;max-width:100%;max-height:72px!important;object-fit:contain;object-position:left center;margin:0 0 18px}
.home .cards:has(>.card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.home .cards:has(>.card:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
.home a.card{transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}
.home a.card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(24,25,22,.08)}
.home a.card:focus-visible{outline:3px solid #7EB439;outline-offset:3px}

/* CTA buttons: consistent interaction states. */
.btn{transition:transform .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease}
.btn:hover{transform:translateY(-1px)}
.btn.red:hover{background:#8e0e25;border-color:#8e0e25}
.btn.teuvan:hover{background:#005b22;border-color:#005b22}

/* Tablet navigation switches to the explicit menu button before links start wrapping. */
@media(max-width:980px){
  .navwrap{min-height:68px;padding:9px 0}
  .nav-toggle{display:inline-flex!important;margin-left:auto}
  .topnav{display:none;width:100%;margin-left:0;padding:8px 0 18px;flex-direction:column;align-items:stretch;gap:4px}
  .topnav.open{display:flex}
  .topnav a{width:100%;min-height:44px;justify-content:flex-start;padding:10px 12px}
  .home .cards,.home .cards:has(>.card:nth-child(2):last-child),.home .cards:has(>.card:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Phone: one-column content cards, but keep proof points compact as a 2×2 grid. */
@media(max-width:560px){
  .home .cards,.home .cards:has(>.card:nth-child(2):last-child),.home .cards:has(>.card:nth-child(4):last-child){grid-template-columns:1fr}
  .home .proof{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home .proof>div{min-height:112px;padding:18px 12px;font-size:.9rem;line-height:1.35}
  .home .proof strong{font-size:26px}
  .home .cards>.card>img{height:64px!important;max-height:64px!important}
}
@media(max-width:340px){.home .proof{grid-template-columns:1fr}}


/* =========================================================
   TARGA v0.7.3.4 — ETAP 2 FINAL: desktop + mobile polish
   ========================================================= */

/* Home: cleaner vertical rhythm after the responsive audit. */
.home .cards>.card:not(:has(>img)) h3{margin-top:0;margin-bottom:14px}
.home .cards>.card:not(:has(>img)) p{margin-top:0}
.home section.soft .cards:has(>.card:nth-child(4):last-child)>.card{padding:24px 26px}
.home .media-split{gap:30px}
.home .media-split>div>.btn{margin-top:8px}

/* Practical knowledge: compact, clearly clickable cards. */
.home section:not(.soft) .cards:has(>.card:nth-child(3):last-child)>.card:not(:has(>img)){
  min-height:136px;
  justify-content:center;
}

/* Footer: the dark original TARGA logo needs a light plate for contrast. */
footer .footer-logo{
  width:160px;
  max-width:160px;
  padding:10px 14px;
  background:#fff;
  border-radius:12px;
}
footer .footer-legal{align-items:center}
footer .footer-legal a,footer .footer-legal button{font-weight:600}

/* Keep section headings clear of the sticky header when arriving from anchors. */
.home section{scroll-margin-top:110px}

@media(max-width:760px){
  /* Slightly denser phone layout without making it feel cramped. */
  .home .pagehero{padding:42px 0 48px}
  .home .pagehero h1{font-size:clamp(34px,9.4vw,39px);line-height:1.05}
  .home .pagehero .lead{margin-bottom:0}
  .home .pagehero .actions{margin-top:22px}
  .home .media-split{gap:24px}
  .home section.soft .cards:has(>.card:nth-child(4):last-child)>.card{padding:20px 22px}
  .home section.soft .cards:has(>.card:nth-child(4):last-child)>.card h3{margin-bottom:10px}
  footer{padding:42px 0}
  footer .footer-logo{width:148px;max-width:148px}
  footer .footer-legal{gap:12px 16px;margin:20px 0 8px}
}

@media(max-width:420px){
  /* On narrow phones stack the hero CTAs; wider phones keep the two-button row. */
  .home .pagehero .actions{grid-template-columns:1fr}
}

/* Stage 3A functional QA */
.form-context{margin:0 0 18px;padding:12px 14px;border:1px solid #c9d8c4;border-radius:10px;background:#f2f7ed;color:#234a2a;font-weight:800}


/* === Etap 3A.1: czytelny kalkulator ROI === */
.roi-guide{margin:0 0 26px;padding:22px 24px;border:1px solid #d9dcda;border-radius:16px;background:#f7f8f5}.roi-guide h2{margin:0 0 12px;font-size:1.45rem}.roi-guide ol{margin:0 0 12px;padding-left:22px}.roi-guide li{margin:7px 0}.roi-guide p{margin:0;color:#535b56}.roi-calculator{display:grid;gap:24px}.roi-section{padding:24px;border:1px solid #d9dcda;border-radius:18px;background:#fff}.roi-section-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:20px}.roi-section-head h2{margin:0 0 4px;font-size:1.55rem}.roi-section-head p{margin:0;color:#616963}.roi-step{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:var(--graphite);color:#fff;font-weight:900}.roi-section:nth-child(2) .roi-step{background:var(--red)}.roi-section:nth-child(3) .roi-step{background:#2f7d32}.roi-section .form-note{display:block;line-height:1.45}.roi-result-heading{margin-top:34px}.roi-result-heading h2{margin:0 0 4px}.roi-result-heading p{margin:0;color:#616963}
@media(max-width:760px){.roi-guide,.roi-section{padding:18px}.roi-section-head{gap:10px}.roi-section-head h2{font-size:1.35rem}.roi-step{flex-basis:32px;width:32px;height:32px}.roi-result-heading{margin-top:26px}}


/* =========================================================
   TARGA v0.7.3.7 — page grid cleanup + centered business logos
   ========================================================= */

/* Generic pages built from HTML blocks: disable wpautop side-effects at template level,
   then keep card grids aligned and stretched evenly. */
.cards{align-items:stretch}
.cards>.card{display:flex;flex-direction:column;min-width:0;height:100%}
.techgrid{align-items:stretch}
.techgrid>.card{display:flex;flex-direction:column;min-width:0;height:100%}

/* Homepage: in "Dwie linie biznesowe" keep the same logo size, but center it horizontally. */
.home .cards>.card>img{margin:0 auto 18px;object-position:center center;align-self:center}

/* Slightly nicer card rhythm on section pages after removing injected paragraph wrappers. */
.page .cards>.card h2,.page .cards>.card h3,.single .cards>.card h2,.single .cards>.card h3{margin-top:0}
.page .cards>.card p:last-child,.single .cards>.card p:last-child{margin-bottom:0}


/* =========================================================
   TARGA v0.7.3.8 — interactive UX + badge cleanup + semantic QA
   ========================================================= */

/* Flex cards must not stretch small category badges across the whole card. */
.card>.tag,
.techgrid .card>.tag{
  align-self:flex-start;
  width:auto;
  max-width:max-content;
  flex:0 0 auto;
}

/* Every clickable card gets a visible but restrained interaction. */
a.card{
  position:relative;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease;
}
a.card:hover,
a.card:focus-visible{
  transform:translateY(-3px);
  border-color:#c9cdca;
  box-shadow:0 12px 30px rgba(31,33,30,.10);
}

/* T-DRILL family: red edge/glow. */
a.card.red:hover,
a.card.red:focus-visible,
a.card[href^="/t-drill/"]:hover,
a.card[href^="/t-drill/"]:focus-visible,
a.card[href^="/technologie/"]:hover,
a.card[href^="/technologie/"]:focus-visible,
a.card[href^="/uslugi/"]:hover,
a.card[href^="/uslugi/"]:focus-visible,
a.card[href^="/branze/"]:hover,
a.card[href^="/branze/"]:focus-visible,
a.card[href^="/realizacje/"]:hover,
a.card[href^="/realizacje/"]:focus-visible,
a.card[href^="/baza-wiedzy/"]:hover,
a.card[href^="/baza-wiedzy/"]:focus-visible,
a.card[href^="/serwis/"]:hover,
a.card[href^="/serwis/"]:focus-visible,
a.card[href^="/wyslij-detal/"]:hover,
a.card[href^="/wyslij-detal/"]:focus-visible,
a.card[href^="/kalkulator-roi-t-drill/"]:hover,
a.card[href^="/kalkulator-roi-t-drill/"]:focus-visible{
  border-color:rgba(170,17,44,.52);
  box-shadow:0 12px 32px rgba(170,17,44,.16),0 0 0 1px rgba(170,17,44,.08);
}

/* Teuvan family: green edge/glow. */
a.card.green:hover,
a.card.green:focus-visible,
a.card[href^="/teuvan/"]:hover,
a.card[href^="/teuvan/"]:focus-visible,
a.card[href*="teuvan.pl"]:hover,
a.card[href*="teuvan.pl"]:focus-visible{
  border-color:rgba(126,180,57,.65);
  box-shadow:0 12px 32px rgba(64,125,42,.18),0 0 0 1px rgba(126,180,57,.12);
}

/* Buttons and controls react as well. */
.btn,
button,
input[type="submit"]{
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease;
}
.btn:hover,.btn:focus-visible,
button:hover,button:focus-visible,
input[type="submit"]:hover,input[type="submit"]:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 7px 18px rgba(31,33,30,.10);
}
.btn.red:hover,.btn.red:focus-visible{
  box-shadow:0 8px 22px rgba(170,17,44,.24);
}
.btn.teuvan:hover,.btn.teuvan:focus-visible,
.btn.green:hover,.btn.green:focus-visible{
  box-shadow:0 8px 22px rgba(64,125,42,.24);
}

/* Inline links: visible reaction without turning every sentence into a button. */
#main a:not(.btn):not(.card),
footer a,
footer button.link-button{
  transition:color .18s ease,text-decoration-color .18s ease,opacity .18s ease;
  text-decoration-color:transparent;
  text-underline-offset:3px;
}
#main a:not(.btn):not(.card):hover,
#main a:not(.btn):not(.card):focus-visible,
footer a:hover,footer a:focus-visible,
footer button.link-button:hover,footer button.link-button:focus-visible{
  text-decoration:underline;
  text-decoration-thickness:2px;
}
#main a[href*="t-drill.com"]:hover,
#main a[href*="t-drill.com"]:focus-visible,
footer a[href*="t-drill.com"]:hover,
footer a[href*="t-drill.com"]:focus-visible{
  color:#d63a54;
}
#main a[href*="teuvan.pl"]:hover,
#main a[href*="teuvan.pl"]:focus-visible,
footer a[href*="teuvan.pl"]:hover,
footer a[href*="teuvan.pl"]:focus-visible{
  color:#7EB439;
}

/* Brand cards on HOME: centered logos, same sizing, no horizontal drift. */
.home .cards>.card>img{
  margin-left:auto;
  margin-right:auto;
  align-self:center;
  object-position:center center;
}

/* Keyboard focus is visible on all interactive components. */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid rgba(59,118,50,.55);
  outline-offset:3px;
}


/* =========================================================
   TARGA v0.7.3.9 — T-DRILL page polish
   ========================================================= */
.targa-page-t-drill .pagehero .actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  max-width:520px;
  gap:12px;
}
.targa-page-t-drill .pagehero .actions .btn{width:100%}
.targa-page-t-drill .techgrid .card{position:relative}
.targa-page-t-drill .techgrid a.card::after{
  content:'→';
  position:absolute;
  right:22px;
  top:22px;
  color:var(--red);
  font-size:1.15rem;
  font-weight:900;
  opacity:0;
  transform:translateX(-5px);
  transition:opacity .18s ease,transform .18s ease;
}
.targa-page-t-drill .techgrid a.card:hover::after,
.targa-page-t-drill .techgrid a.card:focus-visible::after{opacity:1;transform:translateX(0)}

@media(max-width:640px){
  .targa-page-t-drill .pagehero .actions{max-width:none;grid-template-columns:repeat(2,minmax(0,1fr))}
  .targa-page-t-drill .techgrid .card{min-height:0;padding:24px 28px}
  .targa-page-t-drill .techgrid .card h3{margin-bottom:12px}
  .targa-page-t-drill .process-step{padding:20px 22px}
  .targa-page-t-drill .process-step:before{width:34px;height:34px;margin-bottom:10px}
  .targa-page-t-drill .process-step h3{margin-bottom:10px}
}
@media(max-width:390px){
  .targa-page-t-drill .pagehero .actions{grid-template-columns:1fr}
}


/* =========================================================
   TARGA v0.7.4.0 — shared template for all T-DRILL technologies
   ========================================================= */

/* One visual rhythm for the six technology detail pages. */
.targa-technology-page .targa-technology-template .pagehero{
  padding:68px 0 72px;
  background:linear-gradient(135deg,#f7f8f5 0%,#f2f3ef 100%);
}
.targa-technology-page .targa-technology-template .pagehero .media-split{
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  gap:52px;
  min-height:430px;
  align-items:center;
}
.targa-technology-page .targa-technology-template .pagehero .eyebrow{
  color:var(--green);
}
.targa-technology-page .targa-technology-template .pagehero h1{
  max-width:760px;
}
.targa-technology-page .targa-technology-template .pagehero .lead{
  max-width:720px;
}

/* Three consistent next steps on desktop; on phones: 2 + full-width source. */
.targa-technology-page .targa-technology-template .pagehero .actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  max-width:760px;
  margin-top:26px;
}
.targa-technology-page .targa-technology-template .pagehero .actions .btn{
  width:100%;
  min-width:0;
  padding-inline:14px;
}
.targa-technology-page .targa-technology-template .pagehero .actions .btn.external{
  color:var(--graphite);
}
.targa-technology-page .targa-technology-template .pagehero .actions .btn.external:hover,
.targa-technology-page .targa-technology-template .pagehero .actions .btn.external:focus-visible{
  color:var(--red);
  border-color:rgba(170,17,44,.7);
  box-shadow:0 8px 22px rgba(170,17,44,.15);
}

/* Product visual: same frame and scale rules across all technologies. */
.targa-technology-page .targa-technology-template .hero-media.product{
  min-height:380px;
  aspect-ratio:4/3;
  padding:28px;
  background:linear-gradient(145deg,#f5f6f3,#eceee9);
  border-radius:22px;
}
.targa-technology-page .targa-technology-template .hero-media.product img{
  width:100%;
  height:100%;
  max-height:none;
  object-fit:contain;
  object-position:center;
}

/* Content width, headings and section rhythm. */
.targa-technology-page .targa-technology-template section:not(.pagehero)>.container{
  width:min(1040px,calc(100% - 40px));
}
.targa-technology-page .targa-technology-template .content-wide{
  max-width:1040px;
}
.targa-technology-page .targa-technology-template .content-wide>h2{
  margin-top:38px;
  margin-bottom:18px;
}
.targa-technology-page .targa-technology-template .content-wide>h2:first-child{
  margin-top:0;
}
.targa-technology-page .targa-technology-template .content-wide>p{
  max-width:940px;
}

/* T-DRILL uses red as the local detail-page accent. */
.targa-technology-page .targa-technology-template .checklist{
  margin:18px 0 30px;
  gap:12px 34px;
}
.targa-technology-page .targa-technology-template .checklist li{
  padding-left:30px;
}
.targa-technology-page .targa-technology-template .checklist li:before{
  color:var(--red);
}

/* Option / machine cards are informational, not fake links. */
.targa-technology-page .targa-technology-template .cards{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
  margin:20px 0 28px;
}
.targa-technology-page .targa-technology-template .cards>.card{
  min-height:190px;
  padding:26px 28px;
  justify-content:flex-start;
}
.targa-technology-page .targa-technology-template .cards>.card h3{
  margin:0 0 14px;
}
.targa-technology-page .targa-technology-template .cards>.card.red{
  border-top:5px solid var(--red);
}

/* Warnings/limitations should look deliberate and consistent. */
.targa-technology-page .targa-technology-template .notice{
  margin:28px 0 0;
  border-left:5px solid #d4a33e;
  border-radius:12px;
  background:#fff8e9;
}

/* Common closing CTA. */
.targa-technology-page .targa-technology-template .download-card{
  margin-top:36px!important;
  padding:26px 28px;
  border-color:#d7d9d5;
  border-left:5px solid var(--red);
  box-shadow:0 8px 24px rgba(31,33,30,.04);
}
.targa-technology-page .targa-technology-template .download-card>div{
  max-width:760px;
}
.targa-technology-page .targa-technology-template .download-card .btn{
  flex:0 0 auto;
}

/* Producer source: same position, same red-brand reaction. */
.targa-technology-page .targa-technology-template .source-note{
  margin-top:36px;
  padding-top:18px;
  border-top:1px solid #d9dcda;
}
.targa-technology-page .targa-technology-template .source-link{
  color:#5b605c;
}
.targa-technology-page .targa-technology-template .source-link:hover,
.targa-technology-page .targa-technology-template .source-link:focus-visible{
  color:var(--red)!important;
}

@media(max-width:980px){
  .targa-technology-page .targa-technology-template .pagehero .media-split{
    grid-template-columns:1fr;
    gap:30px;
    min-height:0;
  }
  .targa-technology-page .targa-technology-template .pagehero .actions{
    max-width:760px;
  }
  .targa-technology-page .targa-technology-template .hero-media.product{
    max-width:720px;
    width:100%;
    margin-inline:auto;
  }
}

@media(max-width:760px){
  .targa-technology-page .targa-technology-template .pagehero{
    padding:44px 0 52px;
  }
  .targa-technology-page .targa-technology-template .pagehero .actions{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 12px;
  }
  .targa-technology-page .targa-technology-template .pagehero .actions .btn.external:nth-child(3){
    grid-column:1/-1;
  }
  .targa-technology-page .targa-technology-template .hero-media.product{
    min-height:0;
    aspect-ratio:4/3;
    padding:18px;
    border-radius:18px;
  }
  .targa-technology-page .targa-technology-template section:not(.pagehero)>.container{
    width:min(100% - 28px,1040px);
  }
  .targa-technology-page .targa-technology-template .content-wide>h2{
    margin-top:30px;
    margin-bottom:16px;
  }
  .targa-technology-page .targa-technology-template .checklist{
    grid-template-columns:1fr;
    margin-bottom:26px;
  }
  .targa-technology-page .targa-technology-template .cards{
    grid-template-columns:1fr;
    gap:14px;
    margin:18px 0 26px;
  }
  .targa-technology-page .targa-technology-template .cards>.card{
    min-height:0;
    padding:22px 28px;
  }
  .targa-technology-page .targa-technology-template .download-card{
    padding:22px 26px;
    gap:18px;
  }
  .targa-technology-page .targa-technology-template .download-card .btn{
    width:auto;
  }
}

@media(max-width:430px){
  .targa-technology-page .targa-technology-template .pagehero .actions{
    grid-template-columns:1fr;
  }
  .targa-technology-page .targa-technology-template .pagehero .actions .btn.external:nth-child(3){
    grid-column:auto;
  }
  .targa-technology-page .targa-technology-template .download-card .btn{
    width:100%;
  }
}


/* =========================================================
   TARGA v0.7.4.1 — 3B.2 shared SERVICES template
   ========================================================= */

/* Services hub: 2×2 core services + full-width aftersales card. */
.targa-services-hub .pagehero.service{
  padding:62px 0 58px;
  background:linear-gradient(135deg,#fff 0%,#f8f0f2 100%);
}
.targa-services-hub .pagehero.service .eyebrow{color:var(--red)}
.targa-services-hub .techgrid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
.targa-services-hub .techgrid>a.card{
  min-height:178px;
  padding:28px 30px;
  position:relative;
  justify-content:center;
  border-top:5px solid var(--red);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.targa-services-hub .techgrid>a.card h3{margin:0 0 12px}
.targa-services-hub .techgrid>a.card:after{
  content:'→';
  position:absolute;
  right:24px;
  top:24px;
  color:var(--red);
  font-size:1.25rem;
  font-weight:900;
  opacity:0;
  transform:translateX(-6px);
  transition:opacity .18s ease,transform .18s ease;
}
.targa-services-hub .techgrid>a.card:hover,
.targa-services-hub .techgrid>a.card:focus-visible{
  transform:translateY(-3px);
  border-color:rgba(170,17,44,.55);
  background:#fffafb;
  box-shadow:0 14px 34px rgba(170,17,44,.14);
}
.targa-services-hub .techgrid>a.card:hover:after,
.targa-services-hub .techgrid>a.card:focus-visible:after{opacity:1;transform:translateX(0)}
.targa-services-hub .techgrid>a.card[href="/serwis/"]{
  grid-column:1/-1;
  min-height:150px;
}
.targa-services-hub .callout{
  max-width:100%;
  border-left-color:var(--red);
  box-shadow:0 8px 22px rgba(31,33,30,.04);
}

/* Every service detail uses one consistent visual scope. */
.targa-service-page .targa-service-template .pagehero.service{
  padding:58px 0 64px;
  background:linear-gradient(135deg,#fff 0%,#f8f0f2 100%);
}
.targa-service-page .targa-service-template .pagehero .media-split{
  grid-template-columns:1.08fr .92fr;
  gap:52px;
  align-items:center;
  min-height:430px;
}
.targa-service-page .targa-service-template .pagehero .eyebrow{color:var(--red)}
.targa-service-page .targa-service-template .pagehero h1{
  font-size:clamp(42px,5.2vw,64px);
  max-width:760px;
}
.targa-service-page .targa-service-template .pagehero .lead{
  max-width:700px;
  font-size:1.18rem;
}
.targa-service-page .targa-service-template .pagehero .actions{margin-top:26px}
.targa-service-page .targa-service-template .pagehero .actions .btn{min-width:210px}
.targa-service-page .targa-service-template .hero-media.product{
  min-height:380px;
  aspect-ratio:4/3;
  padding:28px;
  border-radius:22px;
  background:linear-gradient(145deg,#f5f6f3,#eceee9);
}
.targa-service-page .targa-service-template .hero-media.product img{
  width:100%;height:100%;max-height:none;object-fit:contain;object-position:center;
}

/* Four-step service flow. */
.targa-service-page .targa-service-template .process-steps{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
.targa-service-page .targa-service-template .process-step{
  min-height:245px;
  padding:24px 24px 22px;
  border-top:4px solid rgba(170,17,44,.78);
  box-shadow:0 7px 20px rgba(31,33,30,.035);
}
.targa-service-page .targa-service-template .process-step:before{
  width:38px;height:38px;margin-bottom:16px;background:var(--red);
}
.targa-service-page .targa-service-template .process-step h3{margin:0 0 12px}
.targa-service-page .targa-service-template .process-step p{margin:0}

/* Preparation checklist + result card. */
.targa-service-page .targa-service-template section.soft .media-split{
  grid-template-columns:1.15fr .85fr;
  gap:42px;
  align-items:stretch;
}
.targa-service-page .targa-service-template .checklist{
  margin:18px 0 0;
  gap:12px 30px;
}
.targa-service-page .targa-service-template .checklist li:before{color:var(--red)}
.targa-service-page .targa-service-template .callout{
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-left-color:var(--red);
  background:#fff;
  box-shadow:0 10px 28px rgba(31,33,30,.05);
}
.targa-service-page .targa-service-template .callout h3{margin-top:0}
.targa-service-page .targa-service-template .callout p:last-child{margin-bottom:0}

/* Shared conversion close after each service. */
.targa-service-page .service-closing-section{padding:58px 0 72px;background:#fff}
.targa-service-page .service-closing-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:34px;
  padding:30px 34px;
  border:1px solid #d7d9d5;
  border-left:5px solid var(--red);
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 30px rgba(31,33,30,.05);
}
.targa-service-page .service-closing-cta>div{max-width:790px}
.targa-service-page .service-closing-cta h2{font-size:clamp(28px,3.5vw,40px);margin:0 0 10px}
.targa-service-page .service-closing-cta p{margin:0}
.targa-service-page .service-closing-cta .btn{flex:0 0 auto;min-width:210px}

/* T-DRILL service interactions: subtle red response only on interactive controls. */
.targa-service-page .btn:hover,
.targa-service-page .btn:focus-visible,
.targa-service-page a:not(.brand):not(.source-link):hover,
.targa-service-page a:not(.brand):not(.source-link):focus-visible{
  text-decoration-color:rgba(170,17,44,.75);
}

@media(max-width:980px){
  .targa-services-hub .techgrid{grid-template-columns:1fr 1fr}
  .targa-service-page .targa-service-template .pagehero .media-split,
  .targa-service-page .targa-service-template section.soft .media-split{grid-template-columns:1fr;gap:30px;min-height:0}
  .targa-service-page .targa-service-template .hero-media.product{max-width:720px;width:100%;margin-inline:auto}
  .targa-service-page .targa-service-template .process-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .targa-service-page .targa-service-template .process-step{min-height:210px}
}

@media(max-width:760px){
  .targa-services-hub .pagehero.service{padding:44px 0 48px}
  .targa-services-hub .techgrid{grid-template-columns:1fr;gap:14px}
  .targa-services-hub .techgrid>a.card,
  .targa-services-hub .techgrid>a.card[href="/serwis/"]{grid-column:auto;min-height:0;padding:22px 24px}
  .targa-services-hub .techgrid>a.card:after{right:20px;top:20px}

  .targa-service-page .targa-service-template .pagehero.service{padding:44px 0 52px}
  .targa-service-page .targa-service-template .pagehero h1{font-size:clamp(36px,10vw,46px)}
  .targa-service-page .targa-service-template .pagehero .lead{font-size:1.08rem}
  .targa-service-page .targa-service-template .pagehero .actions .btn{width:100%;min-width:0}
  .targa-service-page .targa-service-template .hero-media.product{min-height:0;aspect-ratio:4/3;padding:18px;border-radius:18px}
  .targa-service-page .targa-service-template .process-steps{grid-template-columns:1fr;gap:14px}
  .targa-service-page .targa-service-template .process-step{min-height:0;padding:22px 26px}
  .targa-service-page .targa-service-template .checklist{grid-template-columns:1fr}
  .targa-service-page .targa-service-template .callout{padding:24px 26px}
  .targa-service-page .service-closing-section{padding:42px 0 58px}
  .targa-service-page .service-closing-cta{flex-direction:column;align-items:flex-start;padding:24px 26px;gap:20px}
  .targa-service-page .service-closing-cta .btn{width:100%;min-width:0}
}


/* =========================================================
   TARGA v0.7.4.2 — 3B.3 BRANŻE + DATA CENTER
   ========================================================= */

/* ---------- Hub /branze/ ---------- */
.targa-industries-hub .pagehero.industry{
  padding:58px 0 64px;
  background:linear-gradient(135deg,#f7f8f5 0%,#eef1ec 100%);
}
.targa-industries-hub .pagehero.industry h1{max-width:900px}
.targa-industries-hub .pagehero.industry .lead{max-width:860px}
.targa-industries-hub .techgrid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
}
.targa-industries-hub .techgrid>a.card{
  position:relative;
  min-height:220px;
  padding:30px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  overflow:hidden;
  border-top:4px solid transparent;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease;
}
.targa-industries-hub .techgrid>a.card:first-child{
  grid-column:1/-1;
  min-height:190px;
  background:linear-gradient(115deg,#fff 0%,#f5f8fa 100%);
  border-top-color:#245e86;
}
.targa-industries-hub .techgrid>a.card:not(:first-child){border-top-color:var(--red)}
.targa-industries-hub .techgrid>a.card .tag{
  align-self:flex-start;
  width:auto;
  max-width:max-content;
  margin:0 0 18px;
}
.targa-industries-hub .techgrid>a.card h3{margin:0 0 14px}
.targa-industries-hub .techgrid>a.card p{margin:0}
.targa-industries-hub .techgrid>a.card:after{
  content:'→';
  position:absolute;
  right:24px;
  bottom:22px;
  font-size:1.25rem;
  font-weight:900;
  color:var(--red);
  opacity:0;
  transform:translateX(-5px);
  transition:opacity .18s ease,transform .18s ease;
}
.targa-industries-hub .techgrid>a.card:first-child:after{color:#245e86}
.targa-industries-hub .techgrid>a.card:hover,
.targa-industries-hub .techgrid>a.card:focus-visible{
  transform:translateY(-3px);
  border-color:rgba(170,17,44,.28);
  box-shadow:0 14px 34px rgba(170,17,44,.12);
}
.targa-industries-hub .techgrid>a.card:first-child:hover,
.targa-industries-hub .techgrid>a.card:first-child:focus-visible{
  border-color:rgba(36,94,134,.35);
  box-shadow:0 14px 34px rgba(36,94,134,.15);
}
.targa-industries-hub .techgrid>a.card:hover:after,
.targa-industries-hub .techgrid>a.card:focus-visible:after{opacity:1;transform:translateX(0)}

/* ---------- Shared standard industry pages ---------- */
.targa-industry-template:not(.targa-data-center-template) .pagehero.industry{
  padding:64px 0 70px;
  background:linear-gradient(135deg,#fff 0%,#f4f5f2 100%);
}
.targa-industry-template:not(.targa-data-center-template) .pagehero .media-split{
  grid-template-columns:1.08fr .92fr;
  gap:52px;
  align-items:center;
}
.targa-industry-template:not(.targa-data-center-template) .pagehero .eyebrow{color:var(--red)}
.targa-industry-template:not(.targa-data-center-template) .pagehero h1{max-width:760px}
.targa-industry-template:not(.targa-data-center-template) .pagehero .lead{max-width:760px}
.targa-industry-template:not(.targa-data-center-template) .hero-media.product{
  aspect-ratio:4/3;
  min-height:0;
  padding:26px;
  border-radius:22px;
  background:#f7f7f5;
}
.targa-industry-template:not(.targa-data-center-template) .hero-media.product img{
  width:100%;height:100%;object-fit:contain;object-position:center;
}
.targa-industry-template:not(.targa-data-center-template) section:not(.pagehero)>.container{max-width:1180px}
.targa-industry-template:not(.targa-data-center-template) section>.container.media-split{
  gap:32px;
  align-items:stretch;
}
.targa-industry-template:not(.targa-data-center-template) .checklist{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 28px;
  margin:0;
  padding:0;
  list-style:none;
}
.targa-industry-template:not(.targa-data-center-template) .checklist li{position:relative;padding-left:28px}
.targa-industry-template:not(.targa-data-center-template) .checklist li:before{
  content:'✓';position:absolute;left:0;top:0;color:var(--red);font-weight:900;
}
.targa-industry-template:not(.targa-data-center-template) .callout{
  height:100%;
  border-left-color:var(--red);
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:30px;
}
.targa-industry-template:not(.targa-data-center-template) section.soft .cards{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.targa-industry-template:not(.targa-data-center-template) section.soft .cards>.card{
  min-height:205px;
  padding:26px;
}
.targa-industry-template:not(.targa-data-center-template) section.soft .cards>.card h3{margin-top:0}
.targa-industry-template:not(.targa-data-center-template) .download-card{
  padding:32px 34px;
  border-left:5px solid var(--red);
  box-shadow:0 10px 30px rgba(24,25,22,.05);
}
.targa-industry-template:not(.targa-data-center-template) .download-card>div{max-width:820px}
.targa-industry-template:not(.targa-data-center-template) .download-card h2{margin-bottom:10px}
.targa-industry-template:not(.targa-data-center-template) .download-card p{margin:0}

/* ---------- Dedicated Data Center premium variant ---------- */
.targa-data-center-template .pagehero.dc{
  padding:66px 0 72px;
  background:linear-gradient(135deg,#071b31 0%,#0e3559 58%,#174f7a 100%);
}
.targa-data-center-template .pagehero.dc .media-split{
  grid-template-columns:1.05fr .95fr;
  gap:46px;
  align-items:center;
}
.targa-data-center-template .pagehero.dc h1{max-width:760px}
.targa-data-center-template .pagehero.dc .lead{max-width:780px;color:#eef5fa}
.targa-data-center-template .pagehero.dc .actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  max-width:660px;
  gap:12px;
}
.targa-data-center-template .pagehero.dc .actions .btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:54px;
  border-color:rgba(255,255,255,.72);
  color:#fff;
}
.targa-data-center-template .pagehero.dc .actions .btn:not(.red){background:rgba(255,255,255,.08)}
.targa-data-center-template .pagehero.dc .actions .btn:not(.red):hover,
.targa-data-center-template .pagehero.dc .actions .btn:not(.red):focus-visible{
  background:rgba(255,255,255,.17);
  box-shadow:0 10px 28px rgba(0,0,0,.18);
}
.targa-data-center-template .pagehero.dc .hero-media{
  aspect-ratio:16/10;
  min-height:0;
  border-radius:22px;
  background:#0b2945;
  box-shadow:0 18px 48px rgba(0,0,0,.22);
}
.targa-data-center-template .pagehero.dc .hero-media img{object-fit:cover;object-position:center}
.targa-data-center-template .stats{border-radius:0;background:#d9e1e7}
.targa-data-center-template .stat{padding:26px 24px;text-align:center}
.targa-data-center-template .stat strong{color:#0e3559}
.targa-data-center-template .soft .media-split.reverse>img{
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:20px;
}
.targa-data-center-template .callout.blue{
  margin-top:24px;
  border-left-width:5px;
  box-shadow:0 10px 28px rgba(14,53,89,.07);
}
.targa-data-center-template .techgrid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.targa-data-center-template .techgrid>.card{
  min-height:200px;
  padding:26px;
  border-top:4px solid #245e86;
}
.targa-data-center-template .techgrid>.card .tag{width:auto;max-width:max-content;align-self:flex-start}
.targa-data-center-template section.soft .cards{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.targa-data-center-template section.soft .cards>.card{min-height:205px;padding:26px}
.targa-data-center-template section.soft .cards>.card.red{border-top-color:var(--red)}
.targa-data-center-template section.soft .media-split img{
  aspect-ratio:4/3;
  object-fit:contain;
  padding:18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
}
.targa-data-center-template .download-card{
  padding:34px;
  border-left:5px solid #245e86;
  box-shadow:0 12px 34px rgba(14,53,89,.08);
}
.targa-data-center-template .source-link:hover,
.targa-data-center-template .source-link:focus-visible{color:#245e86;text-decoration-color:#245e86}

@media(max-width:980px){
  .targa-industries-hub .techgrid{grid-template-columns:1fr 1fr}
  .targa-industry-template:not(.targa-data-center-template) .pagehero .media-split{grid-template-columns:1fr;gap:30px}
  .targa-industry-template:not(.targa-data-center-template) .hero-media.product{max-width:720px;width:100%;margin-inline:auto}
  .targa-industry-template:not(.targa-data-center-template) section.soft .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .targa-data-center-template .pagehero.dc .media-split{grid-template-columns:1fr;gap:32px}
  .targa-data-center-template .pagehero.dc .hero-media{max-width:760px;width:100%;margin-inline:auto}
  .targa-data-center-template section.soft .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
  .targa-industries-hub .pagehero.industry{padding:44px 0 50px}
  .targa-industries-hub .techgrid{grid-template-columns:1fr;gap:14px}
  .targa-industries-hub .techgrid>a.card:first-child{grid-column:auto}
  .targa-industries-hub .techgrid>a.card{min-height:0;padding:24px 26px}
  .targa-industries-hub .techgrid>a.card:first-child{min-height:0}

  .targa-industry-template:not(.targa-data-center-template) .pagehero.industry{padding:44px 0 52px}
  .targa-industry-template:not(.targa-data-center-template) .pagehero h1{font-size:clamp(36px,10vw,46px)}
  .targa-industry-template:not(.targa-data-center-template) .pagehero .lead{font-size:1.08rem}
  .targa-industry-template:not(.targa-data-center-template) .pagehero .actions .btn{width:100%}
  .targa-industry-template:not(.targa-data-center-template) .hero-media.product{padding:18px;border-radius:18px}
  .targa-industry-template:not(.targa-data-center-template) section>.container.media-split{grid-template-columns:1fr;gap:24px}
  .targa-industry-template:not(.targa-data-center-template) .checklist{grid-template-columns:1fr;gap:12px}
  .targa-industry-template:not(.targa-data-center-template) .callout{padding:24px 26px}
  .targa-industry-template:not(.targa-data-center-template) section.soft .cards{grid-template-columns:1fr;gap:14px}
  .targa-industry-template:not(.targa-data-center-template) section.soft .cards>.card{min-height:0;padding:22px 26px}
  .targa-industry-template:not(.targa-data-center-template) .download-card{align-items:flex-start;flex-direction:column;padding:26px}
  .targa-industry-template:not(.targa-data-center-template) .download-card .btn{width:100%;text-align:center}

  .targa-data-center-template .pagehero.dc{padding:46px 0 54px}
  .targa-data-center-template .pagehero.dc h1{font-size:clamp(36px,10vw,46px)}
  .targa-data-center-template .pagehero.dc .lead{font-size:1.08rem}
  .targa-data-center-template .pagehero.dc .actions{grid-template-columns:1fr 1fr;max-width:none}
  .targa-data-center-template .pagehero.dc .hero-media{aspect-ratio:16/10;border-radius:18px}
  .targa-data-center-template .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .targa-data-center-template .stat{padding:20px 14px}
  .targa-data-center-template .techgrid{grid-template-columns:1fr;gap:14px}
  .targa-data-center-template .techgrid>.card{min-height:0;padding:22px 26px}
  .targa-data-center-template section.soft .cards{grid-template-columns:1fr;gap:14px}
  .targa-data-center-template section.soft .cards>.card{min-height:0;padding:22px 26px}
  .targa-data-center-template .download-card{align-items:flex-start;flex-direction:column;padding:26px}
  .targa-data-center-template .download-card .btn{width:100%;text-align:center}
}

@media(max-width:430px){
  .targa-data-center-template .pagehero.dc .actions{grid-template-columns:1fr}
  .targa-data-center-template .stats{grid-template-columns:1fr 1fr}
}


/* =========================================================
   TARGA v0.7.4.3 — Data Center comparison + Realizations 3B.4
   ========================================================= */

/* ---------- Data Center: producer comparison ---------- */
.targa-data-center-template .dc-comparison-section{background:#fff}
.targa-data-center-template .dc-comparison-section .lead{max-width:900px;margin-bottom:34px}
.targa-data-center-template .dc-compare-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  align-items:stretch;
}
.targa-data-center-template .dc-compare-card{
  border:1px solid var(--line);
  border-radius:20px;
  padding:28px;
  background:#fff;
  display:flex;
  flex-direction:column;
  min-width:0;
  box-shadow:0 10px 30px rgba(24,25,22,.05);
}
.targa-data-center-template .dc-compare-card.traditional{border-top:5px solid #777}
.targa-data-center-template .dc-compare-card.tdrill{border-top:5px solid var(--red)}
.targa-data-center-template .dc-compare-label{
  width:max-content;max-width:100%;padding:5px 10px;border-radius:999px;
  font-size:.76rem;font-weight:900;letter-spacing:.08em;background:#eef1ef;color:#555;
}
.targa-data-center-template .dc-compare-card.tdrill .dc-compare-label{background:#f7e8ec;color:var(--red)}
.targa-data-center-template .dc-compare-card h3{margin:16px 0 18px}
.targa-data-center-template .dc-compare-card img{
  width:100%;max-width:390px;aspect-ratio:1/1;object-fit:contain;margin:0 auto 20px;
  border-radius:14px;background:#eee;
}
.targa-data-center-template .dc-compare-list{
  display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;list-style:none;padding:0;margin:0 0 22px;
}
.targa-data-center-template .dc-compare-list li{padding:10px 12px;border-radius:10px;background:#f6f7f5}
.targa-data-center-template .dc-compare-list strong{color:#0e3559;margin-right:4px}
.targa-data-center-template .dc-compare-card.tdrill .dc-compare-list strong{color:var(--red)}
.targa-data-center-template .dc-time{
  margin-top:auto;padding-top:18px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:2px
}
.targa-data-center-template .dc-time strong{font-size:2rem;line-height:1;color:#42423d}
.targa-data-center-template .dc-compare-card.tdrill .dc-time strong{color:var(--red)}
.targa-data-center-template .dc-compare-summary{
  margin-top:24px;padding:20px 22px;border-left:5px solid #245e86;border-radius:0 14px 14px 0;background:#edf3f8;
  display:flex;flex-direction:column;gap:6px
}

/* ---------- Realizations hub ---------- */
.targa-realizations-hub .realization-hub-hero{padding:62px 0 68px;background:linear-gradient(135deg,#fff 0%,#f4f5f2 100%)}
.targa-realizations-hub .realization-hub-hero h1{max-width:900px}
.targa-realizations-hub .realization-hub-hero .lead{max-width:900px}
.targa-realizations-hub .realization-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.targa-realizations-hub .realization-card{
  border:1px solid var(--line);border-top:5px solid var(--red);border-radius:18px;background:#fff;overflow:hidden;
  display:flex;flex-direction:column;min-width:0;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
}
.targa-realizations-hub .realization-card:hover,
.targa-realizations-hub .realization-card:focus-visible{
  transform:translateY(-4px);border-color:rgba(170,17,44,.34);box-shadow:0 16px 38px rgba(170,17,44,.13)
}
.targa-realizations-hub .realization-card:focus-visible{outline:3px solid rgba(170,17,44,.32);outline-offset:3px}
.targa-realizations-hub .realization-media{height:300px;padding:24px;background:#f7f7f5;display:grid;place-items:center}
.targa-realizations-hub .realization-media img{width:100%;height:100%;object-fit:contain}
.targa-realizations-hub .realization-media-pair{grid-template-columns:1fr 1fr;gap:12px}
.targa-realizations-hub .realization-copy{padding:30px;display:flex;flex-direction:column;flex:1}
.targa-realizations-hub .realization-copy .tag{width:max-content;max-width:100%;align-self:flex-start}
.targa-realizations-hub .realization-copy h2{font-size:clamp(28px,3vw,38px);margin:14px 0 10px}
.targa-realizations-hub .realization-copy>p{margin-top:0}
.targa-realizations-hub .realization-metrics{display:grid;grid-template-columns:1fr;gap:10px;margin:18px 0 24px}
.targa-realizations-hub .realization-metrics span{padding:12px 14px;background:#f6f7f5;border-radius:10px}
.targa-realizations-hub .realization-metrics strong{color:var(--red);margin-right:5px}
.targa-realizations-hub .realization-link{margin-top:auto;font-weight:900;color:var(--red)}

/* ---------- Shared case study template ---------- */
.targa-case-study-template .case-hero{padding:62px 0 68px;background:linear-gradient(135deg,#fff 0%,#f4f5f2 100%)}
.targa-case-study-template .case-hero .media-split{grid-template-columns:1.08fr .92fr;gap:50px;align-items:center}
.targa-case-study-template .case-hero h1{max-width:820px}
.targa-case-study-template .case-hero .lead{max-width:820px}
.targa-case-study-template .case-hero .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:620px}
.targa-case-study-template .case-hero .actions .btn{display:flex;align-items:center;justify-content:center;text-align:center}
.targa-case-study-template .case-hero-media{
  min-height:390px;aspect-ratio:4/3;padding:24px;border-radius:20px;background:#f7f7f5;display:grid;place-items:center;overflow:hidden
}
.targa-case-study-template .case-hero-media>img{width:100%;height:100%;object-fit:contain}
.targa-case-study-template .case-hero-pair{grid-template-columns:1fr 1fr;gap:10px}
.targa-case-study-template .case-hero-pair>img{min-width:0}
.targa-case-study-template .case-proof{padding:0;background:#fff}
.targa-case-study-template .case-stats{display:grid;gap:1px;background:#d8dcda;border-bottom:1px solid #d8dcda}
.targa-case-study-template .case-stats-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.targa-case-study-template .case-stats-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.targa-case-study-template .case-stat{background:#fff;padding:24px;text-align:center;display:flex;flex-direction:column;justify-content:center;min-height:138px}
.targa-case-study-template .case-stat strong{display:block;font-size:1.85rem;line-height:1.05;color:var(--red);margin-bottom:7px}
.targa-case-study-template .content-wide{max-width:980px}
.targa-case-study-template section:not(.pagehero):not(.case-proof)>.container{max-width:1180px}
.targa-case-study-template section .media-split{gap:36px;align-items:center}
.targa-case-study-template section .media-split>img{border-radius:18px;padding:18px;background:#f7f7f5;border:1px solid var(--line);object-fit:contain}
.targa-case-study-template .cards{align-items:stretch}
.targa-case-study-template .cards>.card{height:100%}
.targa-case-study-template .cards>.card:first-child{border-top:5px solid var(--red)}
.targa-case-study-template .source-note{margin-top:30px}
.targa-case-study-template .source-link:hover,
.targa-case-study-template .source-link:focus-visible{color:var(--red);text-decoration-color:var(--red)}
.targa-case-study-template .actions .btn:hover,
.targa-case-study-template .actions .btn:focus-visible{box-shadow:0 10px 26px rgba(170,17,44,.11)}

@media(max-width:980px){
  .targa-realizations-hub .realization-grid{grid-template-columns:1fr}
  .targa-realizations-hub .realization-card{display:grid;grid-template-columns:.85fr 1.15fr}
  .targa-realizations-hub .realization-media{height:100%;min-height:300px}
  .targa-case-study-template .case-hero .media-split{grid-template-columns:1fr;gap:30px}
  .targa-case-study-template .case-hero-media{max-width:760px;width:100%;margin:auto}
  .targa-case-study-template .case-stats-5{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .targa-data-center-template .dc-compare-grid{grid-template-columns:1fr;gap:16px}
  .targa-data-center-template .dc-compare-card{padding:22px}
  .targa-data-center-template .dc-compare-list{grid-template-columns:1fr 1fr;gap:8px}
  .targa-data-center-template .dc-time strong{font-size:1.8rem}
  .targa-realizations-hub .realization-hub-hero{padding:44px 0 50px}
  .targa-realizations-hub .realization-card{display:flex}
  .targa-realizations-hub .realization-media{height:240px;min-height:0;padding:18px}
  .targa-realizations-hub .realization-copy{padding:24px}
  .targa-realizations-hub .realization-copy h2{font-size:30px}
  .targa-case-study-template .case-hero{padding:44px 0 52px}
  .targa-case-study-template .case-hero h1{font-size:clamp(36px,10vw,46px)}
  .targa-case-study-template .case-hero .lead{font-size:1.08rem}
  .targa-case-study-template .case-hero .actions{grid-template-columns:1fr 1fr;max-width:none}
  .targa-case-study-template .case-hero-media{min-height:0;aspect-ratio:4/3;padding:18px}
  .targa-case-study-template .case-stats-3,.targa-case-study-template .case-stats-5{grid-template-columns:repeat(2,minmax(0,1fr))}
  .targa-case-study-template .case-stat{min-height:118px;padding:18px 12px}
  .targa-case-study-template section .media-split{grid-template-columns:1fr;gap:24px}
  .targa-case-study-template .cards{grid-template-columns:1fr!important;gap:14px}
  .targa-case-study-template .cards>.card{min-height:0;padding:22px 26px}
}
@media(max-width:430px){
  .targa-data-center-template .dc-compare-list{grid-template-columns:1fr}
  .targa-case-study-template .case-hero .actions{grid-template-columns:1fr}
  .targa-case-study-template .case-stats-3,.targa-case-study-template .case-stats-5{grid-template-columns:1fr}
}


/* =========================================================
   TARGA v0.7.4.4 — Realizacje visual hotfix
   ========================================================= */

/* Realizacje to blok T-DRILL — eyebrow zawsze czerwony. */
.targa-realizations-hub .realization-hub-hero .eyebrow,
.targa-case-study-template .case-hero .eyebrow{
  color:var(--red);
}

/* Twarde rozdzielenie media/copy — obrazy nie mogą nachodzić na treść. */
.targa-realizations-hub .realization-media{
  position:relative;
  overflow:hidden;
  flex:0 0 auto;
}
.targa-realizations-hub .realization-media img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center center;
}
.targa-realizations-hub .realization-copy{
  position:relative;
  z-index:2;
  background:#fff;
  border-top:1px solid var(--line);
}

/* INSS ma pojedynczą wysoką maszynę — zostawiamy jej oddech wewnątrz kadru. */
.targa-realizations-hub .realization-card.inss .realization-media img{
  width:auto;
  max-width:100%;
  margin:0 auto;
}

/* Tytuły kart nie powinny wyglądać jak zwykłe podkreślone linki. */
.targa-realizations-hub .realization-card h2,
.targa-realizations-hub .realization-card p,
.targa-realizations-hub .realization-card .realization-metrics span{
  text-decoration:none;
}

@media(max-width:760px){
  .targa-realizations-hub .realization-media{height:230px}
  .targa-realizations-hub .realization-copy{border-top:1px solid var(--line)}
}


/* =========================================================
   TARGA v0.7.4.5 — 3B.4 final image fit + 3B.5 Knowledge
   ========================================================= */

/* 3B.4 FINAL — public realization images must always fit in full.
   Avoid fixed image dimensions that can clip tall machine photography. */
.targa-realizations-hub .realization-media{
  height:auto!important;
  min-height:0!important;
  aspect-ratio:16/9;
  padding:20px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#f7f7f5;
}
.targa-realizations-hub .realization-media img,
.targa-realizations-hub .realization-card.inss .realization-media img{
  display:block;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:auto!important;
}
.targa-realizations-hub .realization-media-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.targa-realizations-hub .realization-media-pair img{min-width:0}

/* ---------- Knowledge hub ---------- */
.targa-knowledge-hub .pagehero .eyebrow,
.targa-knowledge-template .pagehero .eyebrow{color:var(--red)}
.targa-knowledge-hub .pagehero{padding:62px 0 68px;background:linear-gradient(135deg,#fff 0%,#f4f5f2 100%)}
.targa-knowledge-hub .pagehero h1{max-width:950px}
.targa-knowledge-hub .pagehero .lead{max-width:850px}

/* Existing seeded hub uses .techgrid; archive fallback uses .knowledge-grid. */
.targa-knowledge-hub .techgrid,
.targa-knowledge-hub .knowledge-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
}
.targa-knowledge-hub .techgrid>a.card,
.targa-knowledge-hub .knowledge-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:240px;
  padding:30px 32px 34px;
  border:1px solid var(--line);
  border-top:4px solid transparent;
  border-radius:16px;
  background:#fff;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease;
}
.targa-knowledge-hub .techgrid>a.card .tag,
.targa-knowledge-hub .knowledge-card .tag{
  width:max-content;
  max-width:100%;
  align-self:flex-start;
  margin:0 0 20px;
  background:#eef1ef;
  color:#30332f;
}
.targa-knowledge-hub .techgrid>a.card h3,
.targa-knowledge-hub .knowledge-card h2{
  margin:0 0 16px;
  font-size:clamp(24px,2.3vw,31px);
  line-height:1.15;
  color:var(--graphite);
}
.targa-knowledge-hub .techgrid>a.card p,
.targa-knowledge-hub .knowledge-card p{margin:0;padding-right:34px}
.targa-knowledge-hub .techgrid>a.card::after,
.targa-knowledge-hub .knowledge-card-arrow{
  content:'→';
  position:absolute;
  right:28px;
  bottom:24px;
  color:var(--red);
  font-size:1.45rem;
  font-weight:900;
  opacity:0;
  transform:translateX(-7px);
  transition:opacity .18s ease,transform .18s ease;
}
.targa-knowledge-hub .knowledge-card-arrow{display:block}
.targa-knowledge-hub .techgrid>a.card:hover,
.targa-knowledge-hub .techgrid>a.card:focus-visible,
.targa-knowledge-hub .knowledge-card:hover,
.targa-knowledge-hub .knowledge-card:focus-visible{
  transform:translateY(-3px);
  border-top-color:var(--red);
  border-color:rgba(170,17,44,.34);
  background:#fffafa;
  box-shadow:0 15px 34px rgba(170,17,44,.10);
}
.targa-knowledge-hub .techgrid>a.card:hover::after,
.targa-knowledge-hub .techgrid>a.card:focus-visible::after,
.targa-knowledge-hub .knowledge-card:hover .knowledge-card-arrow,
.targa-knowledge-hub .knowledge-card:focus-visible .knowledge-card-arrow{
  opacity:1;
  transform:translateX(0);
}
.targa-knowledge-hub .techgrid>a.card:focus-visible,
.targa-knowledge-hub .knowledge-card:focus-visible{outline:3px solid rgba(170,17,44,.26);outline-offset:3px}

/* ---------- Single knowledge article ---------- */
.targa-knowledge-template .pagehero{
  padding:58px 0 62px;
  background:linear-gradient(135deg,#fff 0%,#f5f6f3 100%);
}
.targa-knowledge-template .pagehero .container{max-width:980px}
.targa-knowledge-template .pagehero h1{max-width:920px;font-size:clamp(40px,5vw,62px)}
.targa-knowledge-template .pagehero .lead{max-width:840px}
.targa-knowledge-template section:not(.pagehero):not(.knowledge-afterword)>.container.article-body{
  width:min(860px,calc(100% - 40px));
  max-width:860px;
}
.targa-knowledge-template .article-body{
  font-size:1.05rem;
  line-height:1.76;
}
.targa-knowledge-template .article-meta{
  display:inline-flex;
  padding:7px 11px;
  margin:0 0 26px;
  border-radius:999px;
  background:#f1f2ef;
  color:#616963;
  font-size:.84rem;
  font-weight:700;
}
.targa-knowledge-template .article-body>p:first-of-type{font-size:1.12rem;color:#3f4541}
.targa-knowledge-template .article-body h2{
  position:relative;
  margin:48px 0 18px;
  padding-left:16px;
  font-size:clamp(30px,3.8vw,42px);
}
.targa-knowledge-template .article-body h2::before{
  content:'';
  position:absolute;
  left:0;
  top:.08em;
  bottom:.08em;
  width:4px;
  border-radius:999px;
  background:var(--red);
}
.targa-knowledge-template .article-body h3{margin:32px 0 14px}
.targa-knowledge-template .article-body ul,
.targa-knowledge-template .article-body ol{padding-left:1.35rem}
.targa-knowledge-template .article-body li{margin-bottom:10px}
.targa-knowledge-template .article-body li::marker{color:var(--red);font-weight:900}
.targa-knowledge-template .article-body .callout{
  margin-top:44px!important;
  padding:30px 32px;
  border-left:6px solid var(--red);
  border-radius:0 16px 16px 0;
  background:#f8f6f6;
  box-shadow:0 12px 30px rgba(24,25,22,.05);
}
.targa-knowledge-template .article-body .callout h2{
  margin:0 0 12px;
  padding-left:0;
  font-size:clamp(28px,3vw,36px);
}
.targa-knowledge-template .article-body .callout h2::before{display:none}
.targa-knowledge-template .article-body .callout p{margin-top:0}
.targa-knowledge-template .article-body .callout .btn{margin-top:8px}
.targa-knowledge-template .article-body .download-card{
  margin-top:22px;
  padding:24px 26px;
  border-top:4px solid var(--red);
  box-shadow:0 10px 26px rgba(24,25,22,.05);
}
.targa-knowledge-template .source-note{
  margin-top:34px;
  padding-top:20px;
  border-top:1px solid var(--line);
}
.targa-knowledge-template .source-link:hover,
.targa-knowledge-template .source-link:focus-visible{color:var(--red);text-decoration-color:var(--red)}
.targa-knowledge-template .knowledge-afterword{padding:0 0 70px}
.targa-knowledge-template .knowledge-back-link{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:10px 14px;
  border-radius:8px;
  font-weight:800;
  color:var(--graphite);
  background:#f2f3f0;
  transition:background-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.targa-knowledge-template .knowledge-back-link:hover,
.targa-knowledge-template .knowledge-back-link:focus-visible{
  color:var(--red);
  background:#fff7f8;
  transform:translateY(-1px);
  box-shadow:0 8px 22px rgba(170,17,44,.09);
}

@media(max-width:760px){
  .targa-realizations-hub .realization-media{aspect-ratio:4/3;padding:16px}
  .targa-knowledge-hub .pagehero{padding:44px 0 50px}
  .targa-knowledge-hub .techgrid,.targa-knowledge-hub .knowledge-grid{grid-template-columns:1fr;gap:14px}
  .targa-knowledge-hub .techgrid>a.card,.targa-knowledge-hub .knowledge-card{min-height:0;padding:24px 26px 28px}
  .targa-knowledge-hub .techgrid>a.card h3,.targa-knowledge-hub .knowledge-card h2{font-size:27px}
  .targa-knowledge-template .pagehero{padding:44px 0 50px}
  .targa-knowledge-template .pagehero h1{font-size:clamp(36px,10vw,46px)}
  .targa-knowledge-template section:not(.pagehero):not(.knowledge-afterword)>.container.article-body{width:min(100% - 28px,860px)}
  .targa-knowledge-template .article-body{font-size:1rem}
  .targa-knowledge-template .article-body h2{margin-top:38px;font-size:32px;padding-left:13px}
  .targa-knowledge-template .article-body .callout{padding:24px 22px}
  .targa-knowledge-template .article-body .callout .btn{width:100%}
  .targa-knowledge-template .article-body .download-card{flex-direction:column;align-items:stretch;padding:22px}
  .targa-knowledge-template .article-body .download-card .btn{width:100%}
  .targa-knowledge-template .knowledge-afterword{padding-bottom:50px}
}


/* =========================================================
   TARGA v0.7.4.6 — Knowledge top-safe + INSS full-image fix
   ========================================================= */

/* Knowledge: keep the top edge of cards fully visible.
   No upward translation on hover; the red glow is enough feedback. */
.targa-knowledge-hub .techgrid,
.targa-knowledge-hub .knowledge-grid{
  padding-top:8px;
  overflow:visible;
}
.targa-knowledge-hub .techgrid>a.card,
.targa-knowledge-hub .knowledge-card{
  margin-top:0;
  overflow:visible;
}
.targa-knowledge-hub .techgrid>a.card:hover,
.targa-knowledge-hub .techgrid>a.card:focus-visible,
.targa-knowledge-hub .knowledge-card:hover,
.targa-knowledge-hub .knowledge-card:focus-visible{
  transform:none;
}

/* Single knowledge pages: extra top-safe spacing, especially with the WP admin bar. */
.targa-knowledge-template .pagehero{
  overflow:visible;
}
.targa-knowledge-template .pagehero>.container{
  padding-top:4px;
}
.admin-bar .targa-knowledge-template .pagehero,
.admin-bar .targa-knowledge-hub .pagehero{
  scroll-margin-top:150px;
}

/* INSS realization: never force a crop box. Let the full 4:3 source image
   define the media height, with all machine feet/control unit visible. */
.targa-realizations-hub .realization-card.inss .realization-media{
  aspect-ratio:auto!important;
  height:auto!important;
  min-height:0!important;
  padding:20px!important;
  overflow:visible!important;
  display:block!important;
}
.targa-realizations-hub .realization-card.inss .realization-media img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:0 auto!important;
}

@media(max-width:760px){
  .targa-knowledge-hub .techgrid,
  .targa-knowledge-hub .knowledge-grid{padding-top:5px}
  .targa-realizations-hub .realization-card.inss .realization-media{padding:16px!important}
}

/* =========================================================
   TARGA v0.7.4.7 — T-DRILL eyebrow consistency + Teuvan page
   ========================================================= */

/* T-DRILL contexts use the T-DRILL red, not the generic TARGA green. */
.targa-page-t-drill .pagehero .eyebrow,
.targa-industries-hub .pagehero .eyebrow{
  color:var(--red)!important;
}

/* ---------- Teuvan landing page ---------- */
.targa-teuvan-template .pagehero{
  padding:66px 0 70px;
  background:linear-gradient(135deg,#fbfdf8 0%,#eef6e8 100%);
}
.targa-teuvan-template .pagehero .eyebrow{color:var(--teuvan2)}
.targa-teuvan-template .pagehero h1{max-width:760px}
.targa-teuvan-template .pagehero .lead{max-width:760px}
.targa-teuvan-template .pagehero .hero-media{
  background:#f5f9f1;
  border:1px solid rgba(126,180,57,.24);
  box-shadow:0 16px 38px rgba(42,91,28,.08);
}
.targa-teuvan-template .pagehero .hero-media img{
  object-fit:contain;
  object-position:center;
}
.targa-teuvan-template .pagehero .actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  max-width:650px;
}
.targa-teuvan-template .pagehero .actions .btn{
  width:100%;
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.targa-teuvan-template .pagehero .actions .btn:not(.teuvan){
  border-color:#55724a;
  color:#23401f;
  background:rgba(255,255,255,.66);
}
.targa-teuvan-template .pagehero .actions .btn:not(.teuvan):hover,
.targa-teuvan-template .pagehero .actions .btn:not(.teuvan):focus-visible{
  color:#fff;
  border-color:#4f862f;
  background:#4f862f;
  box-shadow:0 8px 22px rgba(64,125,42,.20);
}

.targa-teuvan-template section:not(.pagehero){scroll-margin-top:110px}
.targa-teuvan-template .cards{
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
}
.targa-teuvan-template .cards>.card{
  min-height:230px;
  padding:30px;
  justify-content:center;
  border-top:5px solid var(--teuvan2);
  transition:box-shadow .18s ease,border-color .18s ease,background-color .18s ease;
}
.targa-teuvan-template .cards>.card h3{margin:0 0 18px}
.targa-teuvan-template .cards>.card p{margin:0}
.targa-teuvan-template .cards>.card:hover{
  border-color:rgba(126,180,57,.55);
  background:#fbfdf9;
  box-shadow:0 12px 30px rgba(64,125,42,.10);
}

.targa-teuvan-template .soft{background:#f4f8f1}
.targa-teuvan-template .soft .callout{
  border-left-color:var(--teuvan2);
  background:#fff;
  box-shadow:0 12px 28px rgba(37,74,28,.06);
}
.targa-teuvan-template .soft .callout h2{margin-bottom:12px}
.targa-teuvan-template .domain-note{
  width:min(1180px,calc(100% - 40px));
  margin:-34px auto 66px;
  padding:18px 20px;
  border:1px solid #d9e5d3;
  border-radius:12px;
  background:#f9fcf7;
  color:#52604f;
}
.targa-teuvan-template .domain-note .source-link{
  color:#397329;
  font-weight:800;
}
.targa-teuvan-template a[href*="teuvan.pl"]:focus-visible{
  outline-color:rgba(126,180,57,.72);
}

@media(max-width:900px){
  .targa-teuvan-template .cards{grid-template-columns:1fr 1fr}
  .targa-teuvan-template .cards>.card:last-child{grid-column:1/-1}
}
@media(max-width:760px){
  .targa-teuvan-template .pagehero{padding:46px 0 52px}
  .targa-teuvan-template .pagehero .actions{grid-template-columns:1fr 1fr;max-width:none}
  .targa-teuvan-template .cards{grid-template-columns:1fr;gap:14px}
  .targa-teuvan-template .cards>.card,
  .targa-teuvan-template .cards>.card:last-child{grid-column:auto;min-height:0;padding:24px 26px}
  .targa-teuvan-template .domain-note{width:min(100% - 28px,1180px);margin:-22px auto 48px}
}
@media(max-width:420px){
  .targa-teuvan-template .pagehero .actions{grid-template-columns:1fr}
}

/* =========================================================
   TARGA v0.7.4.8 — Teuvan hero crop + About + Team
   ========================================================= */

/* Teuvan: tighter 4:3 crop makes the field kitchen the focal point. */
.targa-teuvan-template .pagehero .hero-media img{
  object-fit:cover!important;
  object-position:center center!important;
}

/* ---------- O nas ---------- */
.targa-about-template .about-hero{
  padding:70px 0 74px;
  background:linear-gradient(135deg,#fbfcfa 0%,#f1f4ef 100%);
}
.targa-about-template .about-hero .eyebrow,
.targa-about-template section>.container>.eyebrow{color:var(--green)}
.targa-about-template .about-hero h1{max-width:760px}
.targa-about-template .about-hero .lead{max-width:760px}
.targa-about-template .about-team-collage{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.targa-about-template .about-team-collage img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  object-position:center top;
  border-radius:16px;
}
.targa-about-template .about-origin{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);
  gap:54px;
  align-items:center;
}
.targa-about-template .about-origin p{font-size:1.04rem}
.targa-about-template .about-quote{
  padding:34px;
  border-left:6px solid var(--green);
  border-radius:0 18px 18px 0;
  background:#f4f7f2;
}
.targa-about-template .about-quote p{margin:0 0 12px;color:#5c645b}
.targa-about-template .about-quote strong{display:block;font-size:1.35rem;line-height:1.45;color:var(--graphite)}

.targa-about-template .about-brand-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}
.targa-about-template .about-brand-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:460px;
  padding:34px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
}
.targa-about-template .about-brand-card:before{
  content:"";position:absolute;left:0;right:0;top:0;height:5px;background:var(--red);
}
.targa-about-template .about-brand-card.teuvan:before{background:var(--teuvan2)}
.targa-about-template .about-brand-card>img{
  width:auto;
  height:62px;
  max-width:260px;
  object-fit:contain;
  object-position:left center;
  margin:0 0 22px;
}
.targa-about-template .about-brand-card h3{margin:0 0 14px;font-size:1.65rem}
.targa-about-template .about-brand-card>p{margin:0 0 14px}
.targa-about-template .about-brand-card .check-list{margin:4px 0 28px;padding:0;list-style:none}
.targa-about-template .about-brand-card .check-list li{position:relative;padding-left:24px;margin:8px 0}
.targa-about-template .about-brand-card .check-list li:before{content:"✓";position:absolute;left:0;font-weight:900;color:var(--red)}
.targa-about-template .about-brand-card.teuvan .check-list li:before{color:var(--teuvan2)}
.targa-about-template .about-brand-card .btn{margin-top:auto;align-self:flex-start}

.targa-about-template .about-process{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
}
.targa-about-template .about-process article{
  min-width:0;
  padding:24px 20px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
}
.targa-about-template .about-process span{
  display:grid;place-items:center;width:36px;height:36px;margin-bottom:14px;border-radius:50%;background:var(--graphite);color:#fff;font-weight:900;
}
.targa-about-template .about-process h3{margin:0 0 10px;font-size:1.12rem}
.targa-about-template .about-process p{margin:0;font-size:.92rem;line-height:1.55}

.targa-about-template .about-timeline{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.targa-about-template .about-timeline article{
  padding:26px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
}
.targa-about-template .about-timeline strong{display:block;font-size:2rem;color:var(--green);line-height:1.1;margin-bottom:10px}
.targa-about-template .about-timeline p{margin:0}

.targa-about-template .about-team-strip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:38px;
  padding:34px 38px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
}
.targa-about-template .about-team-strip h2{margin-bottom:12px}
.targa-about-template .about-team-strip p{max-width:790px;margin:0}
.targa-about-template .about-team-strip .btn{flex:0 0 auto}

.targa-about-template .about-final{
  background:#22231f;
  color:#fff;
  text-align:center;
}
.targa-about-template .about-final h2{color:#fff}
.targa-about-template .about-final p{max-width:760px;margin:0 auto 28px;color:#d8d9d4;font-size:1.1rem}
.targa-about-template .about-final-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}

/* ---------- Zespół ---------- */
.targa-team-template .team-hero{
  padding:66px 0 62px;
  background:linear-gradient(135deg,#fbfcfa,#f2f4f1);
}
.targa-team-template .team-hero .eyebrow{color:var(--green)}
.targa-team-template .team-hero .lead{max-width:860px}
.targa-team-template .team-profile-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}
.targa-team-template .team-profile{
  position:relative;
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 26px rgba(35,37,32,.04);
}
.targa-team-template .team-profile:before{
  content:"";position:absolute;left:0;right:0;top:0;height:5px;background:#8d938b;
}
.targa-team-template .team-profile.tdrill:before{background:var(--red)}
.targa-team-template .team-profile.teuvan:before{background:var(--teuvan2)}
.targa-team-template .team-profile.dual:before{background:linear-gradient(90deg,var(--red) 0 50%,var(--teuvan2) 50% 100%)}
.targa-team-template .team-profile-media{background:#f2f3f0;min-height:100%}
.targa-team-template .team-profile-media img{width:100%;height:100%;min-height:100%;object-fit:cover;object-position:center top}
.targa-team-template .team-profile-body{padding:30px 28px;display:flex;flex-direction:column;min-width:0}
.targa-team-template .brand-badges{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 14px}
.targa-team-template .badge{padding:5px 9px;font-size:.72rem;letter-spacing:.03em}
.targa-team-template .badge.red{background:#f9e9ed;color:var(--red)}
.targa-team-template .badge.green{background:#edf6e9;color:#3f7b2f}
.targa-team-template .team-profile h2{font-size:1.65rem;margin:0 0 5px}
.targa-team-template .team-role{margin:0 0 16px;font-weight:800;color:#545a54;line-height:1.4}
.targa-team-template .team-profile-body>p:not(.team-role){margin:0 0 18px;font-size:.94rem}
.targa-team-template .text-link{margin-top:auto;font-weight:800;text-decoration:underline;text-underline-offset:4px}
.targa-team-template .red-link{color:var(--red)}
.targa-team-template .green-link{color:#3f7b2f}

.targa-team-template .team-routing{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:15px;
}
.targa-team-template .route-card{
  position:relative;
  min-width:0;
  min-height:170px;
  padding:24px;
  border:1px solid var(--line);
  border-top:5px solid #8d938b;
  border-radius:15px;
  background:#fff;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.targa-team-template .route-card.tdrill{border-top-color:var(--red)}
.targa-team-template .route-card.teuvan{border-top-color:var(--teuvan2)}
.targa-team-template .route-card h3{margin:0 0 10px}
.targa-team-template .route-card p{margin:0}
.targa-team-template .route-card span{position:absolute;right:20px;bottom:16px;font-size:1.35rem;font-weight:900}
.targa-team-template .route-card.tdrill span{color:var(--red)}
.targa-team-template .route-card.teuvan span{color:#4a8834}
.targa-team-template .route-card:hover,.targa-team-template .route-card:focus-visible{transform:translateY(-2px);box-shadow:0 12px 28px rgba(31,34,29,.08)}
.targa-team-template .route-card.tdrill:hover,.targa-team-template .route-card.tdrill:focus-visible{box-shadow:0 12px 30px rgba(170,17,44,.13)}
.targa-team-template .route-card.teuvan:hover,.targa-team-template .route-card.teuvan:focus-visible{box-shadow:0 12px 30px rgba(89,145,48,.15)}
.targa-team-template .team-contact-card h2{font-size:clamp(28px,3vw,40px);margin:0 0 8px}
.targa-team-template .team-contact-card p{margin:0}

@media(max-width:1050px){
  .targa-about-template .about-process{grid-template-columns:repeat(3,minmax(0,1fr))}
  .targa-team-template .team-profile{grid-template-columns:185px minmax(0,1fr)}
  .targa-team-template .team-routing{grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
  .targa-about-template .about-origin{grid-template-columns:1fr;gap:28px}
  .targa-about-template .about-brand-grid{grid-template-columns:1fr}
  .targa-about-template .about-brand-card{min-height:0}
  .targa-about-template .about-timeline{grid-template-columns:1fr 1fr}
  .targa-team-template .team-profile-grid{grid-template-columns:1fr}
  .targa-team-template .team-profile{grid-template-columns:220px minmax(0,1fr)}
}
@media(max-width:760px){
  .targa-about-template .about-hero{padding:46px 0 52px}
  .targa-about-template .about-origin{gap:22px}
  .targa-about-template .about-quote{padding:26px}
  .targa-about-template .about-process{grid-template-columns:1fr;gap:12px}
  .targa-about-template .about-process article{padding:21px 20px}
  .targa-about-template .about-timeline{grid-template-columns:1fr;gap:12px}
  .targa-about-template .about-team-strip{align-items:flex-start;flex-direction:column;padding:28px}
  .targa-about-template .about-final-actions{flex-direction:column}
  .targa-about-template .about-final-actions .btn{width:100%}
  .targa-team-template .team-profile{grid-template-columns:1fr}
  .targa-team-template .team-profile-media{height:auto}
  .targa-team-template .team-profile-media img{height:auto;aspect-ratio:1/1;object-fit:cover}
  .targa-team-template .team-profile-body{padding:25px 23px}
  .targa-team-template .team-routing{grid-template-columns:1fr;gap:12px}
  .targa-team-template .route-card{min-height:135px}
}

/* =========================================================
   TARGA v0.8.0 — FINAL QA: contact, detail, ROI, global forms
   ========================================================= */

.targa-contact-page .pagehero .eyebrow{color:var(--graphite)}
.targa-detail-page .pagehero .eyebrow,
.targa-roi-page .pagehero .eyebrow{color:var(--red)}

.targa-form{display:grid;gap:20px;max-width:100%}
.targa-form .form-section{margin:0;padding:24px;border:1px solid #d9dcda;border-radius:18px;background:#fff;min-width:0}
.targa-form .form-section legend{display:flex;align-items:center;gap:10px;padding:0 8px 0 0;font-size:1.15rem;font-weight:850;color:var(--graphite)}
.targa-form .form-step{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:50%;background:var(--red);color:#fff;font-size:.9rem;font-weight:900}
.targa-form .form-section-note{margin:0 0 18px;color:#616963;font-size:.94rem}
.targa-form .form-field label{font-weight:720;color:#33342f}
.targa-form .form-field input,
.targa-form .form-field select,
.targa-form .form-field textarea{transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}
.targa-form .form-field input:focus,
.targa-form .form-field select:focus,
.targa-form .form-field textarea:focus{outline:none;border-color:var(--red);box-shadow:0 0 0 3px rgba(170,17,44,.10)}
.targa-form input[type="file"]{padding:10px;background:#f8f9f7}
.targa-form textarea[readonly]{background:#f5f6f4;color:#515650}
.targa-form .privacy-inline{margin:2px 0}
.form-submit-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.form-submit-row .btn{min-width:220px}
.form-submit-row .form-status{flex:1 1 280px}
.targa-form button[disabled]{opacity:.72;cursor:wait;transform:none!important}

.route-result{border:1px solid #d8dcda;background:#f6f7f5;color:#3f4641}
.route-result.route-tdrill,
.route-result.route-service,
.route-result.route-data-center{border-color:rgba(170,17,44,.22);background:#fbf1f3;color:#761026}
.route-result.route-teuvan{border-color:rgba(126,180,57,.35);background:#f1f7e9;color:#245616}

.targa-contact-page section:not(.pagehero) .media-split{align-items:start}
.targa-contact-page .targa-contact-form{max-width:760px}
.targa-contact-page .media-split>.targa-contact-form+div>.card{margin-bottom:14px}

.targa-detail-page .detail-form{max-width:1040px;margin:auto}
.targa-detail-page .form-context{border-left:5px solid var(--red);background:#fbf1f3;border-top-color:#e7c5cc;border-right-color:#e7c5cc;border-bottom-color:#e7c5cc;color:#761026}

.targa-roi-page .roi-guide{border-left:5px solid var(--red);background:#fbf7f7}
.targa-roi-page .roi-results{background:#e0e2df}
.targa-roi-page .roi-results .stat{background:#fff;min-height:150px;display:flex;flex-direction:column;justify-content:center}
.targa-roi-page .roi-results .stat:first-child strong,
.targa-roi-page .roi-results .stat:nth-child(4) strong{color:var(--red)}
.targa-roi-page .roi-results .stat strong.negative{color:#9b1c1c}
.targa-roi-page .notice{border-left:5px solid #d19b30;background:#fff7e6}

.targa-thankyou-page .thank-ref{font-size:1.05rem;color:var(--red)}

/* Global final focus states: visible for keyboard users without changing brand hover logic. */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(170,17,44,.45);outline-offset:3px}
.topnav a[href*="/teuvan/"]:focus-visible{outline-color:rgba(126,180,57,.65)}

@media(max-width:760px){
  .targa-form .form-section{padding:18px 16px}
  .targa-form .form-section legend{font-size:1.05rem}
  .form-submit-row{align-items:stretch;flex-direction:column}
  .form-submit-row .btn{width:100%;min-width:0}
  .form-submit-row .form-status{flex:auto;width:100%}
  .targa-roi-page .roi-results .stat{min-height:116px}
}

/* Team member detail — CMS-friendly public profile. */
.single-team_member .pagehero .eyebrow{color:var(--red)}
.single-team_member .hero-media.product{background:#f5f6f3}
.single-team_member .hero-media.product img{max-height:520px;object-fit:contain}
.single-team_member .article-body{padding-bottom:20px}

/* =========================================================
   TARGA v0.8.2 — homepage business cards alignment
   ========================================================= */

/* "Dwie linie biznesowe": logo, heading and description form one centered block. */
.home .business-lines > .card{
  text-align:center;
  align-items:center;
}
.home .business-lines > .card > img{
  margin-left:auto;
  margin-right:auto;
  object-position:center center;
  align-self:center;
}
.home .business-lines > .card > h3{
  width:100%;
  text-align:center;
}
.home .business-lines > .card > p{
  width:100%;
  max-width:540px;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

/* =========================================================
   TARGA v0.8.4 — final staging QA
   /wyslij-detal/: preserve the original panoramic image ratio.
   ========================================================= */
.targa-detail-page .pagehero .hero-media.product{
  aspect-ratio:auto;
  min-height:0;
  height:auto;
  padding:0;
  display:block;
  background:#eef0ed;
}
.targa-detail-page .pagehero .hero-media.product img{
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:center center;
  display:block;
}

