*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html, body{
  width:100%;
  overflow-x:hidden;
}

body{
  font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#0b1b2c;
  color:#fff;
}

/* HEADER */
.topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:74px;
  display:flex;
  align-items:center;
  gap:20px;
  padding:0 28px;
  z-index:1000;
  background:rgba(67, 125, 167, .62);
  backdrop-filter:blur(8px);
}

.logo{
  position:relative;
  z-index:1002;
  flex-shrink:0;
}

.logo img{
  width:140px;
  display:block;
}

.nav-wrapper{
  flex:1;
  display:flex;
  justify-content:flex-end;
  align-items:center;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav a{
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  transition:.3s ease;
  white-space:nowrap;
}

.nav a:hover{
  opacity:.8;
}

.contact-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  backdrop-filter:blur(6px);
  font-weight:700;
}

.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  border:none;
  background:transparent;
  cursor:pointer;
  position:relative;
  z-index:1002;
  margin-left:auto;
}

.menu-toggle span{
  display:block;
  width:26px;
  height:2px;
  background:#fff;
  margin:5px auto;
  transition:.3s ease;
  border-radius:2px;
}

.menu-toggle.active span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
  opacity:0;
}

.menu-toggle.active span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

.mobile-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  opacity:0;
  visibility:hidden;
  transition:.3s ease;
  z-index:998;
}

.mobile-overlay.active{
  opacity:1;
  visibility:visible;
}

/* HERO */
.hero{
  height:78vh;
  min-height:560px;
  background:url('../images/metal.jpg') center/cover no-repeat;
  display:flex;
  align-items:center;
  position:relative;
  padding-top:74px;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(11,27,44,.88) 0%, rgba(11,27,44,.65) 45%, rgba(11,27,44,.45) 100%),
    rgba(67,125,167,.20);
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:1100px;
  width:100%;
  margin:auto;
  padding:20px;
}

.small-title{
  letter-spacing:2px;
  color:#8ec1eb;
  font-size:14px;
  margin-bottom:12px;
}

.hero-content h1{
  font-size:clamp(42px, 6vw, 72px);
  line-height:1.05;
  margin-bottom:20px;
}

.hero-content p{
  max-width:650px;
  line-height:1.8;
  color:rgba(255,255,255,.86);
  font-size:17px;
}

/* COMMON */
.container{
  max-width:1200px;
  margin:auto;
  padding:90px 20px;
}

.section-head{
  margin-bottom:34px;
}

.mini-title{
  color:#8ec1eb;
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:13px;
  margin-bottom:10px;
}

.section-head h2{
  font-size:clamp(28px, 4vw, 48px);
  line-height:1.2;
  max-width:700px;
}

/* PRODUCTS */
.products-section{
  background:linear-gradient(180deg, #0b1b2c 0%, #0d2237 100%);
}

.products-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}

.product-card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 15px 40px rgba(0,0,0,.18);
  transition:transform .3s ease, box-shadow .3s ease;
}

.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 45px rgba(0,0,0,.25);
}

.product-image{
  height:240px;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.product-content{
  padding:26px;
}

.product-content h3{
  font-size:26px;
  margin-bottom:14px;
}

.product-content p{
  color:rgba(255,255,255,.82);
  line-height:1.8;
  margin-bottom:20px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:140px;
  height:44px;
  padding:0 18px;
  border-radius:999px;
  text-decoration:none;
  color:#fff;
  font-weight:700;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.20);
  backdrop-filter:blur(8px);
  transition:.3s ease;
}

.btn:hover{
  background:rgba(255,255,255,.16);
}

/* ADVANTAGES */
.advantage-section{
  background:#0d2237;
  padding-bottom:10px;
}

.advantages-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}

.advantage-box{
  text-align:center;
  padding:34px 24px;
  border-radius:24px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}

.advantage-box i{
  font-size:30px;
  color:#8ec1eb;
  margin-bottom:14px;
}

.advantage-box h3{
  font-size:22px;
  margin-bottom:10px;
}

.advantage-box p{
  color:rgba(255,255,255,.82);
  line-height:1.7;
}

/* CONTACT */
.contact-section{
  background:#0d2237;
  padding-bottom:90px;
}

.contact-box{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:34px;
  border-radius:28px;
  background:linear-gradient(135deg, rgba(67,125,167,.22) 0%, rgba(115,179,223,.12) 100%);
  border:1px solid rgba(255,255,255,.08);
}

.contact-box h2{
  font-size:clamp(28px, 4vw, 42px);
  margin-bottom:10px;
}

.contact-box p{
  color:rgba(255,255,255,.82);
  line-height:1.8;
}

.secondary-btn{
  min-width:170px;
}

/* RESPONSIVE */
@media (max-width: 1100px){
  .products-grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .advantages-grid{
    grid-template-columns:1fr;
  }

  .contact-box{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 768px){
  .topbar{
    height:66px;
    padding:0 14px;
    justify-content:space-between;
  }

  .logo img{
    width:108px;
  }

  .menu-toggle{
    display:block;
  }

  .nav-wrapper{
    position:fixed;
    top:0;
    right:-100%;
    width:280px;
    max-width:80%;
    height:100vh;
    background:#0f2740;
    display:flex;
    justify-content:flex-start;
    align-items:flex-start;
    padding:90px 24px 24px;
    transition:right .35s ease;
    z-index:999;
    box-shadow:-10px 0 30px rgba(0,0,0,.25);
  }

  .nav-wrapper.active{
    right:0;
  }

  .nav{
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
  }

  .nav a{
    font-size:15px;
    width:100%;
    padding:6px 0;
  }

  .contact-btn{
    padding:6px 0;
    border:none;
    background:transparent;
    backdrop-filter:none;
    border-radius:0;
    justify-content:flex-start;
  }

  .hero{
    min-height:480px;
    padding-top:66px;
  }

  .hero-content{
    padding:20px 16px;
  }

  .hero-content h1{
    font-size:40px;
  }

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

  .products-grid{
    grid-template-columns:1fr;
  }

  .container{
    padding:70px 16px;
  }
}

@media (max-width: 480px){
  .topbar{
    height:62px;
    padding:0 12px;
  }

  .logo img{
    width:94px;
  }

  .menu-toggle{
    width:40px;
    height:40px;
  }

  .nav-wrapper{
    width:250px;
    padding:80px 20px 20px;
  }

  .hero{
    min-height:420px;
    padding-top:62px;
  }

  .hero-content{
    padding:20px 12px;
  }

  .hero-content h1{
    font-size:30px;
  }

  .hero-content p{
    font-size:14px;
    line-height:1.7;
  }

  .small-title{
    font-size:12px;
  }

  .container{
    padding:56px 12px;
  }

  .product-image{
    height:210px;
  }

  .product-content{
    padding:20px;
  }

  .product-content h3{
    font-size:22px;
  }

  .btn{
    width:100%;
  }
}