/* =====================
   Base
===================== */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:#111;
  background:#fff;
}
a{ color:inherit; text-decoration:none; }
img{ display:block; width:100%; height:100%; object-fit:cover; }

.wrap{
  width:min(1200px, calc(100% - 48px));
  margin:0 auto;
}

/* =====================
   Topbar
===================== */
.topbar{ background:#000; color:#fff; }
.topbar__inner{
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  font-size:18px;
  font-weight:500;
  letter-spacing:.2px;
}
.menu{
  display:flex;
  gap:26px;
  align-items:center;
}
.menu__link{
  font-size:14px;
  opacity:.95;
}
.menu__link:hover{ opacity:.75; }

/* =====================
   Hero
===================== */
.hero{
  position:relative;
  height:520px;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.55) 44%, rgba(255,255,255,0) 64%),
    url("assets/hero.jpg");
  background-size:cover;
  background-position:center right;
}
.hero__content{
  position:relative;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-top:10px;
}
.hero__title{
  margin:0 0 18px 0;
  font-size:42px;
  line-height:1.12;
  font-weight:600;
  letter-spacing:-.4px;
  max-width:560px;
}
.hero__meta{
  display:grid;
  gap:10px;
  max-width:560px;
  color:rgba(0,0,0,.72);
  font-size:18px;
  line-height:1.35;
}

/* =====================
   About
===================== */
.about{ padding:110px 0 70px; }
.about__inner{ text-align:center; }
.h2{
  margin:0;
  font-size:34px;
  font-weight:600;
  letter-spacing:-.2px;
}
.about__text{
  margin:22px auto 0;
  max-width:900px;
  font-size:18px;
  line-height:1.7;
  color:rgba(0,0,0,.45);
}

/* =====================
   Gallery
===================== */
.gallery{ padding:0 0 90px; }
.grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
}
.grid__item{
  margin:0;
  height:220px;
  background:#f3f3f3;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
}

/* =====================
   Inner pages header
===================== */
.page{ padding-bottom:40px; }
.pagehead{ padding:70px 0 10px; }
.pagehead__inner{ text-align:center; }
.h1{
  margin:0;
  font-size:40px;
  font-weight:600;
  letter-spacing:-.3px;
}
.sub{
  margin:14px auto 0;
  max-width:900px;
  font-size:18px;
  color:rgba(0,0,0,.45);
  line-height:1.7;
}

/* =====================
   Services blocks (price)
===================== */
.price{ padding:30px 0 70px; }
.price__block{
  max-width:920px;
  margin:0 auto 34px;
}
.price__title{
  margin:0 0 14px;
  font-size:24px;
  font-weight:600;
}
.dashlist{
  list-style:none;
  padding:0;
  margin:0;
  color:rgba(0,0,0,.75);
  font-size:16px;
  line-height:1.7;
}
.dashlist li{
  position:relative;
  padding-left:18px;
  margin:6px 0;
}
.dashlist li::before{
  content:"—";
  position:absolute;
  left:0;
  top:0;
  color:rgba(0,0,0,.55);
}

/* =====================
   Certificates
===================== */
.certs{ padding:10px 0 80px; }
.certs__grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.cert{
  display:block;
  border:1px solid rgba(0,0,0,.08);
  background:#fafafa;
  overflow:hidden;
  height:420px;
}
.cert img{ transition:transform .25s ease; }
.cert:hover img{ transform:scale(1.03); }

/* =====================
   Contacts / Footer
===================== */
.contacts{
  padding:90px 0 0;
  background:#fff;
}
.contacts__inner{ text-align:center; padding-bottom:28px; }
.contacts__title{
  margin:0;
  font-size:34px;
  font-weight:600;
  letter-spacing:-.2px;
  line-height:1.25;
}
.contacts__rows{
  margin-top:34px;
  display:grid;
  gap:10px;
  justify-content:center;
  color:rgba(0,0,0,.65);
}
.row{
  display:flex;
  gap:8px;
  justify-content:center;
  align-items:baseline;
  font-size:15px;
}
.row__label{ color:rgba(0,0,0,.55); }
.row__value{ border-bottom:1px solid rgba(0,0,0,.15); }
.row__value:hover{ border-bottom-color:rgba(0,0,0,.35); }

/* Map */
.map{
  width:100%;
  border-top:1px solid rgba(0,0,0,.06);
  background:#f5f5f5;
}

/* Bottom */
.bottom{
  height:70px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-top:1px solid rgba(0,0,0,.06);
}
.muted{ color:rgba(0,0,0,.45); line-height:1.7; }

/* =====================
   Responsive
===================== */
@media (max-width: 980px){
  .menu{ display:none; } /* можно добавить бургер, если нужно */
  .hero__title{ font-size:36px; }
  .grid{ grid-template-columns:repeat(2, 1fr); }
  .certs__grid{ grid-template-columns:1fr; }
  .cert{ height:520px; }
}
@media (max-width: 560px){
  .wrap{ width:min(1200px, calc(100% - 28px)); }
  .hero{ height:540px; }
  .hero__title{ font-size:30px; }
  .hero__meta{ font-size:16px; }
  .h1{ font-size:30px; }
  .h2, .contacts__title{ font-size:26px; }
  .grid{ grid-template-columns:1fr; }
  .grid__item{ height:240px; }
}