@import url("../styles.css");

.hero.hero-registration {
  position: relative;
  min-height: clamp(420px, 70vh, 520px);
  border-radius: clamp(1.6rem, 3vw, 2.6rem);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--accent-dark);
  background: linear-gradient(135deg, rgba(255, 243, 226, 0.9), rgba(252, 223, 189, 0.92));
  box-shadow: 0 36px 72px rgba(63, 44, 24, 0.14);
  overflow: hidden;
}

.hero.hero-registration::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.55), transparent 50%),
    radial-gradient(circle at 75% 25%, rgba(255, 207, 150, 0.35), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.4), transparent 55%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero.hero-registration .hero-content {
  position: relative;
  max-width: 560px;
  padding: clamp(2rem, 6vw, 3rem);
  display: grid;
  gap: clamp(0.8rem, 2.5vw, 1.2rem);
}

.hero.hero-registration .hero-kicker {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(63, 44, 24, 0.7);
}

.hero.hero-registration .hero-subtitle {
  color: rgba(63, 44, 24, 0.85);
}

.hero.hero-registration.hero-with-media {
  min-height: auto;
  background: linear-gradient(135deg, #4b382c, #2a211a);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 36px 80px rgba(15, 10, 6, 0.55);
  border: 1px solid rgba(12, 8, 5, 0.6);
  color: #fff;
  text-align: left;
  place-items: stretch;
  padding: clamp(2rem, 6vw, 3rem);
}

.hero.hero-registration.hero-with-media::after {
  display: none;
}

.hero.hero-registration.hero-with-media .hero-content {
  text-align: left;
  color: #fff;
}

.hero.hero-registration.hero-with-media .hero-kicker {
  color: rgba(255, 255, 255, 0.7);
}

.hero.hero-registration.hero-with-media h1 {
  color: #fff;
}

.hero.hero-registration.hero-with-media .hero-subtitle {
  color: rgba(255, 255, 255, 0.82);
}

.registration-benefit {
  margin-top: clamp(3rem, 8vw, 4.5rem);
}

.benefit-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.6rem);
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: clamp(1.4rem, 4vw, 2.3rem);
  padding: clamp(1.8rem, 5vw, 2.8rem);
  border: 1px solid rgba(111, 76, 43, 0.16);
  box-shadow: 0 32px 60px rgba(63, 44, 24, 0.14);
}

.benefit-media {
  margin: 0;
  border-radius: clamp(1.2rem, 3vw, 1.8rem);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(63, 44, 24, 0.2);
}

.benefit-media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.benefit-text {
  display: grid;
  gap: 1rem;
}

.benefit-text .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(111, 76, 43, 0.2);
  background: rgba(241, 229, 208, 0.5);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.benefit-text h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-family: "Marcellus", serif;
  color: var(--accent-dark);
}

.benefit-text p,
.benefit-text li {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.3vw, 1.1rem);
}

.benefit-text ul {
  margin: 0;
  padding-left: 1.4rem;
  display: grid;
  gap: 0.4rem;
}

.registration {
  display: flex;
  justify-content: center;
}

.registration-card {
  width: min(100%, 640px);
  background: rgba(255, 255, 255, 0.92);
  border-radius: clamp(1.6rem, 3vw, 2.4rem);
  padding: clamp(2rem, 6vw, 3rem);
  border: 1px solid rgba(111, 76, 43, 0.18);
  box-shadow: 0 34px 68px rgba(63, 44, 24, 0.16);
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.2rem);
}

.registration-card h2 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(1.8rem, 4.5vw, 2.3rem);
  color: var(--accent-dark);
  text-align: center;
}

.registration-form {
  display: grid;
  gap: clamp(1.2rem, 3vw, 1.6rem);
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.form-field label {
  font-weight: 600;
  color: var(--accent-dark);
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(111, 76, 43, 0.25);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus-visible,
.form-field select:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(111, 76, 43, 0.25);
}

.form-field select {
  appearance: none;
  background-image: linear-gradient(135deg, rgba(255, 248, 238, 0.7), rgba(255, 236, 210, 0.7));
  cursor: pointer;
}

.form-field select::-ms-expand {
  display: none;
}

.field-hint {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(46, 34, 20, 0.6);
}

.submit-button {
  margin-top: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(63, 44, 24, 0.24);
}

.privacy-note {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.privacy-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.privacy-note a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  border-radius: 999px;
}

.privacy-note a:hover::after,
.privacy-note a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 720px) {
  .hero.hero-registration {
    min-height: clamp(380px, 75vh, 480px);
  }

  .benefit-card {
    grid-template-columns: 1fr;
  }

  .registration-card {
    padding: clamp(1.8rem, 7vw, 2.4rem);
  }
}

@media (max-width: 640px) {
  .hero.hero-registration.hero-with-media {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: clamp(1.5rem, 6vw, 2rem);
    border-radius: clamp(1.2rem, 5vw, 1.8rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero.hero-registration.hero-with-media .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.5rem, 5vw, 2rem);
    text-align: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero.hero-registration.hero-with-media .hero-content {
    text-align: center;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
  }

  .hero.hero-registration.hero-with-media .hero-media {
    order: -1;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero.hero-registration.hero-with-media .hero-media img {
    width: 100%;
    height: auto;
    max-width: 320px;
    display: block;
    margin: 0 auto;
    border-radius: clamp(1rem, 4vw, 1.5rem);
  }
}

@media (max-width: 560px) {
  .registration-card {
    border-radius: clamp(1.2rem, 6vw, 1.8rem);
    gap: 1.6rem;
  }

  .submit-button {
    width: 100%;
  }
}

