/*
Theme Name: Инфравектор
Description: Тема сайта технического обслуживания и инженерных систем.
Version: 0.1.0
*/
:root{color-scheme:light;--navy:#11223a;--ink:#172b43;--muted:#43566b;--light:#f1f5f8;--accent:#dbf474}
*{box-sizing:border-box}body{margin:0;font:1rem/1.65 system-ui,sans-serif;color:var(--ink);background:var(--light)}a{color:inherit}.wrap{width:min(100% - 2.5rem,70rem);margin-inline:auto}.skip{position:absolute;left:1rem;top:-5rem;background:white;padding:.8rem;z-index:2}.skip:focus{top:1rem}header,footer{background:var(--navy);color:white}header .wrap,footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;padding-block:1rem}.brand{font-weight:750;font-size:1.25rem;text-decoration:none}nav ul{display:flex;flex-wrap:wrap;gap:1rem;list-style:none;margin:0;padding:0}.hero{background:var(--navy);color:white;padding:clamp(3rem,11vw,8rem) 0}.hero p{max-width:43rem;color:#d6e3f1}.hero h1{max-width:16ch;font-size:clamp(2.3rem,6.7vw,5rem);line-height:1.06;letter-spacing:-.055em;margin:.3em 0}.button{display:inline-block;background:var(--accent);color:var(--navy);padding:.7rem 1.05rem;border-radius:.4rem;font-weight:700;text-decoration:none;margin-top:.5rem}section.content{padding-block:clamp(2.5rem,6vw,5rem)}h2{font-size:clamp(1.7rem,4vw,2.7rem);line-height:1.15;margin-top:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:1rem}.card{background:white;border:1px solid #dae4ec;border-radius:.65rem;padding:1.5rem}.card h3{margin-top:0;line-height:1.25;font-size:1.25rem}.card p{color:var(--muted);margin-bottom:0}.prose{max-width:48rem}.wp-block-image img{max-width:100%;height:auto}:focus-visible{outline:3px solid #5485cf;outline-offset:3px}

.hero{background-image:linear-gradient(90deg,rgba(9,22,39,.88) 0%,rgba(9,22,39,.68) 48%,rgba(9,22,39,.24) 100%),url("hero.jpg");background-size:cover;background-position:center 48%}
@media(max-width:42rem){.hero{background-image:linear-gradient(90deg,rgba(9,22,39,.92),rgba(9,22,39,.74)),url("hero.jpg");background-position:64% center}}