/*
Theme Name: Maćko-Karcher Modern
Theme URI: https://macko-karcher.pl/
Author: Projekt demonstracyjny
Description: Lekki, responsywny motyw dla Maćko-Karcher z zachowaniem istniejących wpisów, podstron i adresów URL.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: macko-modern
*/
:root{--ink:#142220;--ink2:#293b37;--muted:#65716c;--cream:#f8f8f3;--white:#fff;--yellow:#edc64d;--yellow2:#ffe18b;--line:#e5e8e1;--sage:#eaf0e9;--radius:24px;--container:1200px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);line-height:1.65;overflow-wrap:break-word}body,button,input,textarea{font-size:16px}a{color:inherit;text-decoration:none}img{display:block;width:100%;height:auto}button,input,textarea{font:inherit}button{cursor:pointer}::selection{background:var(--yellow);color:var(--ink)}:focus-visible{outline:3px solid #c79c0d;outline-offset:3px}section[id]{scroll-margin-top:92px}.wrap{max-width:var(--container);width:calc(100% - 56px);margin-inline:auto}
.topbar{background:var(--ink);color:#e6eeeb;font-size:12px;font-weight:700;letter-spacing:.03em}.topbar .wrap{min-height:35px;display:flex;align-items:center;justify-content:space-between;gap:18px}.topbar a{color:var(--yellow2)}.topbar .top-phone{white-space:nowrap;display:flex;align-items:center;gap:8px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--yellow);margin-right:6px}
.site-header{position:sticky;top:0;background:rgba(248,248,243,.97);backdrop-filter:blur(16px);z-index:100;border-bottom:1px solid rgba(20,34,32,.07)}.header-inner{height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;gap:11px;align-items:center;flex-shrink:0}.brand-icon{width:42px;height:42px;border-radius:14px;background:var(--yellow);display:grid;place-items:center;font-size:25px;font-weight:950;letter-spacing:-.12em;line-height:1;color:var(--ink)}.brand-title{font-size:18px;font-weight:950;letter-spacing:-.045em;line-height:1.1}.brand-sub{display:block;color:var(--muted);font-size:10px;letter-spacing:.14em;font-weight:800;margin-top:4px}.nav{display:flex;align-items:center;gap:26px}.nav a{font-size:13px;font-weight:800;color:#34423d;transition:color .2s}.nav a:hover,.footer-links a:hover{color:#a3780d}.header-actions{display:flex;align-items:center;gap:12px}.menu-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:var(--white)}.menu-toggle svg{width:22px;height:22px}.btn{border:0;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 20px;font-weight:850;font-size:14px;line-height:1.2;transition:transform .2s,background .2s,box-shadow .2s;text-align:center}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--yellow);color:var(--ink);box-shadow:0 8px 20px rgba(133,94,0,.1)}.btn-primary:hover{background:#ffd75c}.btn-ink{background:var(--ink);color:white}.btn-ink:hover{background:var(--ink2)}.btn-ghost{background:transparent;border:1px solid #cdd6ce;color:var(--ink)}.btn-light{background:white;color:var(--ink)}.btn svg,.phone-link svg{width:17px;height:17px;flex-shrink:0}.text-link{font-weight:850;font-size:14px;text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:3px;text-underline-offset:5px}
.hero{padding:68px 0 70px}.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:72px;align-items:center}.eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:950;color:#866714;display:inline-flex;align-items:center;gap:9px}.eyebrow:before{content:"";width:26px;height:3px;background:var(--yellow);border-radius:2px}.hero h1{font-size:clamp(46px,5.6vw,78px);letter-spacing:-.065em;line-height:1.035;margin:24px 0;max-width:650px;font-weight:900}.hero h1 span{color:#b48a19}.hero-intro{font-size:18px;color:#55625a;max-width:520px;line-height:1.8;margin:0 0 31px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-note{display:flex;gap:15px;align-items:center;margin-top:33px;color:#4b6158;font-size:13px;font-weight:750}.hero-note .circle-icon{width:40px;height:40px;border:1px solid #dce2d8;border-radius:50%;display:grid;place-items:center;color:#2c5a45;background:#eaf0e8}.hero-photo{position:relative;max-width:550px;width:100%;margin-left:auto}.hero-frame{padding:12px;border-radius:34px;background:#fff;box-shadow:0 24px 50px rgba(20,34,32,.12);transform:rotate(1deg)}.hero-frame img{border-radius:25px;aspect-ratio:1/1.02;object-fit:cover;object-position:center}.photo-sticker{position:absolute;left:-24px;bottom:35px;background:var(--ink);color:white;padding:17px 22px;border-radius:16px;box-shadow:0 16px 40px #14222040;transform:rotate(-3deg)}.photo-sticker strong{display:block;font-size:14px;line-height:1.3}.photo-sticker small{display:block;color:#cbd9d1;font-size:12px;margin-top:5px}.photo-corner{width:78px;height:78px;border-radius:24px;display:grid;place-items:center;font-size:34px;font-weight:950;color:var(--ink);background:var(--yellow);position:absolute;right:-22px;top:-20px;transform:rotate(13deg);box-shadow:0 9px 16px #15251c15}
.proof-strip{background:white;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.proof-items{display:grid;grid-template-columns:repeat(4,1fr)}.proof-item{display:flex;align-items:center;justify-content:center;gap:12px;min-height:92px;padding:12px 14px;font-size:13px;font-weight:850;color:#384a43}.proof-item:not(:last-child){border-right:1px solid var(--line)}.proof-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:12px;background:var(--sage);color:#235842;font-size:20px;flex-shrink:0}
.section{padding:103px 0}.section-soft{background:#fff}.section-dark{background:var(--ink);color:white}.section-header{margin-bottom:40px}.section-header h2{font-size:clamp(32px,4.3vw,54px);letter-spacing:-.052em;line-height:1.15;margin:14px 0 12px;max-width:810px}.section-header p{color:var(--muted);max-width:640px;margin:0;font-size:16px}.section-dark .section-header p{color:#bbcfc4}.section-dark .eyebrow{color:var(--yellow2)}.section-dark .eyebrow:before{background:var(--yellow)}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.service-card{background:#fff;border-radius:22px;border:1px solid var(--line);overflow:hidden;box-shadow:0 12px 35px rgba(20,34,32,.035)}.service-card>img{height:235px;object-fit:cover}.service-card-body{padding:24px 26px 27px}.service-card .service-index{font-size:11px;font-weight:950;letter-spacing:.12em;color:#ad841f}.service-card h3{margin:10px 0 10px;font-size:23px;letter-spacing:-.035em;line-height:1.2}.service-card p{color:#60706a;font-size:14px;min-height:69px;margin:0 0 20px}.service-card .text-link{display:inline-block}
.about-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:84px;align-items:center}.about-visual{position:relative}.about-visual img{height:475px;border-radius:28px;object-fit:cover}.about-label{position:absolute;right:-26px;bottom:30px;background:var(--yellow);padding:20px 24px;border-radius:18px;max-width:230px;font-weight:900;line-height:1.3;box-shadow:0 15px 35px #14222020}.about-grid h2{font-size:clamp(32px,4.5vw,54px);line-height:1.1;letter-spacing:-.05em;margin:16px 0 22px}.about-grid p{color:#65716c;line-height:1.85}.feature-list{margin:30px 0 0;padding:0;list-style:none}.feature-list li{display:flex;align-items:flex-start;gap:12px;margin:14px 0;color:#34443d;font-weight:750;font-size:14px}.feature-list li:before{content:'✓';background:var(--yellow);color:var(--ink);font-weight:900;flex-shrink:0;width:24px;height:24px;display:grid;place-items:center;border-radius:50%}
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:45px}.step{border-top:1px solid #52635a;padding-top:26px}.step-num{width:48px;height:48px;border-radius:14px;background:var(--yellow);color:var(--ink);font-size:21px;font-weight:950;display:grid;place-items:center;margin-bottom:24px}.step h3{font-size:22px;margin:0 0 10px;letter-spacing:-.03em}.step p{color:#c2d1c7;font-size:14px;margin:0;max-width:310px}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:38px}.gallery-grid a{position:relative;border-radius:16px;overflow:hidden;background:#e6e9e3;display:block}.gallery-grid a img{aspect-ratio:1.16/1;height:100%;object-fit:cover;transition:transform .3s}.gallery-grid a:hover img{transform:scale(1.06)}.gallery-grid a span{position:absolute;bottom:11px;left:11px;background:#142220e5;color:#fff;border-radius:8px;font-size:10px;font-weight:850;padding:7px 10px}.gallery-bottom{margin-top:22px;font-size:13px;color:var(--muted)}
.region-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:64px;align-items:start}.region-layout .section-header{margin-bottom:20px}.region-intro{color:#617068;max-width:430px}.cities{display:flex;flex-wrap:wrap;gap:11px}.city-pill{font-size:13px;font-weight:800;background:white;padding:12px 15px;border-radius:11px;border:1px solid #dee5da;transition:border-color .2s,background .2s}.city-pill:hover{border-color:#e7bb3f;background:#fff9e8}.cities details{width:100%;margin-top:16px}.cities summary{cursor:pointer;color:#856416;font-size:14px;font-weight:850;padding:8px 0}.cities .more-cities{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}.cities .more-cities .city-pill{font-size:12px}
.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.review{border:1px solid var(--line);background:white;border-radius:20px;padding:27px 26px;display:flex;flex-direction:column}.review .quote{font-size:35px;line-height:1;color:#b28e36;font-weight:900}.review p{font-size:15px;line-height:1.8;margin:8px 0 22px;flex:1}.review strong{font-size:13px}.review small{display:block;color:#6f7872;font-size:12px}
.contact{padding:92px 0;background:linear-gradient(135deg,#172e27,#142220 80%);color:white}.contact-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:center}.contact h2{font-size:clamp(36px,5vw,60px);line-height:1.1;letter-spacing:-.055em;max-width:640px;margin:16px 0 20px}.contact p{color:#cbd9d0;max-width:490px;font-size:16px}.contact-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.contact-card{background:white;color:var(--ink);border-radius:23px;padding:32px 34px}.contact-card h3{font-size:21px;letter-spacing:-.03em;margin:0 0 18px}.contact-card .contact-label{font-size:11px;font-weight:900;letter-spacing:.1em;color:#79877e;text-transform:uppercase}.contact-card .contact-value{display:block;font-size:21px;font-weight:900;letter-spacing:-.025em;margin:4px 0 20px;overflow-wrap:anywhere}.contact-card .contact-value.email{font-size:15px}.contact-card .subtle{color:#6c7a73;font-size:12px;margin:0}.contact-form{margin-top:18px}.contact-form label{display:block;font-size:13px;color:#41524a;font-weight:800;margin-top:12px}.contact-form input:not([type=checkbox]),.contact-form textarea{width:100%;min-height:42px;border:1px solid #cfd8d0;border-radius:10px;padding:10px;background:#f8faf7;color:var(--ink)}.contact-form textarea{min-height:94px}.contact-form .wpcf7-list-item{margin:0}.contact-form .wpcf7-list-item-label{font-size:12px;font-weight:400}.contact-form .wpcf7-submit{background:var(--yellow)!important;border:0!important;border-radius:10px!important;font-weight:850!important;padding:12px 22px!important;margin-top:8px}
.site-footer{background:#101d19;color:#d9e5de;padding:36px 0}.footer-content{display:flex;justify-content:space-between;gap:25px;align-items:center}.footer-content .brand-title{color:white}.footer-content .brand-sub{color:#aabcb2}.footer-links{display:flex;flex-wrap:wrap;gap:20px;font-size:12px;color:#9eb1a6;font-weight:700}.footer-note{color:#8a9e93;font-size:11px;margin-top:20px}.footer-content .brand-icon{width:36px;height:36px;border-radius:11px;font-size:21px}
.inner-hero{background:#eaf0e9;border-bottom:1px solid #dfe7df;padding:68px 0}.inner-hero h1{font-size:clamp(35px,5vw,60px);letter-spacing:-.05em;line-height:1.1;margin:16px 0 10px;max-width:850px}.inner-hero p{color:var(--muted);max-width:700px}.content-layout{max-width:850px;margin:0 auto;padding:64px 0 86px}.entry-content{color:#35463e;font-size:16px;line-height:1.85}.entry-content h2,.entry-content h3{color:var(--ink);line-height:1.23;letter-spacing:-.03em;margin-top:35px}.entry-content a{text-decoration:underline;text-decoration-color:#d9ae35;text-underline-offset:4px}.entry-content img{width:auto;max-width:100%;height:auto}.entry-content iframe{max-width:100%;border:0}.entry-content .wp-block-image img{width:auto}.inner-cta{margin-top:45px;padding:34px;border-radius:20px;background:var(--sage)}.inner-cta h2{margin:0 0 8px;line-height:1.3}.inner-cta p{margin:0 0 18px;color:#58675e}.not-found{text-align:center;padding:100px 0}.not-found h1{font-size:clamp(40px,7vw,72px);line-height:1.1;letter-spacing:-.05em}
@media(max-width:1100px){.hero-grid{gap:44px}.nav{gap:16px}.nav a{font-size:12px}.about-grid{gap:48px}.region-layout{gap:30px}.header-inner{height:75px}.service-card-body{padding:20px}.hero h1{font-size:clamp(44px,5.7vw,67px)}}
@media(max-width:860px){.wrap{width:calc(100% - 36px)}.menu-toggle{display:flex}.nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--cream);border-bottom:1px solid var(--line);box-shadow:0 15px 35px #14222015;padding:22px 18px;flex-direction:column;align-items:stretch;gap:0}.nav.is-open{display:flex}.nav a{padding:12px 18px;font-size:15px}.hero{padding:54px 0 65px}.hero-grid{grid-template-columns:1fr;gap:54px}.hero h1{max-width:740px}.hero-photo{margin:0 auto;width:min(550px,92%)}.proof-items{grid-template-columns:1fr 1fr}.proof-item:nth-child(2){border-right:0}.proof-item:nth-child(-n+2){border-bottom:1px solid var(--line)}.section{padding:72px 0}.service-grid{grid-template-columns:repeat(2,1fr)}.service-card:last-child{grid-column:1/-1}.service-card:last-child>img{height:290px}.about-grid,.region-layout,.contact-grid{grid-template-columns:1fr}.about-visual{max-width:640px}.about-visual img{height:360px}.about-label{right:14px}.gallery-grid{grid-template-columns:repeat(2,1fr)}.steps-grid{gap:18px}.review-grid{grid-template-columns:1fr 1fr}.review-grid .review:last-child{grid-column:1/-1}.contact-grid{gap:35px}}
@media(max-width:600px){.topbar .wrap{min-height:30px;justify-content:center}.topbar .top-phone{display:none}.header-inner{height:70px}.brand-title{font-size:15px}.brand-icon{width:37px;height:37px}.brand-sub{font-size:8px}.header-actions>.btn{display:none}.hero{padding:44px 0 54px}.hero h1{font-size:clamp(42px,11.3vw,60px);margin:17px 0}.hero-intro{font-size:16px}.hero-actions .btn{width:100%}.hero-note{font-size:12px}.hero-photo{width:93%;margin-top:10px}.photo-corner{width:58px;height:58px;top:-14px;right:-10px;border-radius:15px;font-size:27px}.photo-sticker{left:-11px;bottom:13px;padding:11px 15px;border-radius:10px}.photo-sticker strong{font-size:12px}.photo-sticker small{font-size:10px}.proof-item{padding:15px 8px;justify-content:flex-start;font-size:11px;gap:7px}.proof-icon{width:29px;height:29px;font-size:16px}.section{padding:66px 0}.section-header{margin-bottom:28px}.section-header h2{font-size:36px}.service-grid,.steps-grid,.review-grid{grid-template-columns:1fr}.service-card:last-child,.review-grid .review:last-child{grid-column:auto}.service-card>img,.service-card:last-child>img{height:218px}.service-card p{min-height:auto}.about-grid{gap:30px}.about-visual img{height:280px}.about-label{right:8px;padding:14px;font-size:12px}.about-grid h2{font-size:37px}.step{padding-top:20px}.step-num{margin-bottom:16px}.gallery-grid{gap:8px}.gallery-grid a{border-radius:10px}.gallery-grid a span{font-size:9px;padding:5px 7px;left:6px;bottom:6px}.city-pill{font-size:12px;padding:9px 12px}.contact{padding:64px 0}.contact h2{font-size:43px}.contact-card{padding:25px}.footer-content{align-items:flex-start;flex-direction:column}.footer-links{gap:12px}.inner-hero{padding:44px 0}.content-layout{padding:45px 0}.topbar{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
