body {
  margin: 0;
  font-family: sans-serif;
  background: #0a0a0a;
  color: white;
}

.hero-section {
  position: relative;
  height: 100vh;
  background-image: url("/static/img/bg.jpg");
  background-size: cover;
  background-position: center;
}

.header {
  background-color: rgba(5, 10, 30, 0.4);
  padding: 20px 60px;
  color: white;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  flex-shrink: 0;
}

.header-center {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 20px;
  flex: 1;
}

.company-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.company-name {
  font-size: 28px;
  font-weight: bold;
  margin-top: 12px;
  background: linear-gradient(
    90deg,
    #fceabb 0%,
    #f8b500 25%,
    #fceabb 50%,
    #f8b500 75%,
    #fceabb 100%
  );
  background-size: 400%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldPulse 5s ease-in-out infinite alternate;
}

.nav-bar {
  display: flex;
  gap: 75px;
  margin-top: 20px;
}

.nav-bar a {
  color: #FFD600;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: 0.3s;
}

.nav-bar a:hover {
  color: white;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100px;
}

.zayavka-wrapper {
  margin-top: 10px;
  text-align: right; /* чтобы кнопка была под номером */
}

.btn-zayavka {
  position: relative;
  margin-left: 10px;
  margin-top: -8px;
  background: linear-gradient(
    90deg,
    #fceabb 0%,
    #f8b500 25%,
    #fceabb 50%,
    #f8b500 75%,
    #fceabb 100%
  );
  background-size: 400% 400%;
  background-position: 0% 50%;
  animation: goldPulse 5s linear infinite alternate;

  color: black;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: box-shadow 0.3s ease;
}

.btn-zayavka:hover {
  box-shadow: 0 0 10px #FFD600;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 100px;
}

.contacts p {
  margin: 0;
  text-align: right;
  font-size: 14px;
}

.hero-text {
  position: absolute;
  top: 80%;
  left: 35%;
  transform: translate(-50%, -50%);
  text-align: left;
  color: white;
}

.hero-text h1 {
  font-size: 50px;
  max-width: 90vw;
}

.company-info {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-block {
  display: flex;
  flex-direction: column;
  color: white;
  font-family: 'Manrope', sans-serif;
  letter-spacing: -0.2px; /* опционально — для схожести с примером */
}

.info-block .label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0;
}

.info-block p {
  margin: 2px 0;
  font-size: 16px;
  white-space: nowrap;
}

.info-block .phone {
  font-weight: bold;
  color: white;
  font-size: 18px;
}

.divider {
  width: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  height: auto;
  align-self: stretch;
}

.nav-messengers {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: -5px;
}

.nav-messengers .icon {
  width: 32px;
  height: 32px;
  background-size: cover;
  border-radius: 50%;
  transition: filter 0.3s;
}

.nav-messengers .icon:hover {
  filter: brightness(0.8);
}

.nav-messengers .telegram {
  background-image: url("../img/telegram-icon.png");
}

.nav-messengers .whatsapp {
  background-image: url("../img/whatsapp-icon.png");
}


@keyframes goldPulse {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ——— Мобильная шапка ——— */
.mobile-header,
.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .header {
    display: none;
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: rgba(5, 10, 30, 0.9);
    position: relative;
    z-index: 1000;
  }

  .mobile-header .mobile-logo {
    height: 60px;
  }

  .mobile-info {
    text-align: center;
    color: white;
    font-size: 10px;
  }

  .mobile-info .mobile-phone {
    font-weight: bold;
    font-size: 12px;
  }

  .mobile-btns {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-whatsapp {
    width: 35px;
    height: 35px;
    background-image: url("../img/whatsapp-icon.png");
    background-size: cover;
    border-radius: 50%;
  }

  .mobile-zayavka {
    background: linear-gradient(
      90deg,
      #fceabb 0%,
      #f8b500 25%,
      #fceabb 50%,
      #f8b500 75%,
      #fceabb 100%
    );
    background-size: 400% 400%;
    background-position: 0% 50%;
    animation: goldPulse 5s linear infinite alternate;

    color: black;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    font-size: 12px;
    margin-top: 1px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .hamburger span {
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
  }

  /* Выпадающее меню */
    .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%; /* скрыто за левым краем */
    width: 70%; /* ширина меню — около половины экрана */
    height: 100vh;
    background-color: rgba(5, 10, 30, 0.85);
    backdrop-filter: blur(3px);
    z-index: 9999;
    padding: 20px;
    transition: left 0.3s ease;
  }


  .mobile-menu a {
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 0;
    display: block;

    background: linear-gradient(90deg, #ffffff, #FFD600, #ffffff);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradientFlow 4s linear infinite alternate;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-menu a:last-child {
    border-bottom: none;
  }

  .mobile-menu.show {
    left: 0;
  }

  .mobile-info .label {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  letter-spacing: -0.2px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: -10px;
  }

  @keyframes gradientFlow {
    0% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 100% 50%;
    }
  }

  .hero-text h1 {
    font-size: 32px; /* или меньше — по вкусу */
    line-height: 1.3;
    text-align: left;
  }

  .hero-text {
    top: 65%;
    left: 35%;
    transform: translate(-50%, -50%);
    padding: 0 16px;
  }

  .hero-section {
    height: 70vh; /* или 60vh, подгони по вкусу */
  }
}
