/* ===== RESET ===== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  background:#0f172a;
  color:#fff;
  line-height:1.6;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

/* ===== CONTAINER ===== */
.container{
  max-width:1200px;
  margin:auto;
  padding:0 20px;
}

/* ===== HEADER ===== */
.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  background:rgba(15,23,42,.95);
  backdrop-filter:blur(8px);
  padding:18px 0;
  z-index:1200;   /* ВОТ ЭТО ВАЖНО */
}
.nav-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.logo{
  font-size:20px;
  font-weight:700;
  color:#38bdf8;
}

/* ===== BURGER ===== */
.burger{
  position:relative;
  z-index:1100;
  width:28px;
  height:22px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  cursor:pointer;
}
.burger span{
  height:3px;
  width:100%;
  background:#fff;
  border-radius:2px;
  transition:.3s;
}

/* BURGER -> X */
.burger.active span:nth-child(1){
  transform:rotate(45deg) translate(5px,5px);
}
.burger.active span:nth-child(2){
  opacity:0;
}
.burger.active span:nth-child(3){
  transform:rotate(-45deg) translate(6px,-6px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu{
  position:fixed;
  top:0;
  right:-100%;
  width:280px;
  height:100%;
  background:#0f172a;
  padding:100px 30px;
  display:flex;
  flex-direction:column;
  gap:30px;
  transition:.4s ease;
  z-index:1100;
}
.mobile-menu a{
  font-size:18px;
  font-weight:600;
}
.mobile-menu.active{
  right:0;
}

/* ===== OVERLAY ===== */
.overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  opacity:0;
  visibility:hidden;
  transition:.3s;
  z-index:1000;
}
.overlay.active{
  opacity:1;
  visibility:visible;
}

/* ===== HERO ===== */
.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:120px 20px 60px;
  background:
    linear-gradient(rgba(0,0,0,.75),rgba(0,0,0,.75)),
    url("/images/kitchen-drain-cleaning-master-izmail.webp")
    center/cover no-repeat;
}

.hero-content h1{
  font-size:48px;
  margin-bottom:20px;
}
.hero-content span{
  color:#38bdf8;
}
.hero-content p{
  font-size:18px;
  color:#cbd5e1;
  margin-bottom:35px;
}
.hero-buttons{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

/* ===== BUTTONS ===== */
.btn-primary{
  background:#fff;
  color:#000;
  padding:14px 32px;
  border-radius:14px;
  font-weight:700;
  transition:.3s;
}
.btn-primary:hover{
  transform:translateY(-3px);
}
.btn-primary.large{
  font-size:20px;
  padding:18px 40px;
}
.btn-outline{
  border:2px solid #fff;
  padding:14px 32px;
  border-radius:14px;
}

/* ===== SECTIONS ===== */
section{
  padding:100px 20px;
  text-align:center;
}

/* ===== CARDS ===== */
.cards{
  display:grid;
  gap:30px;
  margin-top:40px;
}
@media(min-width:768px){
  .cards{
    grid-template-columns:repeat(3,1fr);
  }
}
.card{
  background:#1e293b;
  padding:40px;
  border-radius:20px;
  transition:.3s;
}
.card:hover{
  background:#334155;
  transform:translateY(-5px);
}

/* ===== GALLERY ===== */
.gallery{
  display:grid;
  gap:20px;
  margin-top:40px;
}
@media(min-width:768px){
  .gallery{
    grid-template-columns:repeat(3,1fr);
  }
}
.gallery img{
  border-radius:15px;
  transition:.3s;
}
.gallery img:hover{
  transform:scale(1.05);
}

/* ===== FORM ===== */
.contact-form{
  max-width:400px;
  margin:30px auto 0;
  display:flex;
  flex-direction:column;
  gap:20px;
}
.contact-form input{
  padding:14px;
  border-radius:10px;
  border:none;
}

/* ===== CTA ===== */
.cta{
  background:linear-gradient(45deg,#0284c7,#0ea5e9);
}
.cta h2{
  margin-bottom:30px;
}

/* ===== FOOTER ===== */
footer{
  padding:40px 0;
  text-align:center;
  background:#020617;
  color:#94a3b8;
}

/* ===== FLOAT BUTTON ===== */
.floating{
  position:fixed;
  bottom:25px;
  right:25px;
  width:65px;
  height:65px;
  background:#16a34a;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  box-shadow:0 15px 30px rgba(0,0,0,.4);
}

/* ===== MOBILE ===== */
@media(max-width:768px){

  .hero{
    padding:100px 15px 40px;
  }

  .hero-content h1{
    font-size:28px;
    line-height:1.3;
  }

  .hero-content p{
    font-size:15px;
  }

  .hero-buttons{
    flex-direction:column;
    gap:15px;
  }

  .btn-primary,
  .btn-outline{
    width:100%;
    text-align:center;
  }

  section{
    padding:60px 15px;
  }

  .card{
    padding:25px;
  }

  .gallery{
    grid-template-columns:1fr !important;
  }

  .floating{
    width:60px;
    height:60px;
    font-size:20px;
    bottom:20px;
    right:20px;
  }

}