:root{
  --bg:#f7f7f5;--surface:#fff;--text:#171717;--muted:#626262;
  --accent:#fec300;--accent-dark:#d4a500;--border:#e3e0da;
  --dark:#161616;--danger:#b3261e;--radius:14px;--shadow:0 14px 40px rgba(0,0,0,.08)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:var(--bg);line-height:1.55}
a{color:inherit;text-decoration:none}img{max-width:100%;display:block}
.container{max-width:1180px;margin:0 auto;padding:0 22px}
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid var(--border);backdrop-filter:blur(10px)}
.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:22px}.logo-mark{width:44px;height:44px;border-radius:12px;background:var(--accent);display:grid;place-items:center;font-weight:900}
.nav{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.nav a{font-size:14px;color:var(--muted);font-weight:700}.nav a:hover{color:var(--text)}
.header-actions{display:flex;align-items:center;gap:12px}.phone{font-weight:800;white-space:nowrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:12px 20px;font-size:14px;font-weight:800;cursor:pointer;transition:.2s}
.btn-primary{background:var(--accent);color:#000}.btn-primary:hover{background:var(--accent-dark);transform:translateY(-1px)}
.btn-dark{background:var(--dark);color:#fff}.btn-outline{background:#fff;border:1px solid var(--border)}
.hero{padding:72px 0 42px;background:linear-gradient(135deg,#fff 0%,#f6f4ef 55%,#efe8cf 100%)}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:center}
.eyebrow{font-size:12px;letter-spacing:1.6px;text-transform:uppercase;color:#8a6c00;font-weight:800;margin-bottom:12px}
h1,h2,h3{line-height:1.15;margin:0 0 14px}h1{font-size:clamp(36px,6vw,66px)}h2{font-size:clamp(28px,4vw,42px)}h3{font-size:22px}
.lead{font-size:19px;color:var(--muted);max-width:760px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.hero-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.hero-card img{width:100%;height:330px;object-fit:cover}.hero-card-body{padding:20px}
.band{background:var(--accent);padding:16px 0}.band-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.band-item{font-weight:800;font-size:14px}
.section{padding:72px 0}.section-alt{background:#fff}.section-head{display:flex;justify-content:space-between;gap:18px;align-items:end;flex-wrap:wrap;margin-bottom:28px}.section-note{color:var(--muted);max-width:650px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 20px rgba(0,0,0,.04)}.card img{height:180px;width:100%;object-fit:cover}.card-body{padding:18px}.card p{color:var(--muted);font-size:14px}
.price-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.view-btn{padding:10px 14px;border:1px solid var(--border);border-radius:999px;background:#fff;font-weight:700;cursor:pointer}.view-btn.active{background:var(--accent);border-color:var(--accent)}
.price-status{padding:12px 14px;background:#fff8d8;border:1px solid #f0df8a;border-radius:10px;margin:14px 0;color:#6b5600}
.price-table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden}.price-table th,.price-table td{padding:12px 14px;border-bottom:1px solid var(--border);text-align:left;font-size:14px}.price-table th{background:#202020;color:#fff}.price-table tr.group-row td{background:#fff4bf;font-weight:800}
.price-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.price-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px}.price-card strong{display:block;font-size:18px}.price-meta{font-size:13px;color:var(--muted);margin:6px 0 14px}.price-value{font-size:22px;font-weight:900;margin-bottom:12px}
.price-list{display:grid;gap:8px}.price-list-item{display:flex;justify-content:space-between;gap:16px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:10px;padding:12px 14px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:24px}.info-box{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:22px}.info-box p,.info-box li{color:var(--muted)}
.form-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.field label{font-size:13px;font-weight:800}.field input,.field select,.field textarea{padding:12px 14px;border:1px solid var(--border);border-radius:10px;font:inherit;background:#fff}.field textarea{min-height:96px;resize:vertical}.span-2{grid-column:1/-1}.agree{font-size:12px;color:var(--muted);display:flex;gap:8px;align-items:flex-start}.success{display:none;padding:12px;border-radius:10px;background:#e7f8ec;color:#176b2c;margin-top:12px}.error{display:none;padding:12px;border-radius:10px;background:#fde8e7;color:#8f1e18;margin-top:12px}
.footer{background:#151515;color:#fff;padding:34px 0}.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:20px}.footer a{color:#ddd}.footer small{color:#aaa}
.modal-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:100;align-items:center;justify-content:center;padding:20px}.modal-overlay.open{display:flex}.modal{max-width:520px;width:100%;background:#fff;border-radius:16px;padding:24px;position:relative}.modal-close{position:absolute;top:12px;right:14px;border:0;background:none;font-size:28px;cursor:pointer}
.float-call{position:fixed;right:18px;bottom:18px;z-index:60;background:var(--accent);border:0;border-radius:999px;padding:14px 18px;font-weight:900;box-shadow:0 8px 24px rgba(0,0,0,.18);cursor:pointer}
.page-hero{padding:48px 0 22px;background:#fff}.breadcrumbs{font-size:13px;color:var(--muted);margin-bottom:12px}.text-content{background:#fff;border-radius:14px;border:1px solid var(--border);padding:24px}.text-content p,.text-content li{color:#4b4b4b}
@media(max-width:980px){.nav{display:none}.hero-grid,.grid-2,.footer-grid{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,1fr)}.band-grid{grid-template-columns:repeat(2,1fr)}.price-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.header-inner{min-height:68px}.header-actions .phone{display:none}.hero{padding-top:48px}.cards,.price-cards,.band-grid,.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.price-table{display:block;overflow-x:auto}.price-list-item{align-items:flex-start;flex-direction:column}}

.site-logo{
  display:block;
  width:auto;
  height:62px;
  max-width:180px;
  object-fit:contain;
}
.footer .site-logo{
  height:68px;
}
@media(max-width:620px){
  .site-logo{
    height:52px;
    max-width:150px;
  }
}

.footer-logo{
  margin-bottom:12px;
}
.footer-logo .site-logo{
  height:74px;
  max-width:190px;
}

/* Блок «Продукция и услуги»: 5 карточек в одну строку */
.section-alt .cards{
  grid-template-columns:repeat(5,minmax(0,1fr));
}

@media(max-width:1100px){
  .section-alt .cards{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .section-alt .cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:520px){
  .section-alt .cards{
    grid-template-columns:1fr;
  }
}

/* Hero-баннер на весь первый экран */
.hero{
  min-height:calc(100vh - 78px);
  display:flex;
  align-items:center;
  padding:72px 0 56px;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.98) 0%,
      rgba(255,255,255,.93) 28%,
      rgba(255,255,255,.70) 45%,
      rgba(255,255,255,.16) 68%,
      rgba(255,255,255,0) 100%
    ),
    url('/assets/img/hero.png') center center / cover no-repeat;
}

.hero-grid{
  display:block;
}

.hero-grid > div:first-child{
  max-width:720px;
}

.hero-card{
  display:none;
}

.hero h1{
  max-width:720px;
}

.hero .lead{
  max-width:650px;
  color:#4f4f4f;
}

@media(max-width:980px){
  .hero{
    min-height:auto;
    padding:64px 0 52px;
    background:
      linear-gradient(
        90deg,
        rgba(255,255,255,.98) 0%,
        rgba(255,255,255,.91) 58%,
        rgba(255,255,255,.62) 100%
      ),
      url('/assets/img/hero.png') center center / cover no-repeat;
  }
}

@media(max-width:620px){
  .hero{
    padding:52px 0 44px;
    background:
      linear-gradient(
        90deg,
        rgba(255,255,255,.97) 0%,
        rgba(255,255,255,.90) 100%
      ),
      url('/assets/img/hero.png') 62% center / cover no-repeat;
  }

  .hero h1{
    font-size:44px;
  }

  .hero .lead{
    font-size:17px;
  }
}

/* Hero: текстовый блок слева */
.hero .container{
  max-width:1440px;
  width:100%;
  padding-left:clamp(28px,5vw,92px);
  padding-right:clamp(28px,5vw,92px);
}

.hero-grid{
  width:100%;
}

.hero-grid > div:first-child{
  max-width:610px;
  margin-left:0;
  margin-right:auto;
  text-align:left;
}

.hero h1{
  max-width:610px;
}

.hero .lead{
  max-width:570px;
}

.hero-actions{
  justify-content:flex-start;
}

@media(max-width:980px){
  .hero .container{
    padding-left:28px;
    padding-right:28px;
  }

  .hero-grid > div:first-child{
    max-width:590px;
  }
}

@media(max-width:620px){
  .hero .container{
    padding-left:20px;
    padding-right:20px;
  }

  .hero-grid > div:first-child{
    max-width:100%;
  }
}

/* Компактные карточки блока «Продукция и услуги» */
.section-alt .cards{
  align-items:start;
  gap:16px;
}

.section-alt .card{
  height:auto;
}

.section-alt .card img{
  height:145px;
  object-fit:cover;
}

.section-alt .card-body{
  padding:16px 16px 18px;
}

.section-alt .card h3{
  margin-bottom:8px;
  font-size:21px;
}

.section-alt .card p{
  margin:0;
  font-size:14px;
  line-height:1.5;
}

@media(max-width:1100px){
  .section-alt .card img{
    height:160px;
  }
}

@media(max-width:760px){
  .section-alt .card img{
    height:180px;
  }
}

/* Контакты в шапке */
.header-contacts{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:2px;
}

.header-email{
  font-size:13px;
  color:var(--muted);
  white-space:nowrap;
}

.header-email:hover{
  color:var(--text);
}

@media(max-width:760px){
  .header-email{
    display:none;
  }
}

/* Мобильная шапка и бургер-меню */
.burger{
  display:none;
  width:42px;
  height:42px;
  padding:9px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  cursor:pointer;
  flex-direction:column;
  justify-content:center;
  gap:5px;
}

.burger span{
  display:block;
  width:100%;
  height:2px;
  border-radius:2px;
  background:var(--text);
  transition:transform .2s ease, opacity .2s ease;
}

.burger.open span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2){
  opacity:0;
}

.burger.open span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

.mobile-menu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  right:0;
  padding:14px 20px 18px;
  background:#fff;
  border-top:1px solid var(--border);
  border-bottom:2px solid var(--accent);
  box-shadow:0 12px 24px rgba(0,0,0,.12);
}

.mobile-menu.open{
  display:block;
}

.mobile-menu-nav{
  display:flex;
  flex-direction:column;
  gap:0;
}

.mobile-menu-nav a{
  display:block;
  padding:11px 0;
  border-bottom:1px solid var(--border);
  color:var(--text);
  font-size:15px;
  font-weight:700;
}

.mobile-menu-nav a:last-child{
  border-bottom:0;
}

@media(max-width:760px){
  .header{
    position:sticky;
  }

  .header-inner{
    min-height:68px;
    padding-left:14px;
    padding-right:14px;
    gap:8px;
  }

  .logo .site-logo{
    height:46px;
    max-width:112px;
  }

  .header-actions{
    margin-left:auto;
    gap:8px;
  }

  .header-actions > .btn-primary{
    display:none;
  }

  .header-contacts{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:1px;
  }

  .header-contacts .phone{
    display:block;
    font-size:13px;
    line-height:1.2;
  }

  .header-email{
    display:block;
    font-size:11px;
    line-height:1.2;
    color:var(--muted);
  }

  .burger{
    display:flex;
    flex-shrink:0;
  }
}

@media(max-width:390px){
  .logo .site-logo{
    height:42px;
    max-width:96px;
  }

  .header-contacts .phone{
    font-size:12px;
  }

  .header-email{
    font-size:10px;
  }

  .burger{
    width:38px;
    height:38px;
  }
}
