*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Source Sans Pro",Arial,sans-serif;color:#333;background:#fff;font-size:16px;line-height:1.45;letter-spacing:0}
a{color:#00335b;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block}
.container{max-width:1140px;margin:0 auto;padding:0 15px}
.top{background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.08);position:sticky;top:0;z-index:10}
.header-row{display:grid;grid-template-columns:220px 1fr auto;align-items:center;gap:24px;padding:16px 15px}
.logo img{width:205px}
.phone-block{text-align:right}
.phone{font-size:26px;font-weight:700;color:#00335b}
.phone-block small{display:block;color:#555}
.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:6px;background:#ffcc00;color:#1f2c35;font-weight:700;padding:13px 22px;min-height:48px;cursor:pointer;text-transform:uppercase}
.btn:hover{text-decoration:none;background:#ffd735}
.nav{background:#00335b}
.nav-row{display:flex;gap:34px;align-items:center;min-height:48px}
.nav a{color:#fff;font-weight:700}
.hero{background:url("../wp-content/themes/ChastniiMaster/assets/img/master_main_fon_bl.png") top center/cover no-repeat}
.hero-pattern{background:url("../wp-content/themes/ChastniiMaster/assets/img/bg_header.png") repeat}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.2fr) 430px;gap:32px;align-items:center;min-height:430px;padding-top:48px;padding-bottom:48px}
h1{font-size:54px;line-height:1.1;margin:0 0 20px;color:#1e2a33}
h2{font-size:34px;line-height:1.2;margin:0 0 16px;color:#1e2a33}
h3{font-size:20px;line-height:1.25;margin:0 0 12px;color:#1e2a33}
.hero-copy p{font-size:22px;max-width:680px;margin:0 0 10px}
.guarantee{font-weight:700}
.lead-form{background:#fff;border-radius:6px;padding:28px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)}
input,textarea{width:100%;border:1px solid #ced4da;border-radius:4px;padding:13px 14px;margin:0 0 12px;font:inherit}
textarea{min-height:115px;resize:vertical}
.lead-form .btn,.inline-form .btn{width:100%}
.consent,.form-note{font-size:13px;color:#666;margin:10px 0 0}
.form-note{font-weight:700;color:#2d7800}
.section{padding:68px 0}
.center{text-align:center}
.lead{font-size:20px;color:#555;margin:0 auto 34px;max-width:860px}
.muted{background:#f9f9f9}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.service-card{border:1px solid #e5e5e5;border-radius:6px;background:#fff;padding:34px 24px;min-height:260px;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}
.service-card img{height:92px;width:auto;margin:0 auto 18px}
.service-card p{color:#6c757d;margin:0}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:38px}
.step-card{position:relative;background:#fff;border-radius:6px;border:1px solid #e4e4e4;min-height:255px;box-shadow:0 .125rem .25rem rgba(0,0,0,.075);overflow:visible}
.step-card .arrow{position:absolute;right:-28px;top:68px;width:60px;z-index:2}
.step-num{background:#ffcc00;color:#00335b;font-weight:700;font-size:50px;line-height:1;padding:16px;border-radius:6px 6px 0 0}
.step-card h3{font-size:26px;margin:22px 14px 12px}
.step-card p{padding:0 18px 18px;margin:0;color:#555}
.cta{padding:70px 0;background:url("../wp-content/themes/ChastniiMaster/assets/img/master_main_fon_bl.png") right bottom/cover fixed}
.cta-box{background:#fff;border-radius:6px;padding:34px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)}
.inline-form{display:grid;grid-template-columns:1fr 210px;gap:12px;max-width:650px;margin:24px auto 0}
.inline-form input{margin:0;text-align:center}
.inline-form .form-note{grid-column:1/-1}
.call-line{font-size:22px;margin:18px 0 0;font-weight:700}
.tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:24px 0}
.tab{border:1px solid #ddd;border-radius:6px;background:#fff;padding:10px 14px;min-height:100px;width:170px;font:inherit;color:#00335b;cursor:pointer}
.tab img{height:52px;width:auto;margin:0 auto 8px}
.tab.active{background:#00335b;color:#fff;border-color:#00335b}
.brand-panel{display:none;grid-template-columns:repeat(8,1fr);gap:18px;margin-top:20px}
.brand-panel.active{display:grid}
.brand-card{border:1px solid #e0e0e0;border-radius:6px;background:#fff;padding:10px;min-height:124px;text-align:center;color:#6c757d;font-size:13px}
.brand-card img{width:78px;height:78px;object-fit:contain;margin:0 auto 8px;border:1px solid #eee;border-radius:4px}
.reviews{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;margin-top:30px;text-align:left}
.review p{border-radius:6px;margin:0 0 18px;padding:26px 30px;min-height:118px;font-style:italic}
.review.yellow p{background:rgba(255,204,0,.5);color:#333}
.review.blue p{background:rgba(0,51,91,.5);color:#fff}
.review-author{display:flex;align-items:center;gap:14px;justify-content:flex-end;font-size:22px;font-weight:700}
.review-author img{width:70px;height:70px;border:3px solid #00335b;border-radius:50%;background:#fff;padding:5px}
.contact-grid{display:grid;grid-template-columns:1fr 410px;gap:42px;align-items:start}
.contact-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:26px}
.contact-list p{background:#f9f9f9;border-radius:6px;padding:18px;margin:0}
.table-wrap{overflow:auto;background:#fff;border-radius:6px;border:1px solid #dee2e6;margin-top:20px}
table{border-collapse:collapse;width:100%}
td{padding:14px 18px;border-bottom:1px solid #dee2e6;text-align:left}
td:first-child{width:38%;font-weight:700;color:#00335b}
tr:hover{background:#f5f5f5}
.footer{border-top:1px solid #e4e4e4;padding:34px 0 86px;background:#fff}
.footer-grid{display:grid;grid-template-columns:260px 1fr;gap:38px;align-items:center}
.footer img{width:220px}
.copyright{text-align:center;margin-top:24px;color:#555}
.mobile-bar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:12}
.mobile-bar a{width:50%;display:flex;align-items:center;justify-content:center;min-height:48px;color:#fff;font-weight:700}
.mobile-bar a:first-child{background:#2dbe00}
.mobile-bar a:last-child{background:#ffcc00;color:#1e2a33}
@media (max-width:980px){
  .header-row{grid-template-columns:170px 1fr;gap:12px}
  .call-btn{grid-column:1/-1;width:100%}
  .logo img{width:165px}
  .phone{font-size:22px}
  .nav-row{gap:18px;overflow:auto}
  .hero-grid,.contact-grid{grid-template-columns:1fr}
  h1{font-size:42px}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .step-card .arrow{display:none}
  .brand-panel{grid-template-columns:repeat(5,1fr)}
}
@media (max-width:640px){
  body{padding-bottom:48px}
  .header-row{grid-template-columns:1fr;text-align:center}
  .phone-block{text-align:center}
  .nav{display:none}
  .hero-grid{padding-top:30px;padding-bottom:30px}
  h1{font-size:34px}
  h2{font-size:28px}
  .hero-copy p,.call-line{font-size:18px}
  .section{padding:48px 0}
  .service-grid,.steps,.reviews,.contact-list,.footer-grid{grid-template-columns:1fr}
  .inline-form{grid-template-columns:1fr}
  .tabs{gap:8px}
  .tab{width:140px;min-height:92px;font-size:14px}
  .brand-panel{grid-template-columns:repeat(2,1fr)}
  .lead-form,.cta-box{padding:22px}
  td{display:block;width:100%!important}
  td:first-child{border-bottom:0;padding-bottom:4px}
  .mobile-bar{display:flex}
}
