/* ============================================
   ECOFACTOR - Hero Section Styles
   Uses variables from root.css (UI Kit)
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  padding-top: 60px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Background image with gradient overlay */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gradient overlay - exact from Figma */
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(58, 58, 58, 0) 48.437%, rgb(58, 58, 58) 100%), 
    linear-gradient(90deg, rgba(58, 58, 58, 0.2) 0%, rgba(58, 58, 58, 0.2) 100%);
}

/* ============================================
   CONTENT BOX - centered 1148px
   ============================================ */

.hero__content-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1148px;
  margin: 0 auto;
}

/* ============================================
   HEAD CARD - glass effect
   ============================================ */

.hero__card {
  background-image: linear-gradient(-90deg, rgba(58, 58, 58, 0.6) 0%, rgba(31, 31, 31, 0.6) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid #666;
  border-radius: var(--radius-xl); /* 16px */
  padding: 60px;
  max-width: 754px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ============================================
   HERO TITLE - H1 from UI Kit
   ============================================ */

.hero__title {
  font-family: var(--font-primary);
  font-size: var(--h1-size); /* 40px */
  font-weight: var(--font-bold); /* 700 */
  line-height: var(--h1-line-height); /* 1.3 */
  letter-spacing: var(--h1-letter-spacing); /* 0.03em */
  color: var(--color-green-60); /* #3AF185 */
  text-transform: uppercase;
  margin: 0;
}

/* ============================================
   BUTTONS
   ============================================ */

.hero__buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================
   NUMBERS BOX
   ============================================ */

.hero__numbers-box {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 0 20px;
}

.hero__numbers {
  max-width: 1148px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* ============================================
   NUMBER CARD
   ============================================ */

.number-card {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: var(--radius-md); /* 8px */
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--color-white);
  min-width: 160px;
  flex: 1;
}

/* H3 style from UI Kit: 28px, Bold */
.number-card__value {
  font-family: var(--font-primary);
  font-size: var(--h3-size); /* 28px */
  font-weight: var(--font-bold); /* 700 */
  line-height: normal;
  white-space: nowrap;
}

/* Body Small from UI Kit: 14px, Regular, 155% */
.number-card__text {
  font-family: var(--font-primary);
  font-size: var(--body-small-size); /* 14px */
  font-weight: var(--font-regular); /* 400 */
  line-height: var(--body-small-line-height); /* 1.55 */
  color: inherit; /* Наслідує колір від .number-card (white) */
  margin: 0;
}

/* ============================================
   RESPONSIVE - Tablet
   ============================================ */

@media (max-width: 1024px) {
  .hero__card {
    padding: 40px;
    max-width: 100%;
  }
  
  .hero__title {
    font-size: 32px;
  }
  
  .hero__numbers {
    gap: 20px;
  }
  
  .number-card {
    min-width: 140px;
  }
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */

@media (max-width: 768px) {
  .hero {
    padding-top: 40px;
    padding-bottom: 0;
    gap: 40px;
    min-height: auto;
  }
  
  .hero__content-box {
    padding: 0 0px;
    border-radius: 0 !important;
  }
  
  .hero__numbers-box {
    padding: 0 20px;
  }
  
  .hero__card {
    padding: 30px;
  }
  
  .hero__title {
    font-size: var(--h1-mobile-size); /* 30px */
    line-height: var(--h1-mobile-line-height);
    letter-spacing: var(--h1-mobile-letter-spacing);
  }
  
  .hero__buttons {
    flex-direction: column;
    gap: 16px;
  }
  
  .hero__buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero__numbers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .number-card {
    min-width: auto;
    padding: 16px;
  }
  
  .number-card__value {
    font-size: 24px;
  }
  
  .number-card__text {
    font-size: var(--body-xs-size); /* 12px */
  }
}

/* ============================================
   RESPONSIVE - Small Mobile
   ============================================ */

@media (max-width: 480px) {
  .hero__card {
    padding: 24px;
  }
  
  .hero__title {
    font-size: 24px;
  }
  
  .number-card__value {
    font-size: 20px;
  }
}

