.ah-agendar {
  padding-bottom: 64px;
}

.ah-agendar__badge {
  display: inline-block;
  background: var(--ah-accent, #e8d3c5);
  color: var(--ah-ink, #3b382b);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 16px;
}

.ah-agendar__points {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ah-agendar__points li {
  background: #fff;
  border: 1px solid var(--ah-sage, #aab4a6);
  border-radius: 14px;
  padding: 14px 16px;
}

.ah-agendar__consent,
.ah-agendar__book,
.ah-agendar__cal,
.ah-agendar__done,
.ah-contacto {
  background: #fff;
  border: 1px solid var(--ah-sage, #aab4a6);
  border-radius: 20px;
  padding: 24px;
  margin: 16px 0 28px;
}

.ah-agendar .ah-comu__check,
.ah-contacto .ah-comu__check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
}

.ah-agendar .ah-comu__check input,
.ah-contacto .ah-comu__check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.ah-agendar label,
.ah-contacto label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.ah-agendar input[type="text"],
.ah-agendar input[type="email"],
.ah-agendar select,
.ah-contacto input[type="text"],
.ah-contacto input[type="email"],
.ah-contacto textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--ah-sage, #aab4a6);
  padding: 8px 14px;
  background: var(--ah-bg, #f9f8f6);
  font-size: 16px;
}

.ah-agendar select {
  height: 48px;
}

.ah-agendar__slot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 8px 8px 0;
  padding: 10px 14px;
  border: 1px solid var(--ah-sage, #aab4a6);
  border-radius: 999px;
  font-weight: 600;
}

.ah-agendar fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}

.ah-agendar .ah-hp,
.ah-contacto .ah-hp {
  position: absolute;
  left: -9999px;
}

.ah-agendar__ok {
  background: var(--ah-bg, #f9f8f6);
  border-radius: 12px;
  padding: 12px 14px;
}

.ah-agendar .ah-buscador__submit,
.ah-contacto .ah-buscador__submit,
.ah-agendar .ah-comu__ghost {
  margin-top: 8px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.ah-agendar .ah-buscador__submit,
.ah-contacto .ah-buscador__submit {
  border: 0;
  background: var(--ah-accent, #e8d3c5);
  color: var(--ah-ink, #3b382b);
}

.ah-agendar .ah-comu__ghost {
  border: 2px solid var(--ah-brand, #546142);
  background: transparent;
  color: var(--ah-brand, #546142);
}

.ah-agendar .ah-comu__warn,
.ah-contacto .ah-comu__warn {
  background: var(--ah-accent, #e8d3c5);
  color: var(--ah-ink, #3b382b);
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
}

.ah-agendar .ah-modal {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(760px, calc(100% - 32px));
  max-width: 760px;
}

.ah-agendar .ah-modal::backdrop {
  background: rgba(59, 56, 43, 0.45);
}

.ah-agendar .ah-modal__box {
  box-sizing: border-box;
  width: 100%;
  max-height: min(80vh, 640px);
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px 24px;
  position: relative;
  box-shadow: 0 16px 40px rgba(59, 56, 43, 0.18);
  text-align: left;
}

.ah-agendar .ah-modal__box h2 {
  font-family: Fraunces, serif;
  color: var(--ah-brand, #546142);
  margin: 0 0 12px;
}

.ah-agendar .ah-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.ah-agendar .ah-modal__link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ah-brand, #546142);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.ah-agendar .ah-agendar__points {
  list-style: decimal;
  padding-left: 1.2em;
}
