/* =========================================================================
   Home value hero
   ========================================================================= */

.home-value-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #0a1220;
  padding: 140px 0 88px;
}

.home-value-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-value-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.04);
  animation: homeValueZoom 18s ease-out forwards;
}

.home-value-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 18, 32, 0.68) 0%, rgba(10, 18, 32, 0.24) 44%, rgba(10, 18, 32, 0.82) 100%),
    radial-gradient(circle at center, rgba(33, 133, 247, 0.18) 0%, rgba(10, 18, 32, 0) 58%);
}

.home-value-hero__wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.home-value-card {
  width: min(100%, 680px);
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
  text-align: center;
  background: rgba(244, 246, 249, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(11, 52, 112, 0.18);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.home-value-snippet-wrap {
  width: min(100%, 680px);
  margin: 0 auto;
}

.home-value-title {
  color: #fff;
  font-size: 36px;
  line-height: 1.06;
  margin-bottom: 24px;
}

.home-value-form {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}

.home-value-form__field {
  min-width: 0;
}

.home-value-form__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-value-form input {
  min-width: 0;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(11, 52, 112, 0.16);
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out), background 150ms var(--ease-out);
}

.home-value-form input::placeholder {
  color: var(--charcoal-400);
}

.home-value-form input:focus {
  outline: none;
  background: #fff;
  border-color: var(--electric-blue);
  box-shadow: var(--shadow-focus), 0 12px 32px rgba(11, 52, 112, 0.16);
}

.home-value-form__button {
  min-height: 52px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 14px;
}

@keyframes homeValueZoom {
  to { transform: scale(1); }
}

@media (max-width: 720px) {
  .home-value-hero {
    padding: 120px 0 72px;
  }

  .home-value-hero__wrap {
    padding: 0 20px;
  }

  .home-value-card {
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  .home-value-card {
    width: min(100%, 324px);
    padding: 24px 18px;
  }

  .home-value-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .home-value-form {
    grid-template-columns: 1fr;
  }

  .home-value-form__button {
    width: 100%;
  }
}
