/* Головна сторінка (index.php на "/") — точна копія головної local.if.ua.
   Правила взято з local.if.ua/style/desktop.css лише для класів desktop-розмітки головної;
   решта сайту цей файл не підключає. Шрифти Fixel — /fonts. */

html, body{
  height: 100%;
  margin: 0;
}

body{
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-family: "Rubik", sans-serif;
  background-color: #F9F9F9;
  color: #3d3d3d;

  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.site-content{
  flex: 1 0 auto;
  box-sizing: border-box;
}

@font-face{
  font-family: "FixelDisplay-Bold";
  src: url("/fonts/FixelDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "FixelDisplay-Medium";
  src: url("/fonts/FixelDisplay-Medium.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "FixelDisplay-Regular";
  src: url("/fonts/FixelDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

a{
  color: #3d3d3d;
  text-decoration: none;
}

input{
  font-family: "Rubik", sans-serif;
}

textarea{
  font-family: "Rubik", sans-serif;
}

button{
  font-family: "Rubik", sans-serif;
}

.margin0{
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  max-width: 1400px;
  width: 90%;
}

.up_line_main{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 20px 20px;
  position: relative;
  z-index: 100;
  background-color: #1e272e;
  min-height: 100svh;
  background-image: url("/pic/IMG_0117.jpg?v=2");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid #4b4f53;

  box-sizing: border-box;
}

.first_column{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.second_column{
  display: flex;
  flex-direction: column;
  gap: 20px; 
}

.catalog_color_white_3{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  font-weight: 500;
  font-size: clamp(18px, 3vw, 50px);
  color: #FFFFFF;
}

.catalog_color_white_4{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  font-weight: 500;
  font-size: clamp(14px, 3vw, 18px);
  color: #FFFFFF;
}

.catalog_color_white_4_outside{
  border-radius: 12px;
  background-color: #FFFFFF;
  color: #585858;
  padding: 8px 20px 6px 20px;
  transition: all 0.3s;
  border: 1px solid #FFFFFF;
}

.catalog_color_white_4_outside:hover{
  transition: all 0.3s;
  padding: 8px 30px 6px 30px;
  background-color: #1e272e;
  color: #FFFFFF;
  border: 1px solid #fff701;
}

.logo_local_main{
  width: clamp(150px, 14vw, 300px);
}

.up_line_2_logo{
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.up_line_1{
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.up_line_2{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.up_line_3_main{
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-size: 12px;
  font-weight: 400;
  color: #FFFFFF;
}

/* кнопки шапки — такі самі, як .mode_btn у шапці object.php (підсумкові значення зі style/desktop.css) */
.up_line_1_nav{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.mode_btn{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background-color: rgba(30, 39, 46, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.35);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.mode_btn:hover,
.mode_btn_active{
  background-color: #fff701;
  box-shadow: inset 0 -2px 0 #e6df00;
  color: #1e272e;
}

.mode_btn_active{
  cursor: default;
}

.mode_btn:focus-visible{
  outline: 2px solid #fff701;
  outline-offset: 3px;
}

.mode_btn:active{
  transform: translateY(1px);
}

.mode_btn_label{
  position: relative;
  z-index: 1;
}

.up_line_1_a{

}

.up_line_1_phone{
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 7px 20px 6px 20px;
  border-radius: 12px;
  background-color: transparent;
  font-weight: 600;
  font-size: 14px;
  justify-content: center;
  color: #FFFFFF;
  border: 1px solid #fff701;
}

.up_line_1_phone:hover{
  color: #3d3d3d;
  background-color: #fff701;
}

.under_footer_main{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
  color: #FFFFFF;
}

.about_main{
  display: flex;
  flex-direction: column;
  padding: 50px 20px;
  position: relative;
  z-index: 100;
  background-color: #1e272e;
  box-sizing: border-box;
  color: #FFFFFF;
}

.our_about_text{
  font-size: 18px;
  font-family: 'FixelDisplay-Regular', sans-serif;
  white-space: break-spaces;
}

.managers_main{
  display: flex;
  flex-direction: column;
  padding: 50px 20px;
  position: relative;
  z-index: 100;
  background-color: #FFFFFF;
  box-sizing: border-box;
  color: #3d3d3d;
}

.managers_main_title{
  display: flex;
  justify-content: center;

}

.catalog_color_white_5{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  font-weight: 500;
  font-size: clamp(18px, 3vw, 50px);
  color: #3d3d3d;
}

.catalog_color_white_6{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  font-weight: 500;
  font-size: clamp(18px, 3vw, 50px);
  color: #FFFFFF;
}

.managers_main_list{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.our_team_block{
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 200px;
  gap: 10px;
}

.our_team_pic{
  width: 100%;
  border-radius: 200px;
  object-fit: cover;
  aspect-ratio: 1;
  border: 5px solid #fff701;
  box-sizing: border-box;
  transition: all 0.3s;
}

.our_team_pic:hover{
  transform: scale(1.05);
  transition: all 0.3s;
}

.our_team_name{
  font-weight: 500;
  font-size: clamp(12px, 1vw, 20px);
  white-space: nowrap;
}

.our_maps_here{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  gap: 20px;
  font-family: 'FixelDisplay-Bold', sans-serif;
  background-color: #1e272e;
}
