/*
Theme Name: TM Smart
Description: Lekki motyw potomny GeneratePress dla serwisu TM Smart. Treści edytowane w Gutenbergu.
Template: generatepress
Version: 0.1.0
Text Domain: tmsmart
*/
:root{--tm-green:#5ee500;--tm-light:#a2f36c;--tm-ink:#101410;--tm-muted:#49564a;--tm-soft:#f5f9f2;--tm-line:#dce7d7;--tm-width:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:#fff;color:var(--tm-ink);font-family:Roboto,Arial,sans-serif;font-size:17px;line-height:1.65}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:4px}a:hover{color:#117617}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #117617;outline-offset:4px}img{max-width:100%;height:auto;display:block}figure{margin:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.12;letter-spacing:-.04em;font-weight:750}h1{font-size:clamp(38px,4.5vw,64px);margin-bottom:24px}h2{font-size:clamp(30px,3.5vw,46px);max-width:820px;margin-bottom:36px}h3{font-size:25px;letter-spacing:-.025em;margin-bottom:18px}p{margin-bottom:22px}.tm-content{overflow:hidden}.tm-header{position:sticky;top:0;z-index:30;background:#fffffff5;backdrop-filter:blur(14px);border-bottom:1px solid var(--tm-line)}.admin-bar .tm-header{top:32px}.tm-header-inner{max-width:var(--tm-width);margin:auto;min-height:96px;display:flex;align-items:center;gap:28px;padding:8px 0}.tm-logo{display:block;width:137px;flex-shrink:0}.tm-logo img{width:137px;height:78px;object-fit:contain}.tm-nav{margin-left:auto}.tm-nav ul{list-style:none;display:flex;align-items:center;gap:26px;margin:0;padding:0}.tm-nav a{font-size:14px;font-weight:600;text-decoration:none}.tm-nav .current-menu-item a{color:#117617}.tm-head-call{display:inline-flex;align-items:center;gap:10px;font-size:16px;font-weight:700;text-decoration:none;border-left:1px solid var(--tm-line);padding-left:26px}.tm-head-call span:first-child{display:grid;place-items:center;background:var(--tm-soft);width:36px;height:36px;border-radius:50%}.tm-menu-toggle{display:none;border:1px solid var(--tm-line);border-radius:6px;background:#fff;padding:8px 14px}.tm-staging{font-size:12px;letter-spacing:.07em;text-align:center;padding:7px 12px;background:#141714;color:#fff}.tm-section,.tm-hero{max-width:var(--tm-width);margin:0 auto;padding:84px 0}.tm-hero{padding-top:64px;padding-bottom:70px}.tm-hero>.wp-block-columns{gap:54px;align-items:center;margin:0}.wp-block-columns{display:flex;gap:26px;margin:0}.wp-block-column{min-width:0;flex:1}.tm-hero .wp-block-column:first-child{flex:1.1}.tm-hero .wp-block-column:last-child{flex:1}.tm-hero img{height:545px;width:100%;object-fit:cover;object-position:40% center;border-radius:20px 20px 70px 20px}.tm-hero .eyebrow{margin-bottom:26px}.eyebrow{font-size:12px;letter-spacing:.16em;font-weight:750;color:#117617;margin-bottom:20px}.hero-subtitle{font-size:20px;font-weight:600;max-width:490px}.hero-address{font-size:13px;color:var(--tm-muted);margin-top:30px;margin-bottom:0}.tm-hero .wp-block-buttons{margin-top:32px}.wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px}.wp-block-button{margin:0}.wp-block-button__link,.ff-btn-submit{display:inline-flex;min-height:52px;align-items:center;justify-content:center;padding:14px 22px;border:1px solid transparent;border-radius:6px;background:var(--tm-green);color:#071c08!important;font-size:15px;font-weight:750;line-height:1.4;text-decoration:none;transition:background .2s,transform .2s;cursor:pointer}.wp-block-button__link:hover,.ff-btn-submit:hover{background:#27b12e;color:#071c08;transform:translateY(-1px)}.is-style-outline .wp-block-button__link{background:transparent;border-color:#b1bab0;color:var(--tm-ink)!important}.is-style-outline .wp-block-button__link:hover{background:var(--tm-soft)}.tm-card{border:1px solid var(--tm-line);border-radius:12px;padding:32px;min-height:325px;display:flex;flex-direction:column}.tm-card>p:last-child{margin-top:auto;margin-bottom:0;font-size:14px;font-weight:700}.tm-card p{font-size:15px;color:var(--tm-muted)}.tm-card .card-number{font-size:12px;font-weight:700;letter-spacing:.15em;color:#117617;margin-bottom:34px}.tm-soft{position:relative;background:var(--tm-soft);box-shadow:0 0 0 100vmax var(--tm-soft);clip-path:inset(0 -100vmax)}.tm-step{padding:12px 28px 0 0}.tm-step p:last-child{font-size:16px;color:var(--tm-muted)}.step-number{font-size:15px;font-weight:750;background:#dcebd8;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;margin-bottom:25px}.tm-section .wp-block-image img{border-radius:12px;object-fit:contain;max-height:360px;width:100%}.tm-quote{background:#fff;border:1px solid var(--tm-line);border-radius:12px;padding:32px;height:100%}.tm-quote p:first-child{font-size:19px}.tm-quote p:last-child{font-size:12px;color:var(--tm-muted);margin:20px 0 0}.tm-quote+.tm-quote{margin-top:16px}.tm-contact-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:32px}.tm-contact-grid h3{font-size:19px}.tm-contact-grid p{font-size:16px}.tm-contact-grid a{overflow-wrap:anywhere}.tm-form-wrap{max-width:760px;padding:36px;background:var(--tm-soft);border:1px solid var(--tm-line);border-radius:12px}.tm-form-note{font-size:14px;color:var(--tm-muted);margin:0 0 25px}.fluentform label{font-size:15px;font-weight:650!important}.fluentform .ff-el-form-control,.preview-form input,.preview-form select,.preview-form textarea{background:#fff;border:1px solid #b5c0b1;border-radius:6px;padding:12px 14px;min-height:48px;color:#141714;width:100%;font-size:16px}.fluentform .ff-el-group{margin-bottom:22px}.tm-form-wrap a{color:#117617}.tm-footer{background:#141714;color:#fff;padding:60px 24px 28px}.tm-footer-inner{max-width:var(--tm-width);margin:auto}.tm-footer-top{display:flex;gap:40px;justify-content:space-between}.tm-footer strong{font-size:26px;letter-spacing:-1px}.tm-footer p,.tm-footer a{font-size:14px;color:#d0d8cc}.tm-footer-links{display:flex;gap:24px;flex-wrap:wrap}.tm-footer-bottom{border-top:1px solid #384136;margin-top:34px;padding-top:22px;font-size:12px;color:#aebbaa}.tm-mobile-actions{display:none}.skip-link{position:fixed;left:20px;top:-100px;z-index:100;background:#fff;color:#000;padding:14px}.skip-link:focus{top:8px}.preview-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.preview-form label{font-size:14px;display:grid;gap:6px}.preview-form .full{grid-column:1/-1}.preview-form textarea{min-height:120px}.preview-form button{width:100%;grid-column:1/-1}.preview-notice{font-size:13px;padding:12px;background:#e2ecde;border-left:3px solid #117617}.tm-inner-page h1{font-size:clamp(36px,4vw,56px)}
@media(min-width:1025px){.tm-section+.tm-section{border-top:1px solid #edf1eb}}
@media(max-width:1240px){.tm-header-inner,.tm-section,.tm-hero{margin-left:28px;margin-right:28px}.tm-header-inner{gap:20px}.tm-nav ul{gap:18px}.tm-head-call{padding-left:20px}.tm-hero>.wp-block-columns{gap:30px}}
@media(max-width:1024px){.tm-menu-toggle{display:block;margin-left:auto}.tm-nav{display:none;position:absolute;left:0;right:0;top:100%;margin:0;background:#fff;border-bottom:1px solid var(--tm-line);padding:18px 28px}.tm-nav.is-open{display:block}.tm-nav ul{flex-direction:column;align-items:stretch;gap:0}.tm-nav a{display:block;padding:13px 0;font-size:16px}.tm-head-call{border:0;padding:0}.tm-hero img{height:480px}.tm-card{padding:24px}.tm-card h3{font-size:23px}}
@media(max-width:767px){body{font-size:16px}.tm-header-inner{min-height:76px;margin:0 20px}.tm-logo,.tm-logo img{width:105px;height:62px}.tm-head-call{display:none}.tm-staging{font-size:10px}.tm-section,.tm-hero{margin-left:20px;margin-right:20px;padding:52px 0}.tm-hero{padding-top:36px}.wp-block-columns{flex-direction:column;gap:20px}.tm-hero>.wp-block-columns{gap:34px}.tm-hero img{height:300px;object-position:50% 50%;border-radius:12px 12px 48px 12px}.tm-hero h1{font-size:42px}.hero-subtitle{font-size:19px}.tm-hero .eyebrow{font-size:10px;margin-bottom:20px}.hero-address{font-size:12px;margin-top:22px}.wp-block-buttons{gap:10px}.wp-block-button{flex:1 1 auto}.wp-block-button__link{font-size:14px;padding:14px 17px;width:100%}.tm-card{min-height:0;padding:26px}.tm-card .card-number{margin-bottom:22px}.tm-card>p:last-child{margin-top:15px}.tm-step{padding:4px 0 20px}.tm-step h3{font-size:23px}.tm-contact-grid{grid-template-columns:1fr;gap:18px}.tm-contact-grid p{margin-bottom:0}.tm-form-wrap{padding:24px 18px}.tm-footer{padding-bottom:100px}.tm-footer-top{flex-direction:column;gap:18px}.tm-footer-links{gap:16px}.tm-mobile-actions{display:flex;position:fixed;bottom:0;left:0;right:0;padding:10px 14px calc(10px + env(safe-area-inset-bottom));gap:10px;z-index:40;background:#fff;border-top:1px solid var(--tm-line);box-shadow:0 -4px 20px #00000008}.tm-mobile-actions a{flex:1;text-decoration:none;text-align:center;padding:12px 8px;border:1px solid var(--tm-line);border-radius:6px;font-size:14px;font-weight:700;min-height:46px}.tm-mobile-actions a:last-child{background:var(--tm-green);color:#071c08;border-color:var(--tm-green)}.preview-form{grid-template-columns:1fr}.admin-bar .tm-header{top:46px}}
/* TM Smart mobile and contrast revision */
.tm-menu-toggle{color:#141714!important;font-size:15px;font-weight:700;line-height:1.4;min-width:86px;min-height:46px}
.tm-content .wp-block-button__link:not(.is-style-outline .wp-block-button__link),.tm-content .ff-btn-submit{background:#59b35d!important;color:#071c08!important;border-color:#59b35d!important}
.tm-content .is-style-outline .wp-block-button__link{background:white!important;color:#141714!important;border:1px solid #7d8c79!important}
.tm-card .wp-block-buttons{margin-top:18px}.tm-section>.wp-block-columns+.wp-block-columns{margin-top:26px}
.tm-card{min-height:0}.tm-card .card-number{font-size:16px;color:#117617;background:#e7f4e3;align-self:flex-start;padding:8px 12px;border-radius:8px;margin-bottom:22px}
.tm-nav ul{gap:18px}.tm-nav a{font-size:13px}.tm-nav .tm-nav-cta a{background:#59b35d;color:#071c08;padding:12px;border-radius:6px}
@media(max-width:1024px){.tm-nav a{font-size:16px}.tm-nav .tm-nav-cta a{padding:14px}.tm-header-inner{flex-wrap:wrap}}
@media(max-width:767px){body{padding-bottom:82px}.tm-staging{font-size:9px;line-height:1.4;padding:6px 12px;letter-spacing:.02em}.tm-header-inner{padding:6px 0;gap:8px 16px}.tm-logo,.tm-logo img{width:96px;height:52px}.tm-menu-toggle{padding:8px 12px}.tm-head-call{display:block;width:100%;text-align:center;font-size:13px;line-height:1.5;padding:0 0 5px}.tm-head-call span:first-child{display:none}.tm-hero{padding-top:26px;padding-bottom:34px}.tm-hero h1{font-size:clamp(30px,8vw,38px);line-height:1.12;margin-bottom:16px;letter-spacing:-.035em}.hero-subtitle{font-size:17px;line-height:1.55;margin-bottom:18px}.tm-hero .eyebrow{margin-bottom:14px}.tm-hero .wp-block-buttons{margin-top:18px;gap:8px}.tm-hero .wp-block-buttons .wp-block-button{flex-basis:100%}.tm-hero img{height:230px}.tm-hero>.wp-block-columns{gap:24px}.hero-address{margin-top:16px}.tm-section{padding:38px 0}.tm-section h2{font-size:29px;margin-bottom:24px}.tm-section>.wp-block-columns+.wp-block-columns{margin-top:20px}.tm-card{padding:22px}.tm-card h3{font-size:22px}.tm-mobile-actions a{font-size:13px;padding:12px 5px}.tm-mobile-actions a:last-child{background:#59b35d;color:#071c08}.tm-footer{padding-bottom:36px}.tm-form-wrap{padding:20px 16px}.fluentform .ff-btn-submit{width:100%;min-height:50px}.admin-bar .tm-header{top:46px}}
/* TM Smart — visual enrichment: why-us and service photography */
.tm-section:has(> .eyebrow + h2) .tm-why-photo{margin:0 0 18px}
.tm-card:has(.tm-why-photo){padding:0;min-height:0;overflow:hidden;background:#fff;box-shadow:0 8px 28px rgba(20,45,20,.07);transition:transform .22s ease,box-shadow .22s ease;border-radius:18px;gap:0}
.tm-card:has(.tm-why-photo):hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(20,45,20,.14)}
.tm-card:has(.tm-why-photo) h3{order:2;margin:19px 22px 8px;font-size:23px}
.tm-card:has(.tm-why-photo) .tm-why-photo{order:1;margin:0;width:100%}
.tm-card:has(.tm-why-photo) .tm-why-photo img{height:186px;max-height:none;width:100%;object-fit:cover;object-position:center;border-radius:0;transition:transform .35s ease}
.tm-card:has(.tm-why-photo):hover .tm-why-photo img{transform:scale(1.035)}
.tm-card:has(.tm-why-photo)>p{order:3;margin:0 22px 22px;font-size:15px;line-height:1.55;color:#4b594b}
.tm-card:has(.tm-why-photo)>p:last-child{margin-top:4px}
.tm-section .tm-service-photo{margin:14px 0 30px}
.tm-section .tm-service-photo img{width:100%;max-height:340px;object-fit:cover;border-radius:18px}
@media(max-width:767px){.tm-card:has(.tm-why-photo) .tm-why-photo img{height:185px}.tm-card:has(.tm-why-photo) h3{font-size:22px}.tm-section .tm-service-photo img{max-height:230px}}
/* TM Smart 2026 — luminous green, conversion-focused visual refresh */
.tm-header{box-shadow:0 3px 24px rgba(12,25,12,.04)}
.tm-hero{position:relative}
.tm-hero:before{content:"";position:absolute;z-index:-1;right:-9%;top:5%;width:48%;height:70%;background:radial-gradient(circle,#b9ff8a88 0%,transparent 70%);pointer-events:none}
.tm-hero h1{font-weight:850;letter-spacing:-.052em}
.tm-hero .wp-block-image img{box-shadow:0 24px 60px rgba(11,28,11,.18);border:3px solid #fff}
.tm-content .wp-block-button__link:not(.is-style-outline .wp-block-button__link),.tm-content .ff-btn-submit,.tm-nav .tm-nav-cta a,.tm-mobile-actions a:last-child{background:#5ee500!important;border-color:#5ee500!important;color:#0b1a04!important}
.tm-content .wp-block-button__link:not(.is-style-outline .wp-block-button__link):hover,.tm-content .ff-btn-submit:hover{background:#7df52e!important;border-color:#7df52e!important;box-shadow:0 8px 22px #55d70044}
.tm-content .is-style-outline .wp-block-button__link:hover{border-color:#63cf17!important;background:#f2ffe9!important}
.tm-section .tm-card:not(:has(.tm-why-photo)){min-height:0;background:#fff;border-radius:18px;box-shadow:0 7px 28px #10241009;transition:transform .23s ease,box-shadow .23s ease,border-color .23s ease}
.tm-section .tm-card:not(:has(.tm-why-photo)):hover{transform:translateY(-4px);border-color:#a0e76a;box-shadow:0 16px 32px #182b1818}
.tm-card .card-number{background:#e8ffd7!important;color:#295a0a!important}
.tm-why-photo img{height:205px!important;max-height:none!important;width:100%;object-fit:cover!important}
.tm-section .tm-service-photo img{border:1px solid #e3e9de;box-shadow:0 14px 35px #1325130f}
.tm-form-wrap{background:linear-gradient(145deg,#f4ffe9,#fff 80%);border:1px solid #b5e998;border-radius:20px;box-shadow:0 15px 48px #15331512}
.tm-form-wrap .ff-el-form-control:focus{outline:2px solid #63d51a;outline-offset:1px;border-color:#63d51a}
.tm-section h2{letter-spacing:-.05em}
@media(max-width:767px){.tm-hero:before{right:-10%;width:90%;height:45%;top:35%}.tm-card:has(.tm-why-photo) .tm-why-photo img{height:190px!important}.tm-form-wrap{border-radius:14px}.tm-section .tm-service-photo img{max-height:250px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* TM Smart — Tech Atelier visual direction, October 2026 */
:root{--tm-green:#52d936;--tm-ink:#101614;--tm-soft:#f3f6f1;--tm-line:#dde5dc;--tm-muted:#526059}
body{font-family:'DM Sans',sans-serif;background:#fafcf9;color:var(--tm-ink)}
h1,h2,h3,.tm-footer strong{font-family:Manrope,'DM Sans',sans-serif;font-weight:800;letter-spacing:-.055em}
h1{font-size:clamp(42px,5vw,74px);line-height:1.07}
h2{font-size:clamp(32px,3.7vw,52px)}
.tm-header{background:rgba(250,252,249,.94);border-bottom:1px solid #dce5db}
.tm-header-inner{max-width:1240px}
.tm-nav a{font-weight:700}
.tm-hero{max-width:1240px;padding:90px 0 96px;isolation:isolate}
.tm-hero:before{background:radial-gradient(ellipse,#b4ff1955,transparent 66%);right:-8%;width:65%;height:110%;top:-5%}
.tm-hero .eyebrow,.eyebrow{font-family:Manrope,sans-serif;text-transform:uppercase;letter-spacing:.2em;color:#406600}
.tm-hero .eyebrow:before{content:"●";display:inline-block;margin-right:10px;color:#8acf00;font-size:12px}
.tm-hero h1{font-weight:800;max-width:720px;letter-spacing:-.066em}
.tm-hero .hero-subtitle{color:#3c4940;font-size:clamp(18px,1.8vw,22px);line-height:1.55}
.tm-hero .wp-block-column:last-child{position:relative}
.tm-hero .wp-block-column:last-child:before{content:"TM / TECH LAB";position:absolute;top:18px;left:18px;z-index:2;color:#d9ffae;background:#0b1511d9;border:1px solid #c1ff5c66;border-radius:30px;font:700 11px Manrope,sans-serif;letter-spacing:.16em;padding:9px 15px}
.tm-hero .wp-block-image img{height:570px;object-fit:cover;object-position:center;border:0;border-radius:30px 100px 30px 30px;filter:contrast(1.06) saturate(.88);box-shadow:0 38px 80px #10241733}
.tm-content .wp-block-button__link:not(.is-style-outline .wp-block-button__link),.tm-content .ff-btn-submit,.tm-nav .tm-nav-cta a,.tm-mobile-actions a:last-child{background:var(--tm-green)!important;border-color:var(--tm-green)!important;color:#122000!important}
.wp-block-button__link,.ff-btn-submit{font-family:Manrope,sans-serif;font-weight:800;border-radius:13px;padding:16px 25px}
.tm-content .wp-block-button__link:hover{transform:translateY(-2px)}
.tm-section{max-width:1240px;padding:90px 0}
.tm-section:has(.tm-step){background:#10211c;box-shadow:0 0 0 100vmax #10211c;clip-path:inset(0 -100vmax);color:#f7fff4}
.tm-section:has(.tm-step) .eyebrow{color:#73e85d}
.tm-section:has(.tm-step) .tm-step p:last-child{color:#c4d3c8}
.tm-section:has(.tm-step) .step-number{background:#52d936;color:#132108}
.tm-section .tm-card:not(:has(.tm-why-photo)){border:1px solid #dfe9df;border-radius:24px;padding:30px;box-shadow:0 14px 45px #1024100b;background:linear-gradient(145deg,#fff,#f8fbf6)}
.tm-section .tm-card:not(:has(.tm-why-photo)):hover{border-color:#98c747;box-shadow:0 20px 50px #13281922}
.tm-card .card-number{font-family:Manrope,sans-serif;font-size:13px!important;letter-spacing:.08em;background:#e5ffbf!important;color:#243d00!important}
.tm-card:has(.tm-why-photo){border-radius:26px;box-shadow:0 18px 48px #10241018}
.tm-card:has(.tm-why-photo) .tm-why-photo img{height:232px!important;filter:saturate(.88) contrast(1.07)}
.tm-card:has(.tm-why-photo) h3{margin-top:25px}
.tm-card:has(.tm-why-photo)>p{color:#48564a}
.tm-form-wrap{max-width:830px;background:linear-gradient(140deg,#f2ffe5,#fff 62%);border:1px solid #bfdfa0;border-radius:28px;padding:42px;box-shadow:0 28px 65px #10241017}
.fluentform .ff-el-form-control{border-radius:11px;border-color:#bccfbd;min-height:54px}
.tm-footer{background:#0d1814}
.tm-mobile-actions a{border-radius:12px}
@media(max-width:767px){.tm-hero{padding:34px 0 52px}.tm-hero h1{font-size:clamp(34px,9vw,46px);line-height:1.09}.tm-hero .wp-block-image img{height:300px;border-radius:22px 58px 22px 22px}.tm-hero .wp-block-column:last-child:before{font-size:9px;top:12px;left:12px}.tm-section{padding:50px 0}.tm-section h2{font-size:clamp(30px,8vw,39px)}.tm-form-wrap{padding:24px 18px;border-radius:19px}.tm-card:has(.tm-why-photo) .tm-why-photo img{height:200px!important}.tm-section .tm-card:not(:has(.tm-why-photo)){padding:24px;border-radius:18px}}
@media(prefers-reduced-motion:reduce){.tm-card,.wp-block-button__link{animation:none!important;transition:none!important}}

/* TM Smart — benchmark-inspired conversion layout */
.tm-hero .wp-block-buttons{align-items:stretch;gap:12px}
.tm-hero .wp-block-button__link{min-width:190px;box-shadow:0 12px 26px #93d7252b}
.tm-hero .is-style-outline .wp-block-button__link{box-shadow:none;background:#f8fcf6!important;border:1.5px solid #25372c!important}
.tm-hero .hero-address{display:inline-flex;align-items:center;gap:10px;border:1px solid #d7e5d5;background:#f3f9ef;padding:11px 16px;border-radius:50px;color:#2d4630;font-weight:650}
.tm-section:has(.tm-card)>.wp-block-columns{gap:20px}
.tm-section:has(.tm-card)>.wp-block-columns>.wp-block-column{display:flex}
.tm-section:has(.tm-card) .tm-card{width:100%}
.tm-section:has(.tm-card) .tm-card h3{font-size:clamp(21px,2vw,27px)}
.tm-section:has(.tm-card) .tm-card>a,.tm-section:has(.tm-card) .tm-card>p>a{color:#294f05;font-weight:800}
.tm-section:has(.tm-card) .tm-card .wp-block-buttons{margin-top:auto}
.tm-section:has(.tm-card) .tm-card .wp-block-button__link{width:100%;font-size:13px;min-height:44px;padding:11px 15px}
.tm-section:has(.tm-form-wrap){position:relative}
.tm-section:has(.tm-form-wrap)>h2{max-width:930px}
.tm-section:has(.tm-form-wrap)>.wp-block-paragraph{font-size:19px;max-width:760px;color:#536153}
.tm-form-wrap .tm-form-note{font-size:13px;border-left:4px solid #8ed500;background:#edffdc;padding:12px 16px;border-radius:4px 10px 10px 4px}
.tm-section:has(.tm-service-photo) .tm-service-photo img{height:330px;object-fit:cover;filter:saturate(.92) contrast(1.05)}
.tm-section:has(.tm-service-photo)>.wp-block-columns{align-items:center}
.tm-section:has(.tm-service-photo) h2{max-width:690px}
.tm-content a:focus-visible{outline:3px solid #335c08;outline-offset:4px}
/* TM Smart 2026 — Polish service benchmark refinement */
.tm-hero{background:linear-gradient(110deg,#f7faf7 0%,#fff 56%,#e9f6eb 100%);border-radius:32px;padding:66px 42px;margin-top:30px;margin-bottom:30px;border:1px solid #e0ebe2}
.tm-hero h1{font-size:clamp(39px,4.9vw,70px)}
.tm-hero .wp-block-image{position:relative}
.tm-hero .wp-block-image:after{content:"SERWIS • SMARTFONY • TECHNOLOGIA";position:absolute;bottom:16px;right:18px;background:#101d16e8;border:1px solid #ffffff55;color:#e4f9e9;border-radius:9px;padding:11px 14px;font:700 10px Manrope,sans-serif;letter-spacing:.1em}
.tm-section:has(.tm-card)>.wp-block-columns>.wp-block-column:nth-child(2) .tm-card{background:linear-gradient(150deg,#eafaeb,#fff 68%)}
.tm-section:has(.tm-card) .tm-card{position:relative;overflow:hidden}
.tm-section:has(.tm-card) .tm-card:not(:has(.tm-why-photo)):before{content:"";position:absolute;right:-55px;top:-60px;width:140px;height:140px;border:1px solid #52d93644;border-radius:50%;box-shadow:0 0 0 27px #52d93608;pointer-events:none}
.tm-section:has(.tm-card) .tm-card h3{position:relative}
.tm-section:has(.tm-step){background:linear-gradient(115deg,#0f1b18,#1c3028);box-shadow:0 0 0 100vmax #0f1b18}
.tm-step{border-left:1px solid #75cb795c;padding:0 22px 0 24px}
.tm-step .step-number{border-radius:12px}
.tm-section:has(.tm-form-wrap){background:linear-gradient(110deg,#f6faf5,#eaf8ea);box-shadow:0 0 0 100vmax #f3f9f2;clip-path:inset(0 -100vmax);padding-top:76px;padding-bottom:78px}
.tm-form-wrap{background:#fff;box-shadow:0 24px 60px #132b181c}
.tm-form-wrap .ff-btn-submit{width:100%}
.tm-why-photo img{object-position:center}
.tm-nav .tm-nav-cta a{border-radius:10px}
/* Service center inspired navigation */
/* Readability pass — prominent contact details */
.tm-head-call{gap:12px;padding-left:20px;text-decoration:none}
.tm-head-call .tm-call-number{font-family:Manrope,sans-serif;font-size:clamp(18px,1.55vw,23px);font-weight:800;letter-spacing:-.025em;white-space:nowrap;color:#152b19}
.tm-head-call:hover .tm-call-number{color:#267b36}
.tm-hero .hero-address{font-family:'DM Sans',sans-serif;font-size:clamp(15px,1.35vw,18px);line-height:1.45;font-weight:700;color:#1d3b24;background:#eaf8ea;border-color:#b9daba}
.tm-contact-grid p{font-size:18px;line-height:1.65}
.tm-contact-grid a[href^="tel:"]{font-family:Manrope,sans-serif;font-weight:800;font-size:clamp(21px,2vw,27px);color:#1b6932;text-decoration:none}
.tm-footer p{font-size:15px;line-height:1.7;color:#e2ebe3}
.tm-footer strong{font-size:29px}
.tm-mobile-actions a{font-size:15px;letter-spacing:-.01em}
@media(max-width:1024px){.tm-head-call .tm-call-number{font-size:19px}}
@media(max-width:767px){.tm-head-call{display:block;width:100%;text-align:center;padding:0 0 8px}.tm-head-call .tm-call-number{font-size:21px}.tm-hero .hero-address{font-size:15px;line-height:1.5;padding:13px 15px}.tm-mobile-actions a{font-size:14px;line-height:1.3}}


/* Persistent contact rails — desktop, mobile retains existing bottom actions */
.tm-side-actions{position:fixed;inset:0;z-index:39;pointer-events:none}
.tm-side-actions a{position:absolute;top:52%;display:flex;align-items:center;gap:9px;padding:15px 17px;border:1px solid #d3e4d4;border-radius:14px;background:#fff;color:#17241a;text-decoration:none;font:800 14px Manrope,sans-serif;box-shadow:0 10px 28px #0d281a24;pointer-events:auto;transition:transform .2s,box-shadow .2s}
.tm-side-actions .tm-side-call{left:12px;transform:translateY(-50%);background:#182a20;color:#fff;border-color:#182a20}
.tm-side-actions .tm-side-form{right:12px;transform:translateY(-50%);background:#52d936;color:#102511;border-color:#52d936}
.tm-side-actions a:hover{box-shadow:0 16px 36px #0d281a35}
.tm-side-actions a:focus-visible{outline:3px solid #245d30;outline-offset:3px}
@media(min-width:768px) and (max-width:1460px){.tm-side-actions a{padding:12px;border-radius:12px;writing-mode:vertical-rl;gap:10px}.tm-side-actions .tm-side-call{left:0;border-radius:0 12px 12px 0}.tm-side-actions .tm-side-form{right:0;border-radius:12px 0 0 12px}}
@media(max-width:767px){.tm-side-actions{display:none}.tm-mobile-actions{z-index:45}.tm-mobile-actions a:first-child{background:#182a20;color:#fff;border-color:#182a20}.tm-mobile-actions a:last-child{background:#52d936!important;color:#102511!important;border-color:#52d936!important}}

.tm-section:has(.tm-card)>.eyebrow{display:inline-flex;background:#eaf9ed;border-radius:25px;padding:8px 14px}
.tm-section:has(.tm-card) .tm-card:not(:has(.tm-why-photo)){background:#fff;border-radius:22px;border:1px solid #e4eae5}
.tm-section:has(.tm-card) .tm-card:not(:has(.tm-why-photo)):hover{border-color:#52d936}
.tm-section:has(.tm-step) .tm-step{border-radius:18px;background:#1b3027;padding:26px}
.tm-form-wrap input:focus-visible,.tm-form-wrap textarea:focus-visible{outline:3px solid #287e39;outline-offset:2px}
@media(max-width:767px){.tm-section:has(.tm-step) .tm-step{padding:18px}}
@media(max-width:767px){.tm-hero{padding:28px 18px 36px;margin:10px 12px 0;border-radius:22px}.tm-hero .wp-block-image:after{font-size:8px;right:9px;bottom:9px;padding:8px}.tm-hero h1{font-size:clamp(31px,8.5vw,43px)}.tm-section:has(.tm-form-wrap){padding:48px 0}.tm-step{padding:0 0 16px 18px}}

@media(max-width:767px){.tm-hero .hero-address{border-radius:14px;font-size:12px;display:flex}.tm-hero .wp-block-button__link{width:100%;min-width:0}.tm-section:has(.tm-service-photo) .tm-service-photo img{height:210px}.tm-section:has(.tm-card)>.wp-block-columns{gap:14px}.tm-section:has(.tm-form-wrap)>.wp-block-paragraph{font-size:16px}}



