/*
Theme Name: Nieruchomości Rafał Maj
Description: Strona biura nieruchomości z naciskiem na kontakt ze sprzedającym.
Version: 1.0.2
Requires at least: 6.5
Requires PHP: 8.0
Author: Nieruchomości Rafał Maj
License: GPL-2.0-or-later
Text Domain: rafal-maj
*/
:root{--blue:#0766fe;--ink:#14213a;--muted:#536176;--border:#d9e1ed;--pale:#f4f7fc;--white:#fff;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:#fff;color:var(--ink);font:16px/1.6 Arial,Helvetica,sans-serif}button,input,textarea,select{font:inherit}a{color:var(--blue);text-underline-offset:3px}button,a{touch-action:manipulation}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(32px,4vw,48px);line-height:1.12;letter-spacing:-1.5px;margin-bottom:20px}h2{font-size:27px;line-height:1.25;letter-spacing:-.5px}h3{font-size:19px;line-height:1.3}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #14213a;outline-offset:4px}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{position:fixed;z-index:100000;background:#fff;padding:15px;top:10px;left:10px}.site-shell{max-width:1160px;margin:auto}.site-header{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:24px 36px;border-bottom:1px solid var(--border)}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:var(--ink);flex-shrink:0}.brand-image{width:64px;height:64px;object-fit:cover;border-radius:50%}.brand-words{font-size:22px;line-height:1.1;font-weight:800;letter-spacing:.1px}.brand-words>span{display:block;font-size:15px;font-weight:500;margin-top:6px;letter-spacing:0}.main-nav{display:flex;gap:9px}.button{display:inline-flex;gap:14px;align-items:center;justify-content:center;border:1px solid transparent;padding:12px 20px;min-height:48px;border-radius:8px;text-decoration:none;font-weight:700;font-size:15px;line-height:1.3;cursor:pointer;transition:background .15s,color .15s}.primary{background:var(--blue);border-color:var(--blue);color:#fff}.primary:hover{background:#0054da;border-color:#0054da}.outline{background:#fff;border-color:var(--border);color:var(--ink)}.outline:hover{border-color:var(--blue);color:var(--blue);background:#f4f8ff}.hero{padding:48px 36px 44px;display:grid;grid-template-columns:1fr 1.02fr;gap:46px}.hero-copy{padding-top:20px}.eyebrow{font-size:13px;font-weight:600;color:var(--muted);margin-bottom:16px;letter-spacing:.2px}.hero h1 span,.blue-text{color:var(--blue)}.hero-intro{font-size:17px;line-height:1.65;max-width:390px;color:var(--muted);margin-bottom:0}.hero-support{margin-top:37px}.blue-line{display:block;width:38px;height:3px;background:var(--blue);margin-bottom:16px}.hero-support h2{font-size:21px;line-height:1.35;margin-bottom:12px;letter-spacing:-.2px}.hero-support p{font-size:14px;line-height:1.8;color:var(--muted)}.contact-card{padding:26px;background:var(--pale);border:1px solid #e5ebf5;border-radius:16px;align-self:start;scroll-margin-top:20px}.contact-card h2{font-size:21px;margin:0 0 22px}.seller-form{display:grid;gap:16px}.form-field{display:grid;gap:7px}.form-field label{font-size:14px;font-weight:700;line-height:1.4}.form-field label span{font-size:12px;font-weight:400;color:var(--muted)}.form-field input,.form-field textarea{width:100%;min-width:0;background:#fff;border:1px solid #cbd5e4;border-radius:7px;padding:11px 12px;min-height:48px;color:var(--ink);font-size:16px;line-height:1.4}.form-field textarea{resize:vertical;min-height:88px}input::placeholder,textarea::placeholder{color:#6a7689;opacity:1}.submit-button{width:100%;justify-content:space-between;min-height:51px}.submit-button:disabled{cursor:not-allowed;background:#dce7f8;border-color:#dce7f8;color:#526789}.form-note{margin:0;font-size:12px;line-height:1.6;color:var(--muted)}.form-note a{color:var(--muted)}.honeypot{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.form-message{padding:14px;border-radius:8px;border:1px solid;font-size:15px;line-height:1.5}.success{background:#edf9f2;color:#165b35;border-color:#b8dec6}.error{background:#fff1ef;color:#8c211c;border-color:#f0bbb5}.process{padding:33px 36px 39px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.process .eyebrow{margin-bottom:9px}.process h2{margin-bottom:25px}.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.steps li{display:flex;align-items:flex-start;gap:12px}.step-number{font-size:13px;font-weight:700;color:var(--blue);line-height:27px}.steps h3{font-size:17px;margin:2px 0 6px}.steps p{font-size:14px;line-height:1.6;color:var(--muted);margin:0}.experience{padding:40px 36px 42px}.experience h2{margin-bottom:18px;font-size:30px;line-height:1.3}.experience-intro{font-size:16px;color:var(--muted);max-width:820px;line-height:1.75}.experience-list{list-style:none;padding:0;margin:25px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 36px}.experience-list li{position:relative;padding-left:18px;font-size:15px;line-height:1.7;color:var(--muted)}.experience-list li:before{content:'';position:absolute;top:10px;left:0;width:6px;height:6px;border-radius:50%;background:var(--blue)}.experience-list strong{color:var(--ink);font-size:16px}.experience-list li:last-child{grid-column:1/-1}.site-footer{background:var(--pale);padding:28px 36px 20px;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:flex-start;gap:24px;flex-wrap:wrap}.site-footer strong{font-size:16px}.site-footer address{font-style:normal;font-size:15px;margin-top:6px}.footer-area{font-size:13px;color:var(--muted);margin:4px 0 0}.footer-actions{display:grid;gap:8px;text-align:center}.footer-bottom{width:100%;display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--border);padding-top:16px;color:var(--muted);font-size:12px}.footer-bottom a{color:var(--muted)}.phone-link{font-size:15px}.content-section{padding:38px 36px 46px;min-height:40vh}.section-intro{color:var(--muted);margin-bottom:26px}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:30px}.category-button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:110px;padding:23px;border:1px solid var(--border);border-radius:12px;text-decoration:none;color:var(--ink);font-weight:700;font-size:17px;line-height:1.4}.category-button>span:last-child{color:var(--blue);font-size:20px;font-weight:400}.category-button:hover{border-color:var(--blue);background:#f0f6ff}.category-button.bargain{background:#edf4ff;border-color:#c5d9ff;color:#0855c5}.category-button.selected{background:var(--blue);color:#fff;border-color:var(--blue)}.category-button.selected>span:last-child{color:#fff}.results-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:14px;margin-bottom:20px}.offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.offer-card{border:1px solid var(--border);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.card-image{display:block;aspect-ratio:3/2;background:var(--pale)}.card-image img{width:100%;height:100%;object-fit:cover;display:block}.image-empty{height:100%;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--muted);font-size:13px;padding:24px}.card-body{padding:20px;display:flex;flex-direction:column;flex:1}.badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.badges:empty{display:none}.badges span,.badges a{display:inline-block;border-radius:4px;background:#edf4ff;color:#0753c4;font-size:12px;padding:3px 8px;text-decoration:none}.badges .status-badge{background:#fff3d6;color:#725317}.card-location{font-size:13px;color:var(--muted);margin-bottom:7px}.offer-card h3{font-size:19px;margin-bottom:14px}.offer-card h3 a{color:var(--ink);text-decoration:none}.offer-card h3 a:hover{color:var(--blue);text-decoration:underline}.card-price{font-size:21px;font-weight:700;margin-bottom:3px}.card-area{font-size:14px;color:var(--muted);margin-bottom:10px}.card-more{font-size:14px;margin-top:auto;padding-top:12px;font-weight:700;text-decoration:none}.card-more span{float:right}.empty-state{padding:42px 20px;text-align:center;background:var(--pale);border-radius:12px}.empty-state h2{font-size:21px;margin-bottom:10px}.empty-state p{margin:0;color:var(--muted);font-size:15px}.seller-callout{padding:27px 0 0;margin-top:30px;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:20px}.seller-callout h2{font-size:22px;margin-bottom:8px}.seller-callout p{margin:0;color:var(--muted);font-size:15px}.pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:25px}.back-link{display:inline-block;margin-bottom:26px;font-size:14px}.single-offer h1{font-size:38px;line-height:1.2;max-width:900px}.property-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:30px;margin-top:25px;align-items:start}.property-main-image{display:block;width:100%;border-radius:12px;max-height:630px;object-fit:cover}.property-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.property-gallery img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:7px}.property-summary{background:var(--pale);border:1px solid var(--border);border-radius:12px;padding:24px;position:sticky;top:20px}.property-price{font-weight:700;font-size:27px;line-height:1.3;margin-bottom:20px}.property-summary dl{margin:0 0 24px}.property-summary dl>div{border-bottom:1px solid var(--border);padding:12px 0}.property-summary dt{font-size:13px;color:var(--muted)}.property-summary dd{margin:3px 0 0;font-weight:600;overflow-wrap:anywhere}.property-summary h2{font-size:19px}.property-summary .button{width:100%}.property-summary .form-note{margin-top:9px;text-align:center}.entry-content{margin-top:28px;overflow-wrap:anywhere}.entry-content p,.entry-content li{color:var(--muted)}.entry-content img{height:auto}.entry-content table{max-width:100%;border-collapse:collapse}.entry-content td,.entry-content th{padding:8px;border:1px solid var(--border)}.prose{max-width:850px;margin:auto}.prose h1{font-size:36px}.prose h2{margin-top:32px}.wp-block-image{margin-left:0;margin-right:0}
@media(max-width:900px){.site-header{padding:22px 26px}.brand-words{font-size:20px}.hero{padding:32px 26px;gap:26px}.hero-copy{padding-top:10px}.hero h1{font-size:36px}.contact-card{padding:21px}.hero-support{margin-top:26px}.site-footer,.process,.experience,.content-section{padding-left:26px;padding-right:26px}.offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.property-layout{grid-template-columns:minmax(0,1fr) 270px;gap:22px}.property-summary{padding:20px}}
@media(max-width:620px){html{scroll-padding-top:12px}.site-header{display:block;padding:18px 20px 17px}.brand{gap:10px}.brand-image{width:56px;height:56px}.brand-words{font-size:20px}.brand-words>span{font-size:14px;margin-top:5px}.main-nav{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.main-nav .button{padding:12px 8px}.hero{display:block;padding:25px 20px 30px}.hero-copy{padding:0}.hero .eyebrow{font-size:12px;margin-bottom:12px;letter-spacing:0}.hero h1{font-size:34px;line-height:1.14;letter-spacing:-1px;max-width:420px;margin-bottom:14px}.hero-intro{font-size:16px;line-height:1.6;max-width:100%}.hero-support{display:none}.contact-card{background:#fff;border:0;padding:0;margin-top:25px;border-radius:0}.contact-card>h2{display:none}.seller-form{gap:16px}.form-field label{font-size:14px}.form-field label span{display:block;margin-top:3px}.form-field textarea{min-height:84px}.submit-button{min-height:51px}.process{padding:27px 20px 30px}.process h2{font-size:25px;margin-bottom:24px}.steps{grid-template-columns:1fr;gap:22px}.steps li{gap:15px}.steps p{font-size:15px}.experience{padding:30px 20px 33px}.experience h2{font-size:27px}.experience-intro{font-size:15px;line-height:1.7}.experience-list{grid-template-columns:1fr;gap:21px;margin-top:23px}.experience-list li{font-size:15px}.experience-list li:last-child{grid-column:auto}.site-footer{padding:25px 20px 20px;gap:20px}.footer-actions{width:100%;text-align:left}.footer-actions .button{justify-content:space-between}.footer-bottom{display:block;font-size:11px}.footer-bottom a{display:block;margin-top:8px;min-height:30px}.content-section{padding:27px 20px 32px}.content-section h1{font-size:32px;letter-spacing:-.8px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:25px}.category-button{min-height:110px;padding:17px 13px;gap:7px;font-size:15px}.category-button>span:last-child{font-size:17px}.results-bar{font-size:13px;align-items:flex-start}.offer-grid{grid-template-columns:1fr;gap:20px}.card-body{padding:19px}.seller-callout{align-items:stretch;flex-direction:column}.seller-callout .button{justify-content:space-between}.property-layout{display:flex;flex-direction:column;gap:22px}.property-content,.property-summary{width:100%}.property-summary{position:static;order:-1}.property-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.property-summary dl>div:first-child{grid-column:1/-1}.property-gallery{gap:7px}.property-gallery img{border-radius:5px}.single-offer h1{font-size:30px}.property-price{font-size:27px;margin-bottom:5px}.back-link{margin-bottom:20px}.prose h1{font-size:30px}}
@media(max-width:350px){.brand-words{font-size:18px}.hero h1{font-size:30px}.site-header,.hero,.content-section,.experience,.process,.site-footer{padding-left:16px;padding-right:16px}.category-button{font-size:14px;padding:13px 10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.phone-reveal{display:grid;gap:8px}.phone-reveal-result{font-size:13px}.phone-reveal-result:empty{display:none}.phone-reveal-button[hidden]{display:none}.phone-reveal .phone-link{width:100%}
.call-alternative{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 12px;margin-top:20px;padding-top:14px;border-top:1px solid var(--border);font-size:15px;color:var(--muted)}
.phone-reveal--inline{max-width:100%;text-align:center}.phone-reveal--inline .button{justify-self:center;gap:8px;min-height:44px;padding:6px 2px;border-color:transparent;background:transparent;color:var(--blue);font-size:15px;white-space:nowrap}.phone-reveal--inline .button:hover{text-decoration:underline;text-underline-offset:4px}.phone-reveal--inline .phone-link{width:auto}.phone-icon{flex:none}.phone-reveal--inline .phone-reveal-result{overflow-wrap:anywhere}
