html,
body {
  margin: 0;
  min-height: 100%;
  background: #f6ede3;
}

.agenda {
  box-sizing: border-box;
  min-height: 100vh;
  padding: 7.5rem 7vw 3rem;
  background-color: #f6ede3;
  background-image:
    linear-gradient(rgba(246, 237, 227, 0.18), rgba(246, 237, 227, 0.18)),
    url("../assets/derived/fondo-interior-iching.png.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.agenda__logo {
  position: absolute;
  top: 2.4rem;
  left: 4.5vw;
  z-index: 31;
  display: block;
  width: 160px;
  height: auto;
  color: inherit;
  text-decoration: none;
}

.agenda__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.agenda__wrap {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.agenda__title {
  margin: 0 0 0.7rem;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #161310;
}

.agenda__subtitle {
  margin: 0 0 1.85rem;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(90, 83, 74, 0.78);
}

.agenda__cover {
  display: block;
  width: min(22rem, 100%);
  height: auto;
  margin: 0 auto 2rem;
  background: #fff;
  box-shadow:
    0 16px 36px rgba(42, 36, 28, 0.14),
    0 0 0 1px rgba(42, 37, 31, 0.06);
}

.agenda__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1rem;
}

.agenda__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.7rem;
  border: 1px solid #e4d8c8;
  border-radius: 0.38rem;
  background: rgba(255, 252, 247, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 18px rgba(42, 36, 28, 0.1);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #b60816;
}

.agenda__btn--alt {
  color: #332e29;
}

.agenda__btn:hover {
  transform: translateY(-2px);
}

button.agenda__btn {
  appearance: none;
  cursor: pointer;
  font: inherit;
}

.agenda-form {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 28rem;
  margin: 2rem auto 0;
  padding: 1.55rem 1.4rem 1.4rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 0.72rem;
  background: rgba(255, 252, 247, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 28px rgba(42, 36, 28, 0.06);
}

.agenda-form__title {
  margin: 0 0 0.7rem;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: #161310;
}

.agenda-form__lead {
  margin: 0 0 1.35rem;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 0.86rem;
  line-height: 1.6;
  text-align: center;
  color: #241f1b;
}

.agenda-form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.agenda-form__field {
  margin: 0 0 1.05rem;
}

.agenda-form__field label {
  display: block;
  margin: 0 0 0.38rem;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #161310;
}

.agenda-form__field input,
.agenda-form__field textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.68rem 0.82rem;
  border: 1px solid #e4d8c8;
  border-radius: 0.38rem;
  background: rgba(255, 252, 247, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #241f1b;
}

.agenda-form__field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.agenda-form__field input:focus,
.agenda-form__field textarea:focus {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 2px rgba(255, 252, 247, 0.9),
    0 0 0 3px rgba(42, 37, 31, 0.28);
}

.agenda-form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.62rem;
  margin: 1.25rem 0 1.35rem;
}

.agenda-form__check input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: 0.18rem 0 0;
}

.agenda-form__check label {
  margin: 0;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #241f1b;
}

.agenda-form__privacy {
  color: #b60816;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.agenda-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.15rem;
  padding: 0 1.4rem;
  border: 1px solid #e4d8c8;
  border-radius: 0.38rem;
  background: rgba(255, 252, 247, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 18px rgba(42, 36, 28, 0.1);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b60816;
  cursor: pointer;
}

.agenda-form__submit:hover,
.agenda-form__submit:focus-visible {
  transform: translateY(-2px);
}

.agenda-form__submit:disabled {
  opacity: 0.55;
  transform: none;
  cursor: wait;
}

.agenda-form__status {
  min-height: 1.4rem;
  margin: 1rem 0 0;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 0.86rem;
  line-height: 1.55;
  hyphens: none;
  color: #241f1b;
}

.agenda-form__status.is-ok {
  color: #2a251f;
}

.agenda-form__status.is-error {
  color: #6b1a16;
}

.agenda-form__mail {
  user-select: all;
  -webkit-user-select: all;
}

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .agenda {
    padding: 6.25rem 1.25rem 2.5rem;
  }

  .agenda__logo {
    top: 1.35rem;
    left: 1.2rem;
    width: 108px;
  }

  .agenda__title {
    font-size: 1.55rem;
  }

  .agenda__cover {
    width: min(18.5rem, 100%);
  }

  .agenda__btn {
    width: min(280px, 100%);
    min-height: 3.15rem;
  }
}
