/* ===== Clean reference hero ===== */

.hero.hero-reference {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 992 / 532;
  overflow: hidden !important;
  isolation: isolate;
  background: #eaf5e9 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

.hero.hero-reference .hero-art {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.hero.hero-reference .hero-banner-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.hero.hero-reference .hero-copy {
  position: absolute !important;
  z-index: 2 !important;
  top: 50% !important;
  right: 4.5% !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  width: 47% !important;
  max-width: 590px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 20px !important;
  text-align: right !important;
  direction: rtl !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.hero.hero-reference .hero-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #267747;
  font-size: 14px;
  font-weight: 700;
}

.hero.hero-reference .hero-copy h1 {
  margin: 0 0 12px !important;
  color: #173c2b !important;
  font-size: clamp(27px, 3.2vw, 43px) !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

.hero.hero-reference .hero-copy h1 span {
  color: #27834b !important;
}

.hero.hero-reference .hero-copy p {
  margin: 0 0 20px !important;
  color: #425b4b !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}

.hero.hero-reference .hero-search {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 54px !important;
  margin: 0 0 12px !important;
  padding: 0 14px !important;
  background: #fff !important;
  border: 1px solid #dce8df !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 15px rgba(20, 60, 35, .08) !important;
}

.hero.hero-reference .hero-search input {
  width: 100% !important;
  min-width: 0 !important;
  height: 50px !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #243b2c !important;
  font-size: 15px !important;
  text-align: right !important;
}

.hero.hero-reference .hero-controls {
  display: grid !important;
  grid-template-columns: 1fr 1fr auto !important;
  gap: 9px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: stretch !important;
}

.hero.hero-reference .hero-controls select {
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  padding: 0 10px !important;
  color: #294333 !important;
  background: #fff !important;
  border: 1px solid #dce8df !important;
  border-radius: 9px !important;
  font-size: 13px !important;
}

.hero.hero-reference .hero-search-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-width: 92px !important;
  height: 46px !important;
  padding: 0 17px !important;
  color: #fff !important;
  background: #25834b !important;
  border: 0 !important;
  border-radius: 9px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

/* ===== Mobile layout ===== */

@media (max-width: 600px) {
  .hero.hero-reference {
    display: flex !important;
    flex-direction: column !important;
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  .hero.hero-reference .hero-art {
    position: relative !important;
    inset: auto !important;
    order: 0 !important;
    width: 100% !important;
    height: auto !important;
    flex: none !important;
  }

  .hero.hero-reference .hero-banner-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .hero.hero-reference .hero-copy {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    order: 1 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 20px 16px 24px !important;
    margin: 0 !important;
    background: #eaf5e9 !important;
    text-align: right !important;
  }

  .hero.hero-reference .hero-kicker {
    margin-bottom: 7px !important;
    font-size: 12px !important;
  }

  .hero.hero-reference .hero-copy h1 {
    margin-bottom: 8px !important;
    font-size: 27px !important;
    line-height: 1.45 !important;
  }

  .hero.hero-reference .hero-copy p {
    margin-bottom: 14px !important;
    font-size: 14px !important;
  }

  .hero.hero-reference .hero-search {
    min-height: 48px !important;
    margin-bottom: 10px !important;
  }

  .hero.hero-reference .hero-search input {
    height: 46px !important;
    font-size: 14px !important;
  }

  .hero.hero-reference .hero-controls {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .hero.hero-reference .hero-search-button {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 44px !important;
  }

  .hero.hero-reference .hero-controls select {
    height: 44px !important;
    font-size: 12px !important;
  }
}
