/* Roboto — normal */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto/Roboto-VariableFont_wdth\,wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Roboto — italic */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto/Roboto-Italic-VariableFont_wdth\,wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}



* {
  font-family: 'Roboto', Arial, sans-serif;
}
body {

  margin: 0;
  padding: 0;
  color: #111;
  background: #fff;
}



.hero-image img {
  position: absolute;
  top: 20px;
  left: 60px;
  width: 60px;
}

/* ======= Бургер ======= */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  top: 25px;
  right: 30px;
  z-index: 10000;
  gap: 6px;
}

.burger span {
  height: 3px;
  width: 25px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* ======= Меню по умолчанию ======= */
.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px; /* управляет расстоянием */
  position: relative;
}

/* Телефон в правом углу */
.header-phone {
  position: absolute;
  right: 40px;
  top: 45px;
  transform: translateY(-50%);
  margin: 0;
}

.header-phone a {
 color: #f57c00;
  font-size: 1.2em;
  font-weight: 400;
  text-decoration: none;
}

.header-phone a:hover {
  color: #000000;
}

/* Показываем телефон только до 1080px */
@media (max-width: 1080px) {
  .header-phone {
    position: absolute;
    left: 60px;
    top: 330px;
    transform: translateY(-50%);
    margin: 0;
    display: block;
  }

   .header-phone img {
    display: none;
  }

  .header-phone a {
    color: #f57c00;
    font-size: 1.2em;
    font-weight: 400;
    text-decoration: none;
  }

  .header-phone a:hover {
    color: white;
  }
}

/* УБРАТЬ телефон на 768px и ниже */
@media (max-width: 768px) {
  .header-phone {
    display: none !important;
  }
}

/* УБРАТЬ телефон на 480px и ниже */
@media (max-width: 480px) {
  .header-phone {
    display: none !important;
  }
}

.underline {
  padding: 25px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-top: 10px;
}

nav a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 1em;
  transition: 0.3s;
  font-weight: 200 !important;
 
}

nav a span {
  color: #f57c00;
  
}

nav a:hover {
  color:  #f57c00;

}

@media (min-width: 769px) and (max-width: 1080px) {
  .burger {
    display: flex;
  }

  .underline {
    border: none;
  }

  nav.underline {
    display: none;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    max-width: 300px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 80px 20px;
    gap: 20px;
    transition: left 0.3s ease;
    z-index: 9999;
  }

  .nav-menu.active {
    left: 0;
    display: flex;
  }

  .nav-menu .underline {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .nav-menu a {
    color: white;
    font-size: 1.1em;
    text-decoration: none;
  }

  .nav-menu a:hover {
    color: orange;
  }

   .burger span {
    background-color: #000;
  }
.hero-image img {
    left: 30px;
    width: 50px;
  }

}

/* ==============================
   АДАПТАЦИЯ ДО 768
============================== */
/* ==============================
   БУРГЕР-МЕНЮ 480–768px
============================== */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .underline {
    border: none;
  }

  /* Меню скрыто по умолчанию */
  .nav-menu {
    position: absolute;
    top: -100%; /* прячем вверх */
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0px;
    transition: top 0.4s ease;
    z-index: 9999;
  }

  /* Когда активно — опускается вниз */
  .nav-menu.active {
    top: 0;
  }

  /* Чтобы .underline не ломала вертикаль */
  .nav-menu .underline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  /* Ссылки меню */
  .nav-menu a {
    color: white;
    font-size: 1.1em;
    text-decoration: none;
    transition: color 0.3s;
  }

  .nav-menu a:hover {
    color:  #ff9a00;
  }

   .burger span {
    background-color: #000;
  }
   .hero-image img {
    left: 25px;
    width: 50px;
  }

}

/* ==============================
   ДО 480px
============================== */
@media (max-width: 480px) {


  /* Меню чуть компактнее */
  .nav-menu {
   background-color: rgba(0, 0, 0, 0.7);
   padding: 0 0;
  }
  .nav-menu a {
    font-size: 1em;
  }
  .burger span {
    background-color: #000;
  }

   .hero-image img {
    left: 20px;
    width: 40px;
  }

  

}


.metal-section {
  display: flex;
  justify-content:flex-start;
  align-items: flex-start;
  padding: 10px 80px;
  gap: 150px;
  max-width: 100%;
}

.content {
  flex: 1;
  max-width: 50%;

}

.always-carousel h1 {
   font-size:1.7em;
     text-transform: uppercase; 
}

.content h2 {
  font-size:1.6em;
  font-weight: 700;
  margin-bottom: 30px;
    text-transform: uppercase; 
}


.content p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
  padding-bottom: 20px;
  font-weight: 300;
  white-space: normal;
}

.orange-btn {
  background-color: #f57c00;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
}

.orange-btn:hover {
  background-color: #d46300;
}



.images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
  max-width: 550px;
  margin-top: 90px;
}

.images img {
  width: 100%; /* Ширина 100% от блока */
  height: 240px; /* Фиксированная высота для всех изображений */
  object-fit: cover; /* Заполняет блок, обрезая лишнее */
}




/* ЗАГОЛОВОК */

.always-carousel {
  margin-top: 100px;
  margin-bottom: 50px;
  border-left: 3px solid black;
  padding-left: 20px;
  font-weight: bold;
  min-width: 150px;
  font-size: 1.6em;
  color: #000;
  margin-left: 50px;
}
.always-carousel span {
  color:#f57c00;
} 

/* ---------- До 480px (мобильные) ---------- */
@media (max-width: 480px) {
  .metal-section {
    flex-direction: column;
    align-items:flex-start;
    padding: 10px!important;
    gap: 60px!important;
  }

 

 .content {
  text-align: left !important;
  order: 1!important;
}

  .content h2 {
    font-size: 1.1em!important;
    margin-bottom: 0px;
    text-align: left;
  }

  .content p {
    font-size: 1em!important;
    text-align:justify;
  }

  .images {
    grid-template-columns: 1fr;
    max-width: 100%;
     order: 2!important;
     margin-top: 20px;
  }

  .images img {
    height: 180px;
  }

   .always-carousel h1{
    margin-left: 0px!important;
    font-size: 1.3em;
    margin-bottom: 0;
  }
   .orange-btn {
    margin: 0 !important;
    margin-left: 0 !important;

  }
  
}

/* ---------- До 768px (планшеты) ---------- */
@media (max-width: 768px) {
    .metal-section {
    flex-direction: column;
    align-items:flex-start;
    padding: 10px!important;
    gap: 60px!important;
  }



  .content {
    max-width: 90%;
    text-align: start!important;
    order: 1!important;
    padding: 0px 20px;
  }

  .content h2 {
    font-size: 1.4em;
  }

  .content p {
    font-size: 1.1em!important;
    padding-bottom: 10px;
  }

  .images {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 90%;
    order: 2!important;
    padding: 0px 20px;
    margin-top: 20px;
  }

  .images img {
    height: 220px;
  }

 .always-carousel {
    margin-left: 20px!important;
    font-size: 1.3em!important;
  }


  
}

/* ---------- До 1080px (ноутбуки) ---------- */
@media (max-width: 1080px) {
  .metal-section {
    padding: 20px 40px;
    gap: 80px;
  }

  .content h2 {
    font-size: 1.5em;
  }

  .content p {
    font-size: 1.15em;
  }

  .images {
    max-width: 450px;
  }

  .always-carousel {
    margin-left: 30px;
    font-size: 1.4em;
  }
}

/* ---------- От 1081px и выше (десктопы) ---------- */
@media (min-width: 1081px) {
  .metal-section {
    padding: 10px 80px;
    gap: 150px;
  }

  .content {
    max-width: 50%;
  }

  .images {
    grid-template-columns: 1fr 1fr;
    max-width: 550px;
  }
}


/* ФОРМА */

/* ЧЕТВЕРТЫЙ БЛОК */
.experience {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  /* height: 60vh;  УБРАТЬ! */
}

.experience h2 {
  font-size: 1.6em;
  color: #000;
  font-weight: 600;
  margin-bottom: 50px;
  position: relative;
  padding-left: 20px;
   
}

.experience h2 span {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: black;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9em;
  color: #000;
}

.file-hint {
  font-size: 13px;
  color: #777;
  margin-top: 4px;
}


.checkbox-label {
  color: #000;
}

.checkbox-label a{
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1em;
  color: #666;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 8px; /* More spacing */
  margin-bottom: 10px;
  width: 18px;    /* Larger checkbox */
  height: 18px;
}

input,
textarea {
  background-color: #fff;
  border: none;
  outline: none;
  padding: 12px 15px;
  font-size: 1em;
  color: #000;
  font-family: Arial, sans-serif;
 
}

textarea {
  resize: none;
  height: 120px;
}


#comment, #name, #phone, #company {
  font-size: 0.9em; /* любой нужный размер */
}

.full-width {
  width: 100%;
}

.submit-btn {
  align-self: center;
  width: 250px;
  height: 45px;
  background-color: #f57c00;
  border: none;
  cursor: pointer;
  color: white;
  font-size: 1em;
  border-radius: 3px;
  transition: 0.3s;
}

.submit-btn:hover {
  background-color: #d46300;
  
}
.background-timeline {
   background-color: #F6F6F6;
   padding-top: 20px;
   margin: 50px 0;
}

select {
  background-color: #fff;
  border: none;
  outline: none;
  padding: 8px 15px;
  margin-bottom: 20px;
  font-size: 0.9em;
  color: #666;
  font-size: 100;
  cursor: pointer;
}
/* ===== FILE UPLOAD ===== */

.form-group.img {
  position: relative;
}

.form-group.img label {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.9em;
  color: #000;
}

/* Скрываем стандартный input */
.form-group.img input[type="file"] {
  opacity: 0;
  position: absolute;
  inset: 0;
  cursor: pointer;
}

/* Красивая кнопка */
.form-group.img::after {
  content: "Выбрать файл (jpg / pdf / dwg)";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  border: 1px dashed #ccc;
  border-radius: 4px;
  background: #fff;
  color: #666;
  font-size: 0.9em;
  cursor: pointer;
  transition: 0.3s;
}

/* Hover */
.form-group.img:hover::after {
  border-color: #f57c00;
  color: #f57c00;
  background: #fff7ef;
}

/* ======= Адаптация ======= */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .submit-btn {
    width: 200px;
  }
}

@media (max-width: 480px) {
  .experience {
    padding: 20px;
  }

  .always-carousel-form{
    margin-left: 20px!important;
    font-size: 1.1em!important;
    margin-bottom: 0;
  }

  .experience h2 {
    font-size: 1.3em;
    margin-bottom: 30px;
  }

  input,
  textarea {
    font-size: 0.95em;
  }

  .submit-btn {
    width: 180px;
    height: 40px;
  }
}

.always-carousel-form {
  margin-top: 50px;
  margin-bottom: 50px;
  border-left: 3px solid black;
  padding-left: 20px;
  font-weight: bold;
  min-width: 150px;
  font-size: 1.6em;
  color: #000;
  margin-left: 50px;
}
.always-carousel-form span {
  color:#f57c00;
} 

@media (max-width: 768px) {
 .always-carousel-form {
    margin-left: 20px!important;
    font-size: 1.3em!important;
  }
 }

@media (max-width: 480px) { 
   .always-carousel-form {
    margin-left: 15px!important;
    font-size: 1.1em!important;
    margin-bottom: 0;
  }
}

@media (max-width: 1080px) { 
  .always-carousel-form {
    margin-left: 30px;
  }
}


        /* Footer Styles */
.footer {
    background-color: #333;
    color: #eee;
    padding: 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    
}

.footer-section {
    width: 23%; /* 4 колонки */
    padding: 10px;
    text-align: left;
    box-sizing: border-box;
}

.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    font-family: "Roboto", sans-serif;
}

.footer-section a {
    color: #eee;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    font-family: "Roboto", sans-serif;
    line-height: 30px;
    font-weight: 300;
}

.footer-section a:hover {
    color: #f57c00;
}

.footer-section p {
    line-height: 26px;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 25px;
    font-size: 0.8em;
}


.footer-bottom a {
    color:#f57c00;
    text-decoration: none;
}

/* Tablets — 2 колонки */
@media (max-width: 768px) {
    .footer-section {
        width: 48%;
        text-align: center;
    }
}

/* Phones — 1 колонка */
@media (max-width: 480px) {
    .footer-section {
        width: 100%;
        text-align: left;
    }
    .footer-section a,
    .footer-section p {
        font-size: 0.9em;
    }
}

/* ===== БАЗОВАЯ КНОПКА ===== */
.tg-question-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;

  display: flex;
  align-items: center;
  gap: 10px;

  background-color: #0088cc;
  color: #fff;

  padding: 14px 18px;
  border-radius: 50px;

  font-family: Arial, sans-serif;
  font-size: 14px;
  cursor: pointer;

  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
/* появление кнопки */
.tg-question-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* ===== ИКОНКА ===== */
.tg-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tg-icon img {
  width: 100%;
  height: 100%;
  display: block;
    transition: transform 0.3s ease;
}

/* ===== ТЕКСТ ===== */
.tg-text {
  white-space: nowrap;
}

/* Поворот иконки при hover */
@media (hover: hover) {
  .tg-question-btn:hover .tg-icon img {
    transform: rotate(-12deg) scale(1.05);
  }
}

/* ===== HOVER (desktop) ===== */
@media (hover: hover) {
  .tg-question-btn:hover {
    background-color: #0095e6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
}

/* ================================================= */
/* ===== MOBILE ≤ 480px : ИДЕАЛЬНЫЙ КРУГ ===== */
/* ================================================= */

@media (max-width: 480px) {

  .tg-question-btn {
    right: 14px;
    bottom: 14px;

    width: 56px;
    height: 56px;
    padding: 0;

    border-radius: 50%;

    justify-content: center;
  }

  .tg-text {
    display: none;
  }

  .tg-icon {
    width: 20px;
    height: 20px;
  }
}


   