/* made in xsign */
/* сделано xsign */
/* ========== Services Hero Styles ========== */
/* Стили для hero-секции страниц услуг */

/* Hero container */
.hero-serv {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Gradient overlays */
.gradient-background {
  width: 100%;
  height: 152px;
  background-image: linear-gradient(to bottom, #0c0d0ccf, #00000000);
  position: absolute;
  top: 0;
  z-index: 5;
}

.gradient-bottom {
  width: 100%;
  height: 80vh;
  background-image: linear-gradient(to top, #0c0d0c, #00000000);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}

/* Hero content wrapper */
.hero-main-info {
  max-width: 1128px;
  margin: 0 auto;
  z-index: 2;
  margin-bottom: 76px;
  width: 100%;
}

.hero-main-info span {
  color: var(--color-white-48);
  margin-bottom: 24px;
  display: block;
}

.hero-main-info p {
  margin: 24px 0;
  display: block;
  width: 744px;
  line-height: 32px;
}

/* Mobile hero (hidden by default) */
.hero-main-info-mob {
  display: none;
}

/* Back button */
.Button.button-back {
  position: absolute;
  background: var(--color-white-8);
  backdrop-filter: blur(16px);
  color: var(--color-white);
  margin-top: 152px;
  padding: 10px 20px 10px 16px;
  min-height: 40px;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  left: 0;
  transition: var(--transition-main);
  z-index: 100;
}

.Button.button-back:hover {
  background: var(--color-white-10);
}

/* Info wrapper and controls */
.info-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.info-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 627px;
  height: 80px;
  padding: 0 8px;
  background-color: #1B2621;
  border-radius: 999px;
}

/* CTA Button in hero */
.btn {
  height: 64px;
  border-radius: 999px;
  padding: 0 32px;
  font-size: 16px;
  background-color: var(--color-brand);
  transition: var(--transition-main);
  border: none;
  cursor: pointer;
  margin-right: 24px;
  color: var(--color-black);
}

.btn:hover {
  background: var(--color-brand-hover);
}

.info-controls a {
  height: 64px;
  border-radius: 999px;
  padding: 0 32px;
  font-size: 16px;
  background-color: var(--color-brand);
  transition: var(--transition-main);
  border: none;
  cursor: pointer;
  margin-right: 24px;
  color: var(--color-black);
}

.info-controls a:hover {
  background: var(--color-brand-hover);
}

/* Info items (duration, price) */
.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-grow: 1;
}

.info-item img {
  width: 24px;
  height: 24px;
}

.info-item div {
  display: flex;
  flex-direction: column;
}

.info-item p {
  width: 100%;
  font-size: 15px;
}

.info-item span {
  color: var(--color-white-48);
  margin-bottom: -2px;
  display: block;
  font-size: 13px;
}

.info-item div p:first-child {
  font-weight: bold;
  margin: 0;
}

.info-item div p:last-child {
  margin: 0;
}

/* Info text note */
.info-text p {
  max-width: 469px;
  font-size: 13px;
  display: block;
  line-height: 18px;
  margin: 0;
  padding-left: 12px;
  color: var(--color-white-48);
}

/* WhatsApp button */
.telegram-button {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 68px;
  height: 68px;
  z-index: 1000;
}

.telegram-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  animation: pulse 3s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

/* ========== Responsive Styles ========== */

@media (max-width: 767px) {
  .Button.button-back {
    display: none;
  }
  
  .hero-serv {
    height: 90vh;
    padding: 12px 28px 32px 28px;
    margin: 96px 0px 0px 4px;
    width: calc(100% - 8px);
    border-radius: 24px;
  }
  
  .info-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }
  
  .info-text p {
    max-width: 100%;
  }
  
  .info-text p br {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero-serv {
    height: 400px;
  }
  
  .gradient-background {
    display: none;
  }
  
  .gradient-bottom {
    display: none;
  }
  
  .hero-main-info {
    display: none;
  }
  
  .hero-main-info-mob {
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
    max-width: 100%;
  }
  
  .hero-main-info-mob span {
    color: var(--color-white-48);
    margin-bottom: 4px;
    display: block;
    font-size: 14px;
  }
  
  .hero-main-info-mob h1 {
    font-size: 36px;
  }
  
  .hero-main-info-mob p {
    max-width: 100%;
    margin-bottom: 31px;
  }
  
  .hero-main-info-mob .info-text {
    text-align: center;
    width: 100%;
  }
  
  .mobinfo-sub {
    display: flex;
    text-align: center;
    margin-bottom: 16px;
  }
  
  .info-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 162px;
    padding: 4px;
    background: linear-gradient(to top, #1B2621 0%, rgba(27, 38, 33, 0) 100%);
    border-radius: 0px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
  }
  
  .info-item {
    display: flex;
    gap: 4px;
    flex-grow: 1;
    flex-direction: column;
    align-items: center;
  }
  
  .info-text p {
    margin-bottom: 0px;
  }
  
  .btn {
    height: 56px;
    border-radius: 999px;
    padding: 0 32px;
    font-size: 15px;
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 680px) {
  .hero-serv {
    height: 232px;
  }
}
