/* ====================== HERO HEADER ====================== */
.hero-header {
  background: url("/static/imgs/bg/header_bg.webp") center center/cover no-repeat;
  color: #fff;
  padding: 120px 0 90px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  padding: 0 15px;
}

/* Trust Badge */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0dc450 0%, #14b354 100%);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  animation: fadeInDown 0.6s ease;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.trust-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
}

/* Main Heading */
.main-heading {
  font-size: 52px;
  letter-spacing: 1.5px;
  margin: 0 0 12px;
  line-height: 1.1;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, .5);
  -webkit-background-clip: text;
  background-clip: text;
}

@media (max-width: 768px) {
  .main-heading {
    font-size: 38px;
  }
}

@media (max-width: 480px) {
  .main-heading {
    font-size: 32px;
  }
}

/* Rotating Trust Items */
.trust-rotator {
  position: relative;
  height: 44px;
  margin: 16px 0 92px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .trust-rotator {

    margin: 16px 0 42px;

  }
}

.trust-item {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(20, 20, 30, 0.7);
  color: #f8f9fa;
  padding: 9px 16px;
  border-radius: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.trust-item i {
  background: linear-gradient(135deg, #F4A261, #E76F51);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 16px;
}

.trust-item.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  background: rgba(20, 20, 30, 0.75);
  color: #f8f9fa;
  padding: 9px 15px;
  border-radius: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(20, 20, 30, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* === ИКОНКИ С КОНВЕРСИОННЫМИ ЦВЕТАМИ === */

/* Сертификат — премиум + доверие */
.stat-item:nth-child(1) i {
  background: linear-gradient(135deg, #F4A261, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
  font-weight: 900;
}

/* Клиенты — популярность, энергия */
.stat-item:nth-child(2) i {
  background: linear-gradient(135deg, #ff6b00, #E76F51);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

/* Лайк — успех, одобрение */
.stat-item:nth-child(3) i {
  background: linear-gradient(135deg, #0dc450 0%, #14b354 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
  animation: thumbs-up 2s infinite;
}

/* Пульсация лайка — "живой" */
@keyframes thumbs-up {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Social Proof */
.social-proof {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 24px 0 32px;
  flex-wrap: wrap;
}

.rating,
.bookings-today {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 20, 30, 0.7);
  padding: 9px 16px;
  border-radius: 22px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.rating i {
  color: #FFD700;
  font-size: 14px;
}

.rating .stars {
  gap: 3px;
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center; /* fix vertical alignment of buttons */
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  min-width: 240px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn i {
  font-size: 20px;
}

.btn-primary {
  background: #0056fd;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 86, 253, .35);
}

.btn-primary:hover {
  transform: translateY(-3px);

  background: #0046d5;
}

.btn-whatsapp {
  background: #25D366; /* brighter brand green */
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45); /* stronger glow */
  border: 2px solid #1eba57; /* crisp edge for contrast */
  animation: pulse 2s infinite;
  position: relative;
  z-index: 1; /* ensure over any overlays */
  filter: saturate(1.1);
}

.btn-whatsapp:hover {
  background: #1ebe57; /* slightly darker on hover */
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-header {
    padding: 100px 0 70px;
  }

  .main-heading {
    font-size: 38px;
  }

  .hero-stats,
  .social-proof,
  .hero-cta {
    gap: 12px;
  }

  .btn {
    min-width: 210px;
    font-size: 16px;
    padding: 14px 28px;
  }
}

@media (max-width: 480px) {
  .main-heading {
    font-size: 30px;
  }

  .hero-stats,
  .social-proof {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    min-width: 100%;
    max-width: 300px;
  }

  .trust-badge,
  .stat-item,
  .trust-item,
  .rating,
  .bookings-today {
    font-size: 12.5px;
    padding: 7px 12px;
  }
}