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;
}

.services {
  width: 97.6vw;
  height: 35.4vw;
  margin-left: 1.2vw;
}


.services {
  display: flex;
  flex-wrap: wrap;
  gap: 2vw; 
  scrollbar-width: thin;       
  scrollbar-color: rgba(255,255,255,0.4) rgba(0,0,0,0.1); 
}

.services::-webkit-scrollbar {
  height: 1.067vw;                 
}

.services::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.1); 
  border-radius: 0.533vw;
}

.services::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff4e50, #f9d423); 
  border-radius: 0.533vw;
  box-shadow: 0 0 2px rgba(0,0,0,0.5); 
  transition: background 0.3s;
}

.services::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #f9d423, #ff4e50); 
}

.service-card {
  background: rgba(51, 50, 50, 1);
  color: white;
  border-radius: 2.333vw;
  overflow: hidden;
  flex-direction: column;
  width: 22vw;        
  height: 24vw;
  box-sizing: border-box;
  font-weight: 505;
}

.service-card p {
  color: rgba(108, 108, 108, 1);
  font-size: 0.1vw;
  text-align: center;
}

.service-image img {
  width: 100%;
  height: 18vw;
  object-fit: cover; 
}



.service-info h3 {
  font-size: 1.74vw;
  margin: 0 0 0.5vw 0;
  text-align: center;
  margin-top: 1vw;
}

.service-info p {
  font-size: 0.9vw;
  flex-grow: 1; 
  margin: 0 0 1vw 0;
}
.service-info {
  padding: 1vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center; 
  flex-grow: 1;
}

.service-info .btn {
  display: inline-block;
  padding: 0.6vw 1vw;
  background: red;
  color: white;
  text-align: center;
  font-weight: 700;
  border-radius: 0.6vw;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.9vw;
      margin-top: 15vw;
}

.service-info .btn:hover {
  transform: scale(1.05);
}


#before {
  background: url(../images/BEFORE.jpg) center center no-repeat;
  background-size: cover;
}


#st60kv {
  background: url(../images/st60kv.svg) center center no-repeat;
  background-size: contain;
}

#st64kv {
  background: url(../images/st64kv.svg) center center no-repeat;
  background-size: contain;
}

#st66kv {
  background: url(../images/st66kvsvg.svg) center center no-repeat;
  background-size: contain;
}

#st72kv {
  background: url(../images/st72kv.svg) center center no-repeat;
  background-size: contain;
}

#st82kv {
  background: url(../images/st82kv.svg) center center no-repeat;
  background-size: contain;
}

#neo-classic {
  background: url(../images/neo-classic.svg) center center no-repeat;
  background-size: contain;
}

#st58kvm {
  background: url(../images/st58kvm.svg) center center no-repeat;
  background-size: contain;
}


#before a, #DISMANTLING-THE-FLOOR a{
  margin-top: 16vw;
}

#st60kv, #st64kv, #st66kv, #st72kv, #st82kv, #neo-classic, #st58kvm {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@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;
    }
    .services {
        flex-direction: column;
        align-items: center;    
        gap: 4vw;               
        width: 90vw;            
        margin-left: auto;
        margin-right: auto;
        height: auto;          
    }

    .service-card {
        width: 90vw;           
        min-height: auto;  
        align-items: center;     
        flex-direction: column;
        border-radius: 10vw;
        height: 92vw;
    }

    .service-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 50vw;
    }

    .service-card .service-image img {
        height: auto; 
        text-align: center;   
        width: 90vw;      
    }

    .service-info h3 {
        font-size: 7vw;
        margin-top: 15vw;         
    }

    .service-info p {
        font-size: 3.3vw;
        margin-left: 7vw;
        margin-right: 7vw;   
        font-weight: 800; 
        margin-top: 2vw;
        margin-bottom: 2vw;
    }

    .service-info .btn {
        font-size: 4vw;         
        padding: 3vw 5vw;
        width: 23vw;
        border-radius: 4vw;
        align-self: center;
        margin-top: 1.5vw;
        margin-bottom: 1.5vw;
    }

    #before a, #DISMANTLING-THE-FLOOR a {
        margin-top: 3vw;
    }

    #DISMANTLING-THE-BEDROOM-WALL {
        margin-top: 8vw;
    }

    #DISMANTLING-THE-BEDROOM-WALL h3, #DISMANTLING-OF-TILES-ON-THE-TERRACE h3, #CONNECTING-TWO-APARTMENTS h3, #CONNECTING-TWO-TERRACES h3, #UNDERFLOOR-HEATING h3 {
        margin-top: 9vw;
    }
  }

  
