/*
Theme Name: Vanguard Construction
Description: Strona firmowa Vanguard Construction w językach PL, EN i BG.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: vanguard-construction
*/
:root{--ink:#131312;--blue:#0057d2;--accent:#006afe;--pale:#f4f7fb;--line:#dde5ef;--muted:#475569}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:1.5rem}
body{margin:0;color:var(--ink);background:white;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5}
h1,h2,h3,p{margin:0}
a{color:inherit}
img{display:block;max-width:100%}
:focus-visible{outline:3px solid #237dff;outline-offset:4px}
.shell{width:min(100% - 5.5rem, 1360px);margin-inline:auto}
.top{background:#fff}
.top-inner{min-height:89px;display:flex;align-items:center;gap:clamp(.85rem,3vw,3rem)}
.brand{margin-right:auto;flex:none;width:clamp(155px,21vw,275px)}
.brand img,.footer img{width:100%;height:auto}
.main-nav,.languages{display:flex;align-items:center;gap:clamp(.75rem,2.2vw,2.5rem)}
.top a{text-decoration:none;font-weight:650}
.main-nav a:hover,.top-phone:hover{color:var(--blue)}
.languages{gap:.75rem;padding-inline:1rem;border-inline:1px solid var(--line);font-size:.9rem}
.languages a[aria-current=page]{color:var(--blue);text-decoration:underline;text-underline-offset:.25em}
.top-phone{white-space:nowrap}
.hero{position:relative;isolation:isolate;display:grid;align-items:center;min-height:clamp(470px,39vw,620px);color:#fff;background:#242923}
.hero-photo,.hero:after{position:absolute;inset:0;width:100%;height:100%}
.hero-photo{object-fit:cover;object-position:center 58%;z-index:-2}
.hero:after{content:"";background:linear-gradient(90deg,rgba(10,14,14,.83),rgba(10,14,14,.54) 43%,rgba(10,14,14,.07) 90%);z-index:-1}
.hero-inner{padding-block:4rem}
.hero h1{font-size:clamp(2.5rem,4.5vw,4.8rem);letter-spacing:-.045em;line-height:1.02;max-width:19ch}
.hero p{margin-top:1.25rem;font-size:clamp(1rem,1.65vw,1.5rem)}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:.85rem 1.4rem;border:0;border-radius:4px;background:var(--blue);color:#fff;text-decoration:none;font:inherit;font-weight:720;cursor:pointer}
.button:hover{background:#0049b3}
.button:disabled{opacity:.55;cursor:default}
.hero .button{margin-top:1.6rem}
.process{background:white;border-bottom:1px solid var(--line)}
.steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:1.6rem 0;gap:1.1rem}
.steps li{display:flex;align-items:flex-start;gap:.8rem;border-right:1px solid var(--line);padding-right:1rem}
.steps li:last-child{border:0}
.step-number{flex:none;display:grid;place-items:center;width:2.6rem;height:2.6rem;clip-path:polygon(17% 0,100% 0,83% 100%,0 100%);background:#e8f1ff;color:var(--blue);font-weight:800;font-size:1.3rem}
.steps h2{font-size:1rem;line-height:1.25}
.steps p{font-size:.91rem;color:var(--muted);margin-top:.35rem}
.section{padding-block:clamp(2.8rem,5.5vw,5.6rem)}
.section h2{font-size:clamp(1.85rem,3.3vw,3.05rem);line-height:1.1;letter-spacing:-.04em;margin-bottom:1.35rem}
.cards,.reasons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.2rem}
.card{border:1px solid var(--line);background:#fff}
.card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.card>div{padding:1.15rem}
.card h3,.reasons h3{font-size:1.17rem;line-height:1.25}
.card p,.reasons p{margin-top:.55rem;color:var(--muted)}
.photo-note{color:var(--muted);font-size:.85rem;margin-top:.8rem}
.about{background:var(--pale)}
.about-grid,.contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:2rem}
.about p{font-size:clamp(1.1rem,1.8vw,1.42rem);max-width:54ch}
.reasons{grid-template-columns:repeat(3,minmax(0,1fr))}
.reasons article{padding:1.3rem 0;border-top:2px solid var(--accent)}
.contact{color:white;background:#101b2a}
.contact-grid>div:first-child a{display:block;margin-top:.8rem;overflow-wrap:anywhere}
.quote{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.quote label{display:grid;gap:.35rem;align-content:start;font-weight:600}
.quote input,.quote textarea,.quote select{width:100%;padding:.65rem .75rem;font:inherit;color:var(--ink);min-height:44px;border:1px solid #ced8e7;border-radius:4px;background:white}
.full{grid-column:1/-1}
.trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.contact [role=status]{margin-bottom:.8rem}
.footer{padding-block:1.5rem}
.footer .shell{display:flex;align-items:center;gap:1rem 2rem;flex-wrap:wrap}
.footer img{width:180px;margin-right:auto}
.footer span,.footer a{font-size:.9rem}
@media(max-width:1000px){.shell{width:calc(100% - 3rem)}.cards,.steps{grid-template-columns:repeat(2,minmax(0,1fr))}.steps li:nth-child(2){border:0}}
@media(max-width:690px){.shell{width:calc(100% - 2rem)}.top-inner{min-height:0;flex-wrap:wrap;gap:.75rem 1rem;padding-block:.8rem}.brand{width:160px}.languages{border:0;padding:0}.main-nav{width:100%;order:3;font-size:.94rem}.top-phone{order:4;font-size:.9rem}.hero{min-height:480px}.hero-photo{object-position:62% center}.hero:after{background:linear-gradient(90deg,rgba(10,14,14,.85),rgba(10,14,14,.38) 100%)}.hero-inner{padding-block:3rem}.steps li{gap:.4rem;border:0;padding:0}.step-number{width:2rem;height:2rem;font-size:1rem}.steps p{font-size:.87rem}.about-grid,.contact-grid{grid-template-columns:1fr;gap:.6rem}.contact-grid{gap:1.5rem}.about h2{margin:0}.cards,.reasons{gap:.8rem}.card>div{padding:.85rem}.card h3,.reasons h3{font-size:1.05rem}.cards p,.reasons p{font-size:.94rem}.reasons{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:370px){.quote{grid-template-columns:1fr}.hero h1{font-size:2.1rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
