html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden; 
  box-sizing: border-box;
}

body {
  background-image: url("../images/27ac1b87d44a8a2f300d8334847aa31f_1200_800_cp-10018479131.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  min-width: 100vw;
  font-family: "Inter", sans-serif;
  display: flex;
  flex-direction: column;
}

.title {
  color: white;
  font-size: 3.6vw;
  font-weight: 700;
  margin-left: 1vw;
  margin-top: 2vw;
}


.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: 900;
  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); }

.padding {
  text-align: center;
  color: white;
  font-family: "Inter", sans-serif;
  font-weight: 999;
  font-size: 2vw;
}

.gallery {
  display: flex;       
  flex-wrap: wrap;      
  justify-content: center;
  gap: 1.333vw;               
}

.gallery img {
  height: auto;
  cursor: pointer;  
}

.content-block {
  width: 97vw;
  background: rgb(43, 40, 40);
  backdrop-filter: blur(12px);
  padding: 4vw 6vw;
  box-sizing: border-box;
  border-radius: 2vw;
  margin-top: 3vw;
  margin-left: 1vw;
  height: 79vw;
}

.text-block {
  color: #fff;
  text-align: center;
  max-width: 80vw;
  margin: 0 auto;
}

.text-block h1 {
  font-size: 3.6vw;
  font-weight: 800;
  margin-bottom: 2vw;
  text-transform: uppercase;
  letter-spacing: 0.08vw;
}

.text-block p {
  font-size: 1.3vw;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5vw;
  margin-top: 3vw;
}

.gallery img {
  width: 25vw;
  height: auto;
  border-radius: 1vw;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 2vw rgba(255, 255, 255, 0.3);
}


/* ===== УЛУЧШЕНИЯ ДЛЯ КОНТЕНТА ===== */

/* Общий фон — чуть мягче */
body {
  background-color: #1d1d1d;
  background-image: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.85) 100%),
                    url("../images/27ac1b87d44a8a2f300d8334847aa31f_1200_800_cp-10018479131.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Контент-блок — меньше высоты и приятнее визуально */
.content-block {
  width: 92vw;
  background: rgba(30, 30, 30, 0.75);
  backdrop-filter: blur(16px);
  padding: 5vw 6vw;
  box-sizing: border-box;
  border-radius: 1.8vw;
  margin: 6vw auto;
  height: auto;
  box-shadow: 0 0 2vw rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.4s;
}

.content-block:hover {
  border-color: rgba(255,255,255,0.15);
}

/* Заголовок — крупнее, мягче, без крика */
.text-block h1 {
  font-size: 3vw;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: none;
  color: #fff;
  margin-bottom: 1.6vw;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1.2vw;
  display: inline-block;
}

/* Текст — читается как журнал */
.text-block p {
  font-size: 1.3vw;
  line-height: 1.8;
  max-width: 60vw;
  margin: 0 auto;
  color: rgba(255,255,255,0.88);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Галерея — тень, плавные углы, адаптив */
.gallery img {
  width: 27vw;
  border-radius: 1.2vw;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 1.6vw rgba(0,0,0,0.45);
}

.gallery img:hover {
  transform: scale(1.04);
  box-shadow: 0 0 2.6vw rgba(255,255,255,0.3);
}


.buttons {
  display: flex;
  justify-content: space-between;     
  margin-top: 2vw;
}
.left-column, .right-column {
  display: flex;
  flex-direction: column;
  gap: 1.5vw;
  align-items: flex-start;
}
.right-column {
  align-items: flex-end;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8vw;
  padding: 0.7vw 1.5vw;
  border-radius: 1.2vw;
  font-size: 1.3vw;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 0.4vw 0.8vw rgba(0,0,0,0.25);
  min-height: 2.8vw;
  width: 14vw;
}
.btn img {
  width: 2vw;
  height: auto;
  flex-shrink: 0;
}
.btn.red {
  background: #FF0000;
  box-shadow: 0 0.533vw 1.067vw rgba(255,0,0,0.3);
}
.btn.red:hover {
  background: #FF4D4D;
}
.btn.gray {
  background: #5A5A5A;
}
.btn.gray:hover {
  background: #7A7A7A;
}

.stages-work {
  margin-top: 3.9vw;
}

@media (max-width: 768px) {

    * {
    -webkit-tap-highlight-color: transparent; 
    }
    button:focus, a:focus {
      outline: none; 
    }
    .menu { display: none; }

    .menu-phone img {
      width: 80.5vw;
      height: 4.3vw;
      transition: 0.15s;
      margin-top: 3vw;
      margin-bottom: 2.5vw;
      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: 4.8vw;
        font-weight: 999;
        transition: 0.3s;
        background: white;
        color: black;
        position: fixed;
        margin-left: 38vw;
        margin-top: 4.4vw;
        z-index: 10001;
    }
    .menu-base img {
        width: 7vw;
        height: 9vw;
        margin-left: 1vw;
        
    }
    .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; }
    
    .padding {
      text-align: center;
      color: white;
      font-family: "Inter", sans-serif;
      font-weight: 999;
      font-size: 6vw;
    }
    .content-block {
    padding: 8vw 4vw;
    border-radius: 4vw;
    }

    .text-block h1 {
      font-size: 6.8vw;
    }

    .text-block p {
      font-size: 3.8vw;
    }

    .gallery img {
      width: 80vw;
    }

    .content-block {
    background: rgba(25,25,25,0.9);
    border-radius: 4vw;
    padding: 10vw 5vw;
    box-shadow: none;
  }

  .text-block h1 {
    font-size: 6vw;
    margin-bottom: 5vw;
  }

  .text-block p {
    font-size: 3.8vw;
    line-height: 1.7;
    max-width: 100%;
  }

  .gallery img {
    width: 88vw;
    border-radius: 3vw;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }
  .left-column, .right-column {
    align-items: center;
    width: 100%;
    margin-bottom: 1.5vw;
  }
  .btn {
    width: 80%;
    font-size: 4vw;
    padding: 3vw;
    justify-content: center;
    border-radius: 5vw;
  }
  .btn img {
    width: 6vw;
    margin-right: 1vw;
  }

  .base {
    display: block;      
    padding-top: 0;     
  }

  }

  
