.hero {
  background: var(--light-background);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hidden-input {
  display: none !important;
}

.hero__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--gap);
  width: 100%;
}

.hero__content {
  flex: 1 1 480px;
  max-width: 700px;
}

.hero__title {
  margin-bottom: 1rem;
  color: var(--color-black);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.hero__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.hero__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero__form input {
  max-width: 450px;
}

.my-checkbox-container {
  width: 100%;
}

.hero__image,
.hero__image--mobile,
.hero__image--desktop {
  flex: 1 1 400px;
  max-width: 800px;
  display: flex;
}

.hero__image::before {
  content: none;
}

.hero__image img,
.hero__image--mobile img {
    width: 100%;
    /* Removed height:100% to allow object-position centering */
    height: auto;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Desktop/Mobile visibility */
.hero__image--mobile { display: none; }
.hero__image--desktop { display: flex; }

@media (max-width: 768px) {
  .hero__inner {
    flex-direction: column;
    align-items: center;
  }

  .hero__image { max-width: 100%; height: auto; }
  .hero__image img { height: auto; }

  .hero__form {align-items: stretch;gap: 1rem;}
  .hero__form input { max-width: 100%; }
  
  .hero__form button {
  padding: 14px;
  background-color: var(--color-primary, #960047);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  font-size: 16px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: inherit;
  user-select: none;
  appearance: none;
}

.hero__form button:hover {
  background-color: #7b003a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero__form button:disabled {
  opacity: 0.6;
  pointer-events: none;
  filter: grayscale(40%) brightness(0.9);
  transform: scale(0.98);
  box-shadow: none;
}

  .hero__image--mobile {
    display: flex;
    margin-bottom: 1.5rem;
    max-height: 240px;
    overflow: hidden;
  }
  .hero__image--mobile img {
    width: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .hero__image--desktop { display: none; }
}
