html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden; 
  box-sizing: border-box;
}

body {
  background: url("../video-bg.mp4");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  min-width: 100vw;
  font-family: "Golos Text", sans-serif;
  display: flex;
  flex-direction: column;
}

.title {
  color: white;
  font-size: 3.6vw;
  font-weight: 700;
  margin-left: 1vw;
  margin-top: 2vw;
}

  video.bg-video {
      position: fixed;  
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover; 
      z-index: -1;   
    }

.menu-phone { display: none; }
.menu-base { display: none; }
.menu-all { display: none; }


.menu {
  display: flex;
  gap: 1vw;
  margin-left: 28vw;
  margin-top: -3.6vw;
}

.menu-item a {
  display: flex;
  align-items: center;
  gap: 0.7vw;
  padding: 0.4vw 1vw;
  border-radius: 0.9vw;
  font-size: 1.6vw;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.menu-item img {
  width: 1.5vw;
  height: 1.3vw;
}

.menu-item.white a { background: white; color: black; }
.menu-item.dark a { background: #292929; color: white; }
.menu-item.call a { background: #292929; color: white; font-weight: 700; }

.menu-item a:hover { transform: scale(1.07); }



.hero {
  flex: 1; 
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;    
  text-align: center;
  gap: 2vw; 
}

.stroim {
  font-size: 4vw;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  font-style: italic;
  
}
.stroim-2 {
  font-size: 1.6vw;
  color: #fff;
  margin-top: -1vw;
  font-weight: 499;
}

.hero-buttons {
  display: flex;
  gap: 2vw;
  margin-top: 2vw;
  
}

.submit, .services {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4vw;
  font-weight: 600;
  border-radius: 2vw;
  padding: 1vw 2vw;
  transition: 0.3s;
}

.submit:hover, .submit:hover a,
.services:hover, .services:hover a {
  transform: scale(1.07);
}


.submit {
  background: #ff0000;
  color: #fff;
}
.submit a { color: inherit; text-decoration: none; }

.services {
  background: #fff;
  color: #000;
}
.services a { color: inherit; text-decoration: none; }

.hero-buttons a {
  text-decoration: none;
  color: inherit;
}





@media (max-width: 768px) {

    * {
    -webkit-tap-highlight-color: transparent; 
    }
    button:focus, a:focus {
      outline: none; 
    }
    .menu { display: none; }

    .menu-phone img {
      width: 11.5vw;
      height: 4.3vw;
      transition: 0.15s;
    }
    .menu-phone img.cross {
      height: 6.3vw;
      width: auto;
    }

    .title {
        width: 27.467vw;
        height: 10.867vw;
        font-size: 11.6vw;
    }

    .menu-phone {
        display: flex;
        width: 11.333vw;
        height: 10.533vw;
        border-radius: 2.4vw;
        background: rgba(88, 88, 88, 1);
        margin-left: 84vw;
        margin-top: -8.8vw;
        z-index: 10002;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .menu-base {
        display: flex;
        align-items: center;
        gap: 0.7vw;
        padding: 0.4vw 1vw;
        border-radius: 2.4vw;
        font-size: 5.8vw;
        font-weight: 999;
        transition: 0.3s;
        background: white;
        color: black;
        position: fixed;
        margin-left: 46vw;
        margin-top: 4vw;
        z-index: 10001;
    }
    .menu-base img {
        width: 7vw;
        height: 9vw;
        margin-left: 1vw;
        margin-bottom: 0.6vw;
    }
    .menu-base a {
      display: flex;
      text-decoration: none;
      color: black;
      align-items: center;
    }
    .menu-base span {
      margin-left: 1.8vw;
      margin-right: 1.7vw;
      margin-top: 1vw;
    }

    .menu-all.active {
      position: absolute;
      top: 2.6vw;            
      right: 4.2vw;          
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 46vw;          
      max-width: 48vw;
      max-height: 82vh;     
      background: rgba(88, 88, 88, 1);
      border-radius: 2.6vw;
      padding: 12.8vw 1.6vw 1.6vw 1.6vw; 
      gap: 1.2vw;
      z-index: 10000;
      box-sizing: border-box;
      overflow-y: auto;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
      box-shadow: 0 8px 22px rgba(0,0,0,0.38);
    }

    .menu-close {
      position: absolute;
      top: -3.6vw;           
      right: -3.6vw;        
      width: 6.6vw;
      height: 6.6vw;
      border-radius: 50%;
      background: rgba(45,45,45,0.98);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 3.6vw;
      line-height: 1;
      border: none;
      cursor: pointer;
      z-index: 10003;
      box-shadow: 0 6px 14px rgba(0,0,0,0.36);
    }

    #main { display: inline; }

    .menu-one.button {
        display: flex;
        align-items: center;
        gap: 1vw;
        padding: 2.2vw 1.4vw;
        border-radius: 2.6vw;
        font-size: 3.6vw;
        font-weight: 900;
        text-decoration: none;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    .menu-one.button img {
        width: 6.2vw;
        height: 5.2vw;
        flex-shrink: 0;
        margin-left: 1vw;
    }
    .menu-one.button a {
        text-decoration: none;
        color: inherit;
        display: flex;
        align-items: center;
        gap: 1vw;
        width: 100%;
    }

    .menu-one.button.white { background: #fff; color: #000; }
    .menu-one.button.black { background: #292929; color: #fff; }

    
    .menu-one.button.call { background: #ff0000; color: #fff; font-weight: 700; }
    .menu-one.button.call span {
        font-size: 3.0vw;          
        white-space: normal;
        line-height: 1.05;
    }
    .menu-one.button.call img {
        width: 5.6vw;
        height: 5.6vw;
    }

    .menu-one.button:active { transform: translateY(1px); outline: none; }

    .menu-one span {
        display: inline-block;
        line-height: 1.05;
        word-break: break-word;
    }

    #osoboCALL span {
        font-size: 3.8vw;
    }

    #osoboMAIN span {
        font-size: 4.2vw;
    }

    .menu-all.active::-webkit-scrollbar { width: 6px; }
    .menu-all.active::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.25); border-radius: 6px; }
    .menu-all.active { scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.25) transparent; }
    .hero {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4vw;       
    padding: 5vw;   
    box-sizing: border-box;

    .hero {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3vw;
    padding: 5vw;
    box-sizing: border-box;
  }

  .stroim, .stroim-2 {
    font-weight: 900;
  }

  .stroim {
    font-size: clamp(6vw, 8vw, 10vw);
    line-height: 1.2;
    text-align: center;
    margin: 0;
    word-break: break-word;
  }

  .stroim-2 {
    font-size: clamp(3.5vw, 4.5vw, 5.5vw);
    line-height: 1.3;
    text-align: center;
    margin: 0;
    word-break: break-word;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
  }

  .submit, .services {
    flex: 1;                   /* растягиваются одинаково */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(3.5vw, 4vw, 4.5vw);
    padding: 3vw 0;
    border-radius: 4vw;
    text-align: center;
    box-sizing: border-box;
    min-width: 180px;          /* минимальная ширина для симметрии */
  }


  }

  
}